double-check

double-check is a skill for Claude Code from mehrad-dm/mastermind. It costs 129 tokens per session (1,229 once invoked), scanned A, original, MIT.

A review step for checking an important claim before handing work to a user or making an irreversible change. It separates the work from the evidence needed to show that the claim is true.

In plain words
What is it for?
Use it to check code changes, designs, diagnoses, or answers against their requirements. It is also useful when a review seems suspiciously clean.
Why use it?
It helps catch confident but unsupported answers, fixes, or decisions before someone relies on them.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the mastermind plugin — 32 skills, 4 agents, 1 hook shipped together

Good fit Use it to check code changes, designs, diagnoses, or answers against their requirements. It is also useful when a review seems suspiciously clean.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mehrad-dm/mastermind/double-check
Install

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.

Any agent
npx skills add mehrad-dm/mastermind --skill double-check
Clone the repo
git clone --depth 1 https://github.com/mehrad-dm/mastermind

Made for: Claude Code.

Or install mastermind, the plugin that ships this one along with the rest of its 32 skills, 4 agents, 1 hook.

Wrote 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.

agentmods badge for double-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/mehrad-dm/mastermind/double-check/github.svg)](https://agentmods.dev/skills/mehrad-dm/mastermind/double-check)
Your own site
<a href="https://agentmods.dev/skills/mehrad-dm/mastermind/double-check"><img src="https://agentmods.dev/badge/skills/mehrad-dm/mastermind/double-check/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.

agentmods 80×15 button for double-check

Your own site · 80×15
<a href="https://agentmods.dev/skills/mehrad-dm/mastermind/double-check"><img src="https://agentmods.dev/badge/skills/mehrad-dm/mastermind/double-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 129 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,229 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 18
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Agent Snooping · line 57
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00129 $0.01229
Opus 5.5 $0.00052 $0.00492
Sonnet 5.5 $0.00026 $0.00246
Haiku 4.5 $0.00013 $0.00123

Measured 15d ago against content hash d5b08256a5e0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

double-check 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 15d 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.

skills/double-check/SKILL.md · 80 lines

How it starts

The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MasterMind: Double-check

You are about to hand over something you believe. Belief is not evidence (~/.mastermind/engineering/core/rigor.md → Report against evidence), and the check that catches a wrong claim has to happen while the work is still moving, not after the user has acted on it. Claim: $ARGUMENTS.

The kernel's rule: whatever did the work doesn't get to grade it: is the entire mechanism here. This applies it to a claim, not only to a diff.

The five moves

  1. Claim. Write the belief you are about to act on or hand over, in one sentence: "the retry loop now handles the expired-token case." A paragraph means several claims, doubt them one at a time. The claim stays with you; it is the thing under test, not context to share.

  2. Extract. Split it into the artifact (the code, the design, the answer, the diagnosis) and the contract it must satisfy (the requirement, the spec line, the invariant, the question actually asked). If you can't write the contract down, stop and get one. Without it there is no bar, and any reviewer defaults to grading your intent.

  3. Doubt. Dispatch a reviewer in a fresh context with the artifact and the contract, nothing else. It is a fresh context, not a second model: say so, and use a second model where one is installed. Brief it adversarially:

    Find what is wrong with this. Assume the author is overconfident. Do not validate and do not summarize: report what fails the contract, or state plainly that you could not find anything after thorough examination.

    Hand the artifact over via a file or stdin. Never interpolate it into a shell-quoted argument: code and prompts carry backticks, $(...), and quotes that truncate the message or execute in your shell. A clipped artifact reviews clean for the worst reason: the flaw didn't survive the paste.

    Never pass it your claim. The excuse is always "it'll review faster with the context": but the context you're about to add is your conclusion, and a reviewer handed a conclusion hunts for reasons it holds. You would be buying agreement and calling it review.

Read the full file on GitHub · 80 lines

Files

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.

Changes

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.

  1. 15d ago Changed · +1 lines · +129 tokens per session d5b08256a5e0
  2. 1mo ago First seen · 79 lines · 0 tokens per session scan A 0633b61b2f02

Subscribe to this mod's changes

double-check is a skill published in the GitHub repository mehrad-dm/mastermind (23 stars, last pushed 6d ago), licensed MIT. It adds 129 tokens to every session and 1,229 once invoked, about $0.0005 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.