Agent skill · AI & Agents

autoresearch

Scaffold and run Karpathy-style autoresearch loops in any git repo. This skill should be used when setting up autonomous code improvement, generating adversarial eval harnesses, running hypothesis-implement-eval-keep/discard loops, or checking autoresearch progress. Triggers on "autoresearch", "autonomous improvement", "eval loop", "hypothesis loop", "self-improvement loop".

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill autoresearch-tdimino-claude-code-minoan --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 10 KB
Bundled scripts: none
Path: skills/agent/autoresearch-tdimino-claude-code-minoan/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

<critical> ## Five Invariants (never violate) 1. **Single mutable surface** — one hypothesis per iteration, one change per experiment 2. **Fixed eval budget** — eval runs in bounded time, no network calls in gates 3. **One scalar metric** — composite score drives keep/discard, not vibes 4. **Binary keep/discard** — improved = keep, else revert `git reset --hard HEAD~1` 5. **Git-as-memory** — every experiment is a commit, discards are reverts, history is the log ## Safety rules - Never modify `.lab/` contents during hypothesis implementation - Never skip eval — every commit must be evaluated before keep/discard - Always revert on crash — `atexit` handler restores git state - Runner uses **subscription auth** (`claude -p` with ANTHROPIC_API_KEY stripped) </critical> # Autoresearch Scaffold and run autonomous code improvement loops in any git repo. The pattern: generate a hypothesis via `claude -p`, implement it, run programmatic eval gates, keep if the composite score improves, discard if it doesn't. Proven across 50+ iterations on two codebases (shadow-engine: 0.69 to 1.0, perplexity-clone: search quality optimization). ## Category **Runbooks** — mechanical process with clear steps,

What's inside
Steps it walks through
  1. Five Invariants (never violate)
  2. Safety rules
  3. Category
  4. Quick Start
  5. Command Dispatch
  6. Init Workflow (/autoresearch init)
  7. Eval-Gen Workflow (/autoresearch eval-gen)
  8. Run Workflow (/autoresearch run)
  9. Status Workflow (/autoresearch status)
  10. Resume Workflow (/autoresearch resume)
  11. .lab/ Directory Layout
  12. Three-Tier Output Protocol
  13. Scripts Reference
  14. Gotchas
Ships with 1 file
  • metadata.json
Commands it runs
python3 ~/.claude/skills/autoresearch/scripts/detect_stack.py
python3 ~/.claude/skills/autoresearch/scripts/scaffold.py --repo-root . --yes
python3 .lab/eval.py
python3 ~/.claude/skills/autoresearch/scripts/eval_gen.py --repo-root . --output .lab/eval.py
python3 .lab/runner.py --max-iterations 50
python3 .lab/runner.py --dry-run --max-iterations 1
tail -f .lab/results.tsv
python3 ~/.claude/skills/autoresearch/scripts/report.py --repo-root .
More from claude-skill-registry
All skills →
About this skill
What does the autoresearch skill do?

Scaffold and run Karpathy-style autoresearch loops in any git repo. This skill should be used when setting up autonomous code improvement, generating adversarial eval harnesses, running hypothesis-implement-eval-keep/discard loops, or checking autoresearch progress. Triggers on "autoresearch", "autonomous improvement", "eval loop", "hypothesis loop", "self-improvement loop".

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill autoresearch-tdimino-claude-code-minoan --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going