Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Runs an autonomous loop that modifies code, measures a metric, and keeps or reverts each change via git.
Use this skill ↓36% 45%+9 ptsof test cases passed
Passed 10 of 22 test cases with the skill, and 8 of 22 without it.
3 of 3 safety checks passed
Not used yet
Autonomous code improvement through iterative experiment-and-measure cycles.
Run an autonomous loop that improves code against a measurable metric. Each iteration: the agent analyzes current performance, hypothesizes an improvement, implements it, commits it, runs the metric, and decides keep-or-revert. Git history becomes the experiment log. The loop continues until the target is met, max iterations are exhausted, or no progress is made for N consecutive rounds.
# Basic — improve test pass rate
/autoresearch --metric "mix test --cover" --target 95
# Improve benchmark performance
/autoresearch --metric "cargo bench --output json" --target "p99 < 10ms" --max-iter 20
# Improve code quality score
/autoresearch --metric "npx eslint . --format json | jq '.errorCount'" --target 0
# Dry run — show plan without executing
/autoresearch --metric "pytest" --target "all pass" --dry-run
# Resume a previous session
/autoresearch --resume
# Limit scope to specific files
/autoresearch --metric "mix test test/parser_test.exs" --target "0 failures" --scope "lib/parser.ex"
| Flag | Type | Default | Description |
|---|---|---|---|
--metric | string | required | Command that produces a measurable result |
--target | string | required | Success condition (number, comparison, or keyword) |
--max-iter | int | 10 | Maximum improvement iterations |
--stall-limit | int | 3 | Stop after N consecutive iterations with no improvement |
--scope | string | . | Files or directories the agent may modify |
--dry-run | flag | false | Show the improvement plan without executing |
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.