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 timiniv0.1.0MITIn 1 marketplace
Reviews each finished response in the background and records evidence for tested harness improvements
Code that runs inside Claude Code on every session, as you, unsandboxed.
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it sees, changes or blocks tool calls; runs programs; reads files; reads environment variables (AUTOTUNE_ORIGIN, AUTOTUNE_PYTHON); changes what Claude reads (system prompt, context, reminders).
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.
A Claude Code mod that reviews every finished response, tests small improvements to the project harness against the current one, and consolidates overlapping skills. Git holds change history and rollback. A local SQLite database holds the evidence: reviews, experiments, outcomes and the Git commits involved.
Experimental. Milestones M0 to M7 are built: capture, reviews, candidate authoring, paired replay and the promotion gate, Git application and revert, skill consolidation, and the calibration and mutation tooling.
All of it is tested against a scripted fake Claude CLI. None of it has release evidence from real model runs. There are no human calibration labels, no observation period, no effectiveness pilot and no held-out study yet. This repository makes no claim that Autotune improves outcomes. See release evidence for what has and has not been measured, and the implementation plan for the status of each milestone and the open items.
Tested with Claude Code 2.1.306 on macOS. It needs Python 3.11 or later (standard library only) and Git. The mod API is early access and may change between Claude Code releases.
.autotune/cases/, and a
deterministic gate accepts, rejects or reports inconclusive. Known successes must be kept.From a local checkout:
git clone <this repository> /path/to/claude-autotune
cd /path/to/repo && claude --plugin-dir /path/to/claude-autotune
From the marketplace, at the prompt of a Claude Code terminal session (answer y to add the marketplace, then pick a scope):
/plugin install autotune --marketplace timini/claude-autotune
From a shell:
claude plugin install autotune --marketplace timini/claude-autotune
Enroll the repository. This writes .autotune.json with automatic_apply set to false. Commit it.
cd /path/to/claude-autotune && python3 -m autotune enable --project-dir /path/to/repo
Inside a session with the plugin loaded, /autotune enable does the same.
Add replay cases under .autotune/cases/<id>.json and commit them. Without cases, candidates end as
inconclusive with reason no_required_cases. examples/replay-case.json is a
valid case; the format is in docs/CONTRACTS.md section 4.
Start Claude Code with the plugin and work as usual. /autotune status shows the queue, recent episodes,
reviews, candidates, model call counts, disk use and anything that is waiting, with the reason.
Inspect a review or a candidate with /autotune review and /autotune candidate <id>. Apply an accepted
candidate with /autotune apply <id>.
Evidence lives in ~/.claude/autotune/<project-id>/ (set AUTOTUNE_HOME to move it), never in the repository.
Every command runs as /autotune <command> inside a session, or from the plugin directory as
python3 -m autotune <command> --project-dir /path/to/repo. /autotune with no argument runs status. The
/autotune hint in the session lists the commands down to doctor; calibrate, mutations, export and
uninstall work the same way but are not in the hint. Run uninstall from a terminal: the session command
times out after 20 seconds, and uninstall can wait that long for the worker to stop.
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 timini/claude-autotune --plugin autotune