review-impl

review-impl is a command for Claude Code from karsten-s-nielsen/mad-scientist-skills. It costs 16 tokens per session (511 once invoked), scanned A, original, MIT.

A command for reviewing code changes made in another work session, including staged, unstaged, and new untracked files.

In plain words
What is it for?
Use it for an independent implementation review before approval, with checks against the project specification, plan, tests, and review criteria.
Why use it?
It helps find missed files, deviations from the approved plan, and implementation problems by examining the full change and running it where allowed.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the mad-scientist-skills plugin — 10 skills, 4 commands shipped together

Good fit Use it for an independent implementation review before approval, with checks against the project specification, plan, tests, and review criteria.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/karsten-s-nielsen/mad-scientist-skills/review-impl
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.

Clone the repo
git clone --depth 1 https://github.com/karsten-s-nielsen/mad-scientist-skills

Made for: Claude Code.

Or install mad-scientist-skills, the plugin that ships this one along with the rest of its 10 skills, 4 commands.

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 review-impl

README.md
[![agentmods](https://agentmods.dev/badge/commands/karsten-s-nielsen/mad-scientist-skills/review-impl/github.svg)](https://agentmods.dev/commands/karsten-s-nielsen/mad-scientist-skills/review-impl)
Your own site
<a href="https://agentmods.dev/commands/karsten-s-nielsen/mad-scientist-skills/review-impl"><img src="https://agentmods.dev/badge/commands/karsten-s-nielsen/mad-scientist-skills/review-impl/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 review-impl

Your own site · 80×15
<a href="https://agentmods.dev/commands/karsten-s-nielsen/mad-scientist-skills/review-impl"><img src="https://agentmods.dev/badge/commands/karsten-s-nielsen/mad-scientist-skills/review-impl.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 511 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.
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.00016 $0.00511
Opus 5 $0.00008 $0.00255
Sonnet 5 $0.00003 $0.00102
Haiku 4.5 $0.00002 $0.00051

Measured 11d ago against content hash 1b88fc7613b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

review-impl 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 11d 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.

plugins/mad-scientist-skills/commands/review-impl.md · 44 lines

What it actually says

Review an implementation you did not write.

Target: $ARGUMENTS

Use the unbiased-review skill. Read references/implementation-review.md, references/isolation-protocol.md (required before executing anything), references/output-contract.md, both rubrics, and references/stack-notes.md.

This is the only review where execution is available, so use it. Reading a diff tells you what the author meant; running it tells you what they did.

Establish the change completely first:

git -C <target> status --short
git -C <target> diff --staged --stat
git -C <target> diff --stat
git -C <target> ls-files --others --exclude-standard

Untracked files are part of the change. Reviewing staged-only content on a tree with untracked new test files reviews the wrong change and misses the tests entirely, which inverts every TDD finding.

Establish the approved bar before judging scope. Locate the spec and plan in the target — including uncommitted/untracked docs in the working tree — and any saved spec/plan review in the reviews location. Those set expectations, not the author's summary of them. If none exists, that absence is a finding and blocks APPROVE. No session decides scope, defers work, or records a follow-up without the human's approval; an unapproved deferral is a finding, never something you bless (Hard rules 3, 8).

Then: three-way check against spec and plan (and any prior report's finding IDs), the suite run in a scratch clone with real numbers, the red-green proof for the change's core assertions, and architecture graded by import graph rather than folder names.

The skill's Hard rules bind hardest here. Never run a test or build inside the target — clone to the scratch root defined in references/isolation-protocol.md (a temp path outside any target tree) and work there. Reproduce before reporting: no empirical failure goes in the report until you have proved it exists in target state and not just in your copy. Remove the scratch clone at the end and confirm the target's git status is unchanged.

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. 11d ago First seen · 44 lines · 16 tokens per session scan A 1b88fc7613b5

Subscribe to this mod's changes

review-impl is a command published in the GitHub repository karsten-s-nielsen/mad-scientist-skills (3 stars, last pushed 12d ago), licensed MIT. It adds 16 tokens to every session and 511 once invoked, about $0.0001 per session on Opus 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-31.