autoresearch
できること
変更を加え、指標に照らして確かめ、役立つ場合にだけ変更を残す自動ループを実行します。デバッグ、エラーの修正、セキュリティ監査のモードもあります。着実に測定しながら進めたい人向けです。
使う場面
- ✓数値が良くなるまで、エージェントに変更を試し続けさせたいとき。
- ✓バグを探したり、エラーの一覧を一つずつ片付けたりさせたいとき。
- ✓コードのセキュリティ監査を実行させたいとき。
スキルのリンク
https://github.com/uditgoenka/autoresearch/blob/master/.agents/skills/autoresearch/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“テストスイートを速くするために変更を試し続けてください。実際に役立つものだけを残してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
各ラウンドで、エージェントは変更を加えて測定します。役立つ場合にだけ変更が残り、結果はフォルダに記録されます。設定したラウンド数に達するとループは止まります。ただし、無制限を指定した場合は別です。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Autoresearch — Autonomous Goal-directed Iteration
Safety Invariants (all subcommands)
- Never push, publish, or deploy without explicit user approval.
- Bounded by default. Override with
Iterations: unlimited. - All results logged to
autoresearch/{subcommand}-{YYMMDD}-{HHMM}/directory. - Chain handoff via
handoff.json. Evals reads*-results.tsv.
Dispatch (bare $autoresearch)
Parse the invocation in this order:
| Condition | Mode |
|---|---|
Metric: or Verify: present |
Classic — existing metric loop, unchanged |
| Free-form natural-language goal, no metric/verify | Orchestrator — see Orchestrator section |
| Nothing | Setup wizard — interactive config builder |
--classic flag |
Force Classic regardless of goal text |
--auto flag |
Force Orchestrator regardless of goal text |
Print a banner on every invocation: [autoresearch] mode: classic | orchestrator | wizard.
Subcommands
| Command | Does | Default Iterations |
|---|---|---|
$autoresearch |
Iterate against a metric: modify → verify → keep/discard | 25 |
$autoresearch plan |
Convert a goal into validated Scope, Metric, Verify config | N/A |
$autoresearch debug |
Hunt bugs: hypothesize → test → falsify → repeat | 15 |
$autoresearch fix |
Crush errors one-by-one until zero remain | 20 |
$autoresearch security |
STRIDE + OWASP audit with red-team personas | 15 |
$autoresearch ship |
Ship through 8 phases: checklist → dry-run → deploy → verify | N/A |
$autoresearch scenario |
Generate edge cases across 12 dimensions | 20 |
$autoresearch predict |
5 expert personas debate before implementation | N/A |
$autoresearch learn |
Scout codebase → generate docs or wiki → validate → fix loop | 10 |
$autoresearch reason |
Adversarial debate with blind judges until convergence | 8 |
$autoresearch probe |
8 personas interrogate requirements until saturation | 15 |
$autoresearch improve |
Research ICP challenges, discover improvements, generate PRDs | 15 |
$autoresearch evals |
Analyze iteration results: trends, plateaus, regressions | N/A |
$autoresearch regression |
Regression stability gate: baseline vs candidate, verdict STABLE/UNSTABLE | N/A |
Subcommand routing
To run a subcommand yourself (an orchestrator hop or a --chain target), Read its protocol file and follow it:
<name>.md (relative to this skill's directory), or autoresearch.md for the classic loop.
The commands are user-typed only, so the model loads them from here instead of invoking them.
Universal Flags
| Flag | Applies To | Purpose |
|---|---|---|
Iterations: N |
All looping | Set iteration count |
Iterations: unlimited |
All looping | Opt-in unbounded |
--evals |
All looping | Mid-loop checkpoints + final summary |
--evals-interval N |
All looping | Override checkpoint frequency |
--chain <targets> |
All | Sequential handoff after completion |
--<subcommand> |
All | Shorthand for --chain <subcommand> |
--dry-run |
Orchestrator | Print derived config + planned pipeline; no execution |
--max-cycles N |
Orchestrator | Hard ceiling on orchestration cycles (default 50) |
--classic |
Bare $autoresearch |
Force Classic metric-loop mode |
--auto |
Bare $autoresearch |
Force Orchestrator mode |
--no-fork |
Metric loops | Disable fork-and-flush rounds |
Forks: K |
Metric loops | Branches per fork-and-flush round (default 4; 2 when Verify is slow or uses a shared resource) |
Guided: R |
Metric loops | Fraction of fork branches given an Advisor-assigned experiment (default 0.5; 0 = all random) |
Getting Unstuck: Fork-and-Flush
Metric loops run fork-and-flush rounds on a fixed schedule: at 33% and 66% of the budget, plus early when 5
iterations pass with no keep. A round forks K fresh-context branches from the best commit so far, runs each
for a small budget, and keeps the winner. A fresh context means the files and results log only, with none of
the leader's reasoning. Half the branches (by default) are random and pick their own ideas; the other half are
guided, each given one distinct experiment by a stateless Advisor that reads the results log. Protocol:
references/fork-and-flush.md (arXiv:2610.07447, arXiv:2610.07625).
Orchestrator
Activated when a plain-language goal is given without Metric:/Verify:. Classifies the goal into a Goal archetype — see references/orchestrator-routing.md for the archetype table and rout
よくある質問
変更をプッシュしたりデプロイしたりしますか?
いいえ。スキルは、あなたの明示的な承認なしに、プッシュ、公開、デプロイを行うことはありません。
何ラウンド実行されますか?
デフォルトでは、基本ループは25ラウンドで区切られます。反復回数を無制限に設定した場合は別です。
結果はどこに保存されますか?
各実行は、モードと開始時刻にちなんだ名前のフォルダにログを書き込みます。
詳細
作者による元の説明
Autonomous iteration loop: modify, verify, keep/discard against any metric
repo: uditgoenka/autoresearch
人気
- GitHubのスター
- 6.8k
- ランキング
- #13731
- ライセンス
- MIT
- 更新日
- 2026/10/31
コメント
- …
似ているスキル
add-model-provider
394k安全なセットアップコマンドで新しいAIモデルプロバイダーをOpenClawに接続し、APIキーを平文で残さず、ライブテストを行うようエージェントを支援します。
acp-router
394kClaude CodeやCursorなどのコーディングアシスタントに、OpenClaw経由でタスクを渡し、その作業がそのツール内で行われるようエージェントを支援します。
browser-automation
394kログイン、タブ、応答しなくなったページからの復旧を含め、Webページを段階的に操作するようエージェントに教えます。