tune-up
A Claude Code plugin that turns a disciplined way of working into defaults: research that changes nothing, a written plan before code, one Part of the plan per conversation, cheap models for mapping and checking, strong models for risky work, and hooks that stop the mistakes that cost the most (a careless git add -A, a write to production, a stacked PR).
It is made of three things:
- Skills (slash commands) for the whole flow, from the first idea to the pull request.
- Agents with a fixed model and effort per role.
- Hooks ("travas") that block or ask before dangerous actions, and a line limit per code file.
Issues / source: https://github.com/stage2dev/tune-up
Requirements
- Claude Code.
- macOS / Linux: Python 3.9 or newer.
- Windows: Git for Windows, with Git Bash, is required (needed for
claude plugin marketplace add and for the hooks, which run in Git Bash) and Python 3.9 or newer from python.org or winget install Python.Python.3.12. The Microsoft Store python3 alias is skipped automatically.
Install
The same commands on every OS:
claude plugin marketplace add stage2dev/tune-up
claude plugin install tune-up@tune-up
Then, inside Claude Code:
/reload-plugins
/tune-up:setup
New plugins only work after /reload-plugins or a new session.
What the first session installs by itself
The first session after the install (or after a tune-up update) adds, in the background, what is missing of these three. It says so in one line, the next session says how it ended, and a failure (no network, or claude, git or node missing) is retried at the next session.
| Plugin | From (GitHub) | Pinned commit | Limit |
|---|
| ECC | affaan-m/ecc#v2.2.3 | c05b2d6614f62f6db0047669aa4eefb223d478f9 | Hooks off by the install option and the plugin disabled right after; only the local skills catalog in ~/.config/tune-up/ is read |
| Ponytail | DietrichGebert/ponytail#v5.3.3 | 7801d061243d7b753bad0e0b3c057cd250b11755 | ledger=false by the install option; before the install, PONYTAIL_SUBAGENT_MATCHER=^tune-up:executor in the env of settings.json (dated backup), only if you have none |
| Caveman | JuliusBrussee/caveman#v4.2.0 | 70f4f34e834893ea9af9f4fc6022266bd56d18b1 | Before the install, {"defaultMode":"off"} in ~/.config/caveman/config.json, only if you have none |
- A clone that is not at the pinned commit is never installed.
- What you already have stays as it is: a plugin installed for your user or by your organization (on or off), a marketplace of the same name from another source, an existing limit. A plugin of the same name in one project's scope does not count. A plugin recorded as installed by tune-up (
preparo.json) that you uninstall later does not come back; one that was already yours may be installed at a later tune-up update if you remove it.
- An install that is killed half way is undone, the ECC key in
enabledPlugins included (dated backup), by that run or by the next one. Until then the session says it is incomplete or says nothing: a dead run holds the lock for 40 minutes.
- Ponytail limit: the main session always gets about 3 KB of its rules; the matcher only filters subagents, and it fails open (every subagent gets the rules) on an invalid regex or an empty agent type.
- The default model is never changed this way, and it never runs in CI.
- Turn off, before or after:
"auto_prepare": false in ~/.config/tune-up/user.json. A project .tune-up/config.json may also turn it off, even untrusted, but cannot turn it back on; nor can a TUNEUP_USER_JSON that points at another file. The marker, the records and the catalog always stay in ~/.config/tune-up/.
- Not guaranteed: a folder you trust in Claude Code can set environment variables (
HOME, PATH, CLAUDE_CONFIG_DIR and others) or hooks in its own .claude/settings.json. That already runs what it wants and is outside this control.
- Undo: turn it off, then
claude plugin uninstall ecc@ecc, ponytail@ponytail and caveman@caveman (one call each), claude plugin marketplace remove for ecc, ponytail and caveman, remove PONYTAIL_SUBAGENT_MATCHER from settings.json and delete ~/.config/caveman/config.json.
Windows: marketplace add fails with EPERM ... rename
A known Claude Code bug on Windows, not specific to this plugin: Claude Code clones the repo and then renames the folder, and Windows Defender or the Search Indexer may still be holding a file in it. Install from a local clone instead:
git clone https://github.com/stage2dev/tune-up "%USERPROFILE%\.claude\plugins\local\tune-up"
claude plugin marketplace add "%USERPROFILE%\.claude\plugins\local\tune-up"
claude plugin install tune-up@tune-up
(In PowerShell, write $env:USERPROFILE instead of %USERPROFILE%.) If an earlier attempt left a half-copied folder in %USERPROFILE%\.claude\plugins\marketplaces\, delete it first.