Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By FradServ0.9.2MITIn 1 marketplace
Runs an overnight loop that edits one artifact, scores it and keeps only improvements, for any goal with a measurable number. A Stop hook re-prompts Claude after every turn, so it keeps experimenting until a bound you set is reached.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
An autonomous research loop inspired by karpathy/autoresearch. Claude acts as a researcher: it edits one artifact, runs a scorer, keeps the change if the score improved, logs the result, and iterates overnight without human intervention. Unlike the original — hardwired to ML training — this plugin is domain-agnostic: you supply the editable artifact, the scorer, and the optimization direction, so it works on any problem that reduces to "edit something, run a command that prints one number, keep the change if the number improved."
Rather than an external shell while loop, the plugin uses a Claude Code Stop hook. Every time Claude tries to end its turn, the hook intercepts the exit and re-injects the same research prompt — so Claude keeps experimenting in one continuous session, building on its previous work (visible in git history and results.tsv). The hook stops the loop when a configured bound is reached: max experiments, wall-clock budget, or a completion promise. Same spirit as the "ralph-loop", adapted to Claude Code's hook system.
claude plugin install autoresearch@frad-dotclaude
| Command | What it does |
|---|---|
/autoresearch:start <goal> [overrides] | Give it a plain-language goal; it infers the artifact, evaluator, and bounds, then grills the contract with you (one decision at a time, each with a recommended answer — goal measurability, artifact, evaluator, bounds), and runs the loop in an isolated git worktree (your checkout is untouched). |
/autoresearch:cancel | Force-stop an active loop. Run from a separate session — the looping session is busy being re-prompted. |
/autoresearch:help | Explain the plugin and its commands. |
/autoresearch:start is the single entry point. The loop runs cheap sequential rounds and, when it plateaus, escalates one round to a parallel tournament (the GAN engine: candidates → judge → synthesize → re-score) to break out — so you get overnight autonomy and tournament power from one command.
.claude/worktrees/autoresearch-<tag> on branch autoresearch/<tag>), so your main checkout, current branch, and even a dirty working tree are never touched. (Verified that the EnterWorktree tool's persistence across the Stop-hook loop is undocumented, so the plugin manages the worktree itself.)--max-experiments and/or --max-wall-clock. It refuses to start unbounded.--score-cmd (prints a number as its last stdout line) and/or a --check-cmd (pass/fail gate, exit 0 = pass). GAN also takes an anchored --rubric.CLAUDE_CODE_STOP_HOOK_BLOCK_CAP raised for runs longer than ~8 experiments — see below.Claude Code force-ends the turn after a Stop hook blocks CLAUDE_CODE_STOP_HOOK_BLOCK_CAP times in a row (default 8). This loop re-blocks once per experiment, so any run that wants more than ~8 experiments hits that ceiling and stops early unless you raise it.
Autoresearch enforces its own bound (experiments / wall-clock / completion promise) inside the same Stop hook, so the generic cap is redundant here — disable it. Add to .claude/settings.json (or ~/.claude/settings.json):
{ "env": { "CLAUDE_CODE_STOP_HOOK_BLOCK_CAP": "0" } }
"0" disables the cap; or set a number comfortably above your experiment count. The variable is read at session start, so set it and restart Claude Code before the run — a plugin cannot set it for you, and it does not take effect mid-session. /autoresearch:start prints a reminder whenever your configured bound exceeds the active cap.
Normally you just give a goal: /autoresearch:start <plain-language goal>. The command inspects the repo and infers a recommended contract, then grills each decision with you — one question at a time, each with a recommended answer (goal measurability, artifact, evaluator, bounds). A wrong contract — especially a wrong evaluator — wastes the whole overnight run, so the contract is a shared decision, not a silent inference. Pass any flag to pin it as an override (no re-grill for that field). Empty goal is refused.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub fradser/dotclaude --plugin autoresearchPlugins from other owners that cover similar ground