Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add xcrft/mastermind --skill mastermind-critical-reviewgit clone --depth 1 https://github.com/xcrft/mastermindWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/xcrft/mastermind/mastermind-critical-review)<a href="https://agentmods.dev/skills/xcrft/mastermind/mastermind-critical-review"><img src="https://agentmods.dev/badge/skills/xcrft/mastermind/mastermind-critical-review/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/xcrft/mastermind/mastermind-critical-review"><img src="https://agentmods.dev/badge/skills/xcrft/mastermind/mastermind-critical-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00063 | $0.01532 |
| Opus 5.5 | $0.00025 | $0.00613 |
| Sonnet 5.5 | $0.00013 | $0.00306 |
| Haiku 4.5 | $0.00006 | $0.00153 |
Grade A, and why
mastermind-critical-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 141 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Mastermind Critical Review
Challenge a proposed design or completed change before it becomes accepted work. The goal is not to be negative — it's to prevent confident wrongness.
This is the rubric; the spawnable agent that applies it is the
mastermind-critic subagent in independent context.
When to use
- Before approving a non-trivial task spec.
- Before accepting a design that touches auth, billing, migrations, public APIs, data loss, or rollback complexity.
- When a planner asks a critic to stress-test an approach.
- When an auditor needs to judge whether executor claims are supported.
- When a design "sounds reasonable" but hasn't been checked against failure modes.
Do NOT use for raw fact gathering — use [[mastermind-codegraph-research]] first when symbol existence, callers, imports, file paths, or blast radius are unknown. Do NOT use to implement fixes; this produces critique, not code.
Security scope: if the review surfaces security-sensitive scope (auth, tools, secrets, delegation, supply chain, prompt injection), don't go deep inline — spawn mastermind-security-auditor and fold its verdict into the critique.
Inputs
- Proposal — the design, spec, report, or plan under review.
- Evidence — codegraph facts, files, test results, logs, or an explicit "evidence unavailable".
- Scope — what the review may challenge.
- Lens (optional) — security, performance, simplicity, migration safety, API compatibility, or testing.
If evidence is missing, say so. Missing mmcg alone does not invalidate a review when source, test, or runtime evidence establishes the required facts. An unsupported claim is unknown; a claim contradicted by evidence is a finding.
Review protocol
Run in order.
- Evidence — Which claims are backed by local evidence vs assumption? Which named files/symbols/callers/contracts are unverified? Is the design relying on memory or guesswork? Code structure named without evidence is a finding.
- Contract — Does this change an API, data shape, permission boundary, event/CLI/config contract, or persisted behavior? Are existing consumers covered? Is backward compatibility explicit? Are error shapes and edge cases preserved? Hidden contract changes are high severity.
- Failure mode — What happens on retry, partial failure, concurrency, stale data, empty/malformed/duplicated/out-of-order input, or a slow/missing/misbehaving dependency? Report only the plausible ones.
- Scope — Solving the stated problem or adding future-proofing? Is every abstraction justified by ≥ 2 current use cases? Is unrelated cleanup mixed in? Is the path larger than the problem requires? Scope creep is a finding even when the extra work seems useful.
- Test & verification — Would the proposed tests fail before the fix? Do they cover the contract that can break? Are integration paths covered where unit tests aren't enough? Are VERIFY commands concrete and runnable? "Run tests" is not a sufficient plan for behavior-changing work.
- Rollback & observability — Safely revertible? Does it need a migration/backfill/feature flag? Would production failure be visible? Require observability only when the risk justifies it.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · +24 lines f4df1a7a1dec
- 1mo ago First seen · 117 lines · 63 tokens per session scan A 82f83e8b12be
mastermind-critical-review is a skill published in the GitHub repository xcrft/mastermind (13 stars, last pushed yesterday), licensed MIT. It adds 63 tokens to every session and 1,532 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
roam
Codebase comprehension via roam-code CLI. Use when exploring codebases, planning modifications, debugging failures, assessing PR risk, or checking architecture health. Triggers on: understanding project structure, pre-change safety checks, finding symbols/files, blast radius analysis, affected tests, health scoring…
stacklit-navigator
Use stacklit.json to navigate codebases without burning tokens on file exploration.
dora
Query codebase using dora CLI for code intelligence, symbol definitions, dependencies, and architectural analysis.
code-registry
Use The Code Registry MCP server to create accounts, create code vaults, run LOCALAGENT analysis, poll completion correctly, and present business-focused code intelligence for any purpose including due diligence, security, and tech debt workflows.
codehelper-browser
When to use.
codehelper-guide
When to use.