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 mehrad-dmv0.34.0MITIn 1 marketplace
Optional Claude Code mod for MasterMind: asks before irreversible actions, shows the brain's status, and flags answers that claim completion without a verdict. Runs code inside Claude Code; read the README first.
Trending plugins
7-day copy clicks
Code that runs inside Claude Code on every session, as you, unsandboxed.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Irreversible-action holdhold
all, destructive-only or off. all asks before anything that cannot be undone or that leaves this machine. destructive-only skips plain push, publish and deploy. off disables the hold.
stringdefault all
Verdict and evidence noticesnudge
on or off. on shows a one-line notice when an answer claims completion without a verdict, reports a check that never ran, or sends a review to a fork.
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it decides whether tool calls may run; sees, changes or blocks tool calls; runs programs; reads files; reads environment variables (HOME, TMPDIR); 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.
stringdefault on
Hold when nobody can be askedheadless
defer or deny. defer leaves the decision to your permission rules under claude -p and the SDK. deny refuses the command.
stringdefault defer
Handoff hint at context percenthandoffAt
Show one handoff hint when the context window is this full. 0 turns the hint off.
numberdefault 70
An optional add-on for Claude Code 2.1.287 or newer. The MasterMind brain is plain Markdown and works without it. The Mod adds the things Markdown cannot do: it stops and asks at the moment an irreversible action is about to run, it shows the state of the brain without spending a model turn, and it tells you when an answer claims more than the turn did.
It is a separate plugin on purpose. A Markdown plugin cannot run code. This one does, inside Claude Code, with your permissions. Read "Security" below before you install it.
| Part | What you see |
|---|---|
| Hold | The permission dialog opens before git push, a publish, a deploy, a destructive delete, or a write outside the project, even when a permission rule or auto mode would have let it through. The dialog carries one line saying what the command does and which kernel rule applies. |
| Status | One dim line above the prompt: field pack, logged misses and the date of the last one, the next spec step, running subagents, context used. Where there is no band (VS Code) a status line appears only when something needs attention. |
| Slash commands | /mm-status, /mm-wrong-log (last 10), /mm-next, /mm-check, /mm-evidence. Each answers at once, with no model turn. |
| Handoff hint | One toast when the context window passes the threshold (70% by default), again only after it has fallen below. |
| Verdict notice | One line for you, never for the model, when a turn changed something, the answer says it is finished, and there is no not checked: line. |
| Evidence receipt | One line when the answer reports a check ("tests pass", "verified", "37/37") and no test, typecheck, lint, build or preflight command has run since the last change. |
| Delegation | Running subagents are counted in the status line with their model, or fork. A review handed to a fork gets one line: a fork inherits the context that wrote the work, so it is not a clean-context review. |
| Kernel presence | "kernel not loaded: run npx mastermind-brain" when no loaded instruction file, and no session hook, delivered the kernel. The Mod never injects the kernel itself. |
The notices cost no tokens: they are drawn for you and are not sent to the model. The output of a slash command is different: like any command output, it is part of the conversation from the next request on.
In a terminal session of Claude Code:
/plugin marketplace add mehrad-dm/mastermind
/plugin install mastermind-mod@mastermind
Or in one line, from a shell: claude plugin install mastermind-mod --marketplace mehrad-dm/mastermind.
npx mastermind-brain does not install the Mod and never will: a mod is code, and you opt into code
separately. On Claude Code older than 2.1.287 the plugin loads and does nothing.
To try it from a checkout without installing: claude --plugin-dir /path/to/mastermind/mod.
Set them in the /config menu, or in ~/.claude/settings.json under pluginConfigs
(mastermind-mod@mastermind when installed from the marketplace, mastermind-mod@inline with
--plugin-dir):
{ "pluginConfigs": { "mastermind-mod@mastermind": { "options": { "hold": "destructive-only" } } } }
| Setting | Values | Default | Effect |
|---|---|---|---|
hold | all, destructive-only, off | all | destructive-only lets plain push, publish and deploy through and still asks for force pushes, deletes, discarded work and writes outside the project. off turns the hold off. |
headless | defer, deny | defer | What the hold does when nobody can be asked (claude -p, the SDK). defer leaves the decision to your permission rules, so a pipeline you allowed to push still pushes (unless the hold itself fails, which refuses). deny refuses the action and tells the model why. |
handoffAt | 0 to 100 | 70 | Context percent for the handoff hint. 0 turns the hint off. |
nudge | on, off | on | off silences the verdict notice, the evidence receipt and the fork-review line. |
The status line has no setting: collapse the band with ctrl+x ctrl+a, or disable the plugin. The
slash commands do nothing until you type one. To turn everything off, disable or uninstall the plugin
in /plugin.
git push (plain, forced with -f, --force, --force-with-lease or +ref, deletes, tags; not
--dry-run), git reset --hard, git clean -f (not -n), git branch -D, git checkout -- <path>
and git restore <path>, rm with -r or -f, npm, pnpm, yarn and bun publish,
vercel --prod, gh release create, gh pr merge, docker push, terraform apply and destroy,
kubectl apply and delete, and DROP or TRUNCATE passed to psql or mysql. It reads through
&&, ;, |, new lines, subshells, VAR=value prefixes, env VAR=value, sudo and npx.
7-day copy clicks
npx claudepluginhub mehrad-dm/mastermind --plugin mastermind-modBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground