원클릭으로
autoresearch-create
Set up an autonomous optimisation loop — gather the goal, write the session files, run the baseline, and start iterating
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Set up an autonomous optimisation loop — gather the goal, write the session files, run the baseline, and start iterating
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Split a noisy autoresearch branch into clean, independent branches — one per logical change — ready for individual review
Author before.sh/after.sh hooks that run automation at autoresearch iteration boundaries — notifications, journals, git tags, priming the next attempt
Author declarative .tau/workflows/*.yaml files for Tau's /workflow command — reusable multi-phase, multi-agent pipelines. Use when the user asks to create, write, edit, or scaffold a workflow, or wants to turn a repeated multi-step task (audits, migrations, reviews, research) into a rerunnable automation.
Review code changes for bugs, clarity, and correctness
Diagnose and fix a bug or unexpected behaviour
Stage and commit changes with a well-formed commit message
| name | autoresearch-create |
| description | Set up an autonomous optimisation loop — gather the goal, write the session files, run the baseline, and start iterating |
Set up an autoresearch session, then run the loop until interrupted.
You need four things. Infer what you can from the repo and the conversation; ask
only for what you genuinely cannot determine. Use ask_user if it is available —
one call, grouped questions, not a stream of them.
| Goal | What gets better, in one sentence. "Cut unit-test wall time." |
| Command | How to measure it, reproducibly. pnpm test, uv run train.py, pytest -q |
| Metric | The number to move, its unit, and whether lower or higher wins |
| Scope | Which files may change — and which must not |
Prefer a benchmark that runs in under a couple of minutes. A slow benchmark means few experiments, and few experiments means noise wins.
Create a branch first (autoresearch/<short-goal>), so the main branch stays clean.
.auto/measure.sh — the benchmark. It must:
METRIC name=value lines, one per metric, e.g. METRIC seconds=12.4#!/usr/bin/env bash
set -euo pipefail
start=$(date +%s.%N)
pytest -q > /tmp/ar-out.txt 2>&1
end=$(date +%s.%N)
echo "METRIC seconds=$(echo "$end - $start" | bc)"
.auto/prompt.md — the session document. This is what a fresh agent with no
memory reads to continue, so write it for that reader: objective, the exact
command, the metric and direction, files in scope, ideas not yet tried, and a
running list of what has been tried with the outcome. Keep it updated as you go —
it matters more than any summary you hold in context.
.auto/checks.sh (optional) — correctness gate. Runs after a passing
benchmark; a failure means the optimisation broke something and must be reverted.
Call init_experiment with the name, metric, unit and direction. Then run the
benchmark unchanged and log_experiment the result with status keep and a
description of "baseline". Everything afterwards is measured against this.
Repeat until interrupted:
.auto/prompt.md.run_experiment with the benchmark command.keep. Worse, or checks
failed → revert the commit (git revert --no-edit HEAD or git reset --hard HEAD~1)
and log it as discard / checks_failed. A crash or timeout → crash.log_experiment with the commit, the metric, the status and one line on what
you tried. Append the outcome to .auto/prompt.md too.Do not stop to ask permission between iterations. Keep going until the user
interrupts, the ideas run out, or max_experiments is reached — then summarise
what worked, what didn't, and what you would try next.