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 localplugins Verifiedv0.2.1MITIn 1 marketplace
Fixes failing tests and type errors with minimal changes, re-running until they pass, and writes behavioral tests for new code. A Stop hook sends your turn back to green before it ends; the hooks need bash and jq.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
1 caution to review before installing
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
TypeScript, Node, Python, Rust
tdd, fake-green, test-repair, type-errors, behavioral-tests, revert-verification, typecheck, stop-hook ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Keeps your tests and types green while you code — and won't let you walk away from red. No fake-green: it never weakens a test or hides an error just to make things pass.
Green Keeper is a Claude Code plugin that treats "green" as a promise that the code is actually correct. It gives you three commands and a set of guardrails:
/green finds every failing test and type/compile error, fixes each with the smallest correct change, and re-runs until the suite and types genuinely pass./cover writes behavioral tests for your new code and proves each one fails on the old code and passes on the new — so the test actually exercises the change.The distinguishing rule is the one it refuses to break: it will not skip a test, loosen an assertion, add @ts-ignore, widen a type to any, or pad coverage to turn red into green. A dedicated reviewer (green-guardian) inspects every change and rejects the cheat if it sees one. Red that needs a human or product decision is reported as red — never disguised as green.
Everything runs locally. Green Keeper has no network access, no accounts, and no telemetry — it only runs the test and type-check commands you configure.
Claude Code (CLI or desktop). A project with a test and/or type-check command — green-keeper auto-detects them, or you set them in .green-keeper/config.json. The automatic hooks run on Claude Code or OpenCode.
Green Keeper runs inside Claude Code (the CLI or the desktop app). You install it from a plugin marketplace and drive it by typing commands like /green at the Claude Code prompt.
Add the marketplace (once):
/plugin marketplace add localplugins/plugins
Install the plugin:
/plugin install green-keeper@localplugins
Reload so the commands, agents, and hooks register:
/reload-plugins
Configure it for your repo:
/green-setup
This detects your test and type-check commands, shows them to you, and writes .green-keeper/config.json after you confirm.
Ignore the state directory. Add .green-keeper/state/ to your .gitignore. Keep .green-keeper/config.json in version control so your team shares the same commands.
Requirements & compatibility. You need Claude Code (CLI or desktop) to use the commands, agents, and skills. The automatic hooks (session-start status, the Stop-hook red check, the opt-in typecheck) run on hosts that support Claude Code's hook system — Claude Code and OpenCode. On hosts without hook support you still get the commands, agents, and skills; you just run them yourself instead of the Stop hook nudging you. The hooks also require bash and jq on your PATH.
You run Green Keeper by typing a command at the Claude Code prompt. Claude does the work — reading failures, editing code, re-running your suite — using Green Keeper's agents and skills.
Situation. You changed a pricing function and a test now fails.
You type:
/green
What happens. Claude reads .green-keeper/config.json, runs your type-check and test commands, and collects the red. For each failure it hands the item to the fixer agent, which forms a hypothesis about the root cause and makes the smallest correct change — to production code if the code is wrong, or to a genuinely-wrong test if the test is wrong. The green-guardian agent then inspects the diff and confirms nothing was skipped, silenced, or loosened. Claude re-runs the suite and type-check to prove they pass.
Outcome. The test passes because the bug is fixed, not hidden. You get a short report: the root cause and the minimal change for each item.
Situation. You just wrote a parseDuration helper and haven't tested it.
You type:
/cover src/time/parseDuration.ts
(Omit the path to cover your whole uncommitted diff.)
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 localplugins/plugins --plugin green-keeper