Loading...
Loading...
Use when user wants autonomous iteration on any task — improving metrics, completing features, running experiments, optimizing code, or working unattended. Make sure to use this skill whenever someone mentions autoresearch, autonomous loops, iterating until done, running overnight, keep improving, hill-climbing, or any measurable improvement goal, even if they don't explicitly ask for a 'loop'.
npx skill4agent add brycealindberg/auto-research-loop auto-research-loop/auto-research-loop [PROMPT] [FLAGS]"${CLAUDE_PLUGIN_ROOT}/scripts/setup-auto-research-loop.sh" $ARGUMENTS/auto-research-loop-plan${CLAUDE_PLUGIN_ROOT}/skills/auto-research-loop/references/plan-workflow.md/auto-research-loop| Metric Mode | Task Mode | |
|---|---|---|
| When | | No metric provided |
| Decision | Metric improved? Keep. Worse? | Accumulate toward completion |
| Exit | Max iterations or manual | Completion promise or max iterations |
| Journal | | |
LOOP:
0. Scratchpad: READ .claude/auto-research-loop-scratchpad.md
1. Review: State + git log + results/plan
2. Ideate: Fix crashes > exploit wins > explore > simplify > radical
3. Modify: ONE focused change
4. Commit: git commit BEFORE verification
5. Verify: Metric command (metric) or gate commands (task)
6. Decide:
Metric: IMPROVED -> keep. WORSE -> git reset --hard HEAD~1
Task: Gates pass + promise true -> exit. Else -> continue
7. Log: Results TSV (metric) or update plan (task)
8. Scratchpad: UPDATE before exit
9. Repeat${CLAUDE_PLUGIN_ROOT}/skills/auto-research-loop/references/autonomous-loop-protocol.md| Domain | Metric | Direction | Verify | Scope |
|---|---|---|---|---|
| Test coverage | % | higher | | |
| Bundle size | KB | lower | | |
| ML training | val_bpb | lower | | |
| Performance | ms | lower | | target files |
rm .claude/auto-research-loop.local.md