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 drivelineresearchv1.1.0MIT
Lets the agent iterate on a fixed benchmark, committing measured improvements and logging failed ideas within a set budget. A Stop hook blocks turns from ending while the session has budget left; a UserPromptSubmit hook runs on every prompt.
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.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.

A measured experiment loop for Claude Code and Codex. Define a goal, a fixed benchmark, and files to modify. The agent tries changes, measures results, commits supported improvements, and records failed ideas within a budget.
Inspired by pi-autoresearch. The experiment protocol is a shared skill with standard-library Python helpers; no MCP server is required.
Requires Python 3.10+, Bash, Git, and your chosen agent client. Linux and macOS are supported; use WSL on Windows. The optional ML example has its own dependencies.
gh repo clone drivelineresearch/autoresearch-claude-code
cd autoresearch-claude-code
./install.sh --codex # Codex skill in ~/.agents/skills/autoresearch
./install.sh --claude # Claude skill, command, and four hooks
# Or: ./install.sh --all
No argument defaults to Claude for compatibility. Installations use symlinks, so keep this checkout in place. Existing foreign files/directories are preserved and conflicts are reported. Claude settings are validated before changes, updated atomically, and backed up when modified. Codex installation does not edit its configuration or register Claude hooks.
Claude also supports a session-local plugin load:
claude --plugin-dir /absolute/path/to/autoresearch-claude-code
Choose plugin loading or manual Claude installation; installing both can duplicate
hooks. For removal, use ./uninstall.sh --codex, --claude, or --all. Removal
only deletes symlinks owned by this checkout and corresponding exact hook entries;
manually copied files and other installations remain untouched. See
installation/review notes for migration limits.
In Codex CLI/IDE, invoke the installed skill:
$autoresearch optimize test suite runtime with at most 20 runs
$autoresearch status
$autoresearch report
$autoresearch off
In the Codex app, select the skill or ask to use autoresearch by name. Codex
discovers symlinked skills in ~/.agents/skills.
For Claude Code, manual installation uses /autoresearch; plugin loading uses
the namespaced /autoresearch:autoresearch, with the same goal or subcommands.
The agent establishes scope, creates an experiment branch, prepares a fixed benchmark, calibrates noise, and logs a baseline. It preserves existing work; use a dedicated worktree when another task is in progress. Artifacts must be ignored in the target project too; this plugin's ignores do not transfer.
For unattended Codex execution, first initialize and pause the session with the skill, review the baseline, then explicitly resume it and run:
# Run from the initialized experiment worktree after reviewing/removing its pause sentinel.
python3 ~/.agents/skills/autoresearch/scripts/codex_loop.py --dry-run
python3 ~/.agents/skills/autoresearch/scripts/codex_loop.py \
--max-turns 10 --max-seconds 3600 --turn-timeout 300 \
--protect path/to/scorer.py
Replace path/to/scorer.py with your real scorer file; repeat --protect for other
locked inputs. See the Codex guide for
initialization, flags, logs, pause/cancellation, and recovery.
| Capability | Mechanism and limit |
|---|---|
| Shared state | Config/result JSONL validated for finite numbers, sequential runs, segments, status, and metadata; writes locked and atomic |
| Claude continuation | Stop hook blocks turn completion while an active valid session has budget; malformed state allows stopping with a diagnostic |
| Codex continuation | Bounded codex exec supervisor requires one result per invocation; stops on no progress, failure, altered config, branch, or protected files |
| Budgets | Current-segment run/time/target checks; Codex also caps invocations and actively times out process groups |
| Pause | .autoresearch-off; Codex checks during active turns as well as between them |
| Recovery | JSONL, worklog, dashboard; Claude PreCompact snapshots and SessionStart context |
| Noise/correctness | Agent follows measured-noise and checks protocol; helpers do not independently attest a score or statistical significance |
| Locked scorer | Off-limits scope instructions, plus Codex hashes for specified files between turns; this is not a hostile-agent sandbox |
Run caps count logged experiments (including baseline and failures), not tokens or dollars. Setup/calibration and seed confirmations have additional cost. Claude's Stop hook checks at turn boundaries; a benchmark needs its own timeout. A budget extension or scorer change must be deliberate; removing a pause sentinel alone never resets the budget.
7-day copy clicks
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.
Generated from the plugin's indexed repository (drivelineresearch/autoresearch-claude-code) — no native marketplace selected
npx claudepluginhub p/drivelineresearch-autoresearchPlugins from other owners that cover similar ground