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 ozeronv1.0.6MITIn 1 marketplace
Lets Claude run an autonomous loop that tries optimization ideas, keeps measured wins and reverts failures. A stop hook blocks Claude from stopping mid-loop; needs jq, Node.js 18+ and macOS or Linux. Fork of davebcn87/pi-autoresearch.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
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.
Autonomous experiment loop plugin for Claude Code and Codex. Forked and ported from davebcn87/pi-autoresearch — the original plugin for Pi.
Try ideas, measure results, keep improvements, discard failures, repeat forever.
claude plugin install /path/to/claude-autoresearch
Or add to your project's .claude/plugins.json.
This repo also ships a Codex plugin manifest at .codex-plugin/plugin.json, a repo-local marketplace at .agents/plugins/marketplace.json, and repo-local hook maintenance scripts:
./scripts/install-codex-hooks.sh
./scripts/uninstall-codex-hooks.sh
Codex-specific setup details live in docs/README.codex.md and .codex/INSTALL.md.
The same hook management logic is bundled under skills/autoresearch-create/scripts/ so Codex skills can install or remove repo-local hooks after plugin installation.
jq (for hook scripts): brew install jqTell Claude Code to set up autoresearch for any optimization target:
"Run autoresearch to optimize the build time of my project"
The plugin will:
autoresearch.md (session manifest) and autoresearch.sh (benchmark script)The plugin blocks Claude from stopping while experiments are active. To stop:
autoresearch.md — the loop will end on the next cycle.autoresearch-active — allows the current stop to proceed| Tool | Description |
|---|---|
init_experiment | Configure session: name, metric, unit, direction |
run_experiment | Execute benchmark command with timeout, run optional checks |
log_experiment | Record result — keep auto-commits, discard/crash suggests revert |
show_dashboard | Display full experiment history table |
stop-guard.sh) — blocks stopping when experiments are activesession-start.sh) — injects session summary on resumeIn Codex, those hooks are installed repo-local into .codex/hooks.json. The Claude-only PostToolUse MCP matcher is not installed for Codex because current Codex PostToolUse is Bash-only.
| File | Purpose |
|---|---|
autoresearch.md | Session manifest — goal, metrics, scope, constraints, history |
autoresearch.sh | Benchmark script — runs the workload, outputs metrics |
autoresearch.checks.sh | Optional correctness checks (tests, types, lint) |
autoresearch.ideas.md | Ideas backlog for promising but untried optimizations |
autoresearch.jsonl | Append-only experiment log |
Results are stored in autoresearch.jsonl (compatible with pi-autoresearch):
{"type":"config","name":"optimize-build","metricName":"duration","metricUnit":"s","bestDirection":"lower"}
{"run":1,"commit":"a3f1c2d","metric":42.3,"metrics":{},"status":"keep","description":"baseline","timestamp":1710331260000,"segment":0}
cd servers/autoresearch
npm install
npm run build # compile TypeScript to dist/
npm run dev # run with tsx (hot reload)
The plugin ships with pre-built dist/ so users don't need a build step.
claude-autoresearch/
├── .codex-plugin/plugin.json Codex plugin manifest
├── .agents/plugins/marketplace.json Repo-local Codex marketplace
├── .codex/hooks.template.json Repo-local Codex hook template
├── .claude-plugin/plugin.json Plugin manifest
├── .mcp.json MCP server config
├── servers/autoresearch/
│ └── src/
│ ├── index.ts MCP server entry point
│ ├── types.ts Type definitions
│ ├── state.ts JSONL parsing, state reconstruction
│ ├── render.ts Text dashboard rendering
│ └── tools/
│ ├── init.ts init_experiment
│ ├── run.ts run_experiment
│ ├── log.ts log_experiment
│ └── dashboard.ts show_dashboard
├── skills/autoresearch-create/
│ └── SKILL.md Agent instructions
├── hooks/hooks.json Hook configuration
└── scripts/
├── stop-guard.sh Stop hook
└── session-start.sh SessionStart hook
MIT
7-day copy clicks
Plugins from other owners that cover similar ground
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 ozeron/autoresearch --plugin autoresearch