review

review is a command for Claude Code from MadAppGang/magus. It costs 25 tokens per session (875 once invoked), scanned A, original, MIT.

A visual comparison command for checking an implementation against a reference design, image, or web page.

In plain words
What is it for?
Use it to compare Figma designs, image files, or browser pages with local or staging implementations.
Why use it?
It helps find differences between what was designed and what was built, including differences visible at a chosen screen size.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: agent in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is /designer:review ./designs/hero.png ./screenshots/hero-impl.png.

Part of the designer plugin — 5 skills, 3 commands, 2 agents shipped together

Good fit Use it to compare Figma designs, image files, or browser pages with local or staging implementations.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/MadAppGang/magus
agentmods
npx agentmods add commands/madappgang/magus/review

Made for: Claude Code.

Or install designer, the plugin that ships this one along with the rest of its 5 skills, 3 commands, 2 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/madappgang/magus/review/github.svg)](https://agentmods.dev/commands/madappgang/magus/review)
Your own site
<a href="https://agentmods.dev/commands/madappgang/magus/review"><img src="https://agentmods.dev/badge/commands/madappgang/magus/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.

agentmods 80×15 button for review

Your own site · 80×15
<a href="https://agentmods.dev/commands/madappgang/magus/review"><img src="https://agentmods.dev/badge/commands/madappgang/magus/review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 875 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.00025 $0.00875
Opus 5 $0.00013 $0.00438
Sonnet 5 $0.00005 $0.00175
Haiku 4.5 $0.00003 $0.00088

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

Security

Grade A, and why

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 9d 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/designer/commands/review.md · 99 lines

What it actually says

<user_request> $ARGUMENTS </user_request>

Argument Format:

/designer:review <reference> <implementation> [options]

Arguments:

  • First positional arg: reference source (Figma URL, image file path, or browser URL)
  • Second positional arg: implementation source (browser URL or image file path)

Options:

  • --width N Viewport width in pixels (default: 1440)
  • --height N Viewport height in pixels (default: 900)
  • --threshold N Pixel diff tolerance 0.0–1.0 (default: 0.1)

Examples:

/designer:review https://figma.com/design/ABC123/?node-id=136-5051 http://localhost:5173/dashboard
/designer:review ./designs/hero.png ./screenshots/hero-impl.png
/designer:review https://staging.example.com/checkout http://localhost:3000/checkout --width 375 --height 812

Step 1: Parse Arguments

Parse $ARGUMENTS:

REFERENCE_SOURCE = first whitespace-separated token (required)
IMPL_SOURCE      = second whitespace-separated token (required)
VIEWPORT_WIDTH   = value after --width  (default: 1440, must be 100-3840)
VIEWPORT_HEIGHT  = value after --height (default: 900, must be 100-2160)
THRESHOLD        = value after --threshold (default: 0.1, must be 0.0-1.0)

Validation errors:

  • Missing REFERENCE_SOURCE → "ERROR: Missing required argument. Usage: /designer:review "
  • Missing IMPL_SOURCE → same error
  • Invalid --width → "ERROR: Invalid width: must be 100-3840"
  • Invalid --height → "ERROR: Invalid height: must be 100-2160"
  • Invalid --threshold → "ERROR: Invalid threshold: must be 0.0-1.0"

Step 2: Create Output Directory

RUN_ID="ui-val-$(date -u +%Y%m%d-%H%M%S)-$(head -c 2 /dev/urandom | xxd -p)"
if [ -n "${SESSION_PATH}" ]; then
  OUTPUT_DIR="${SESSION_PATH}/ui-validation/${RUN_ID}"
else
  OUTPUT_DIR=".ui-validation/${RUN_ID}"
fi
mkdir -p "${OUTPUT_DIR}"
echo "Output directory: ${OUTPUT_DIR}"
echo "Run ID: ${RUN_ID}"

Step 3: Delegate to design-review Agent

Delegate to the designer:design-review agent with all parsed parameters:

Agent: designer:design-review
Run a UI design comparison with the following parameters:

REFERENCE_SOURCE: {REFERENCE_SOURCE}
IMPL_SOURCE: {IMPL_SOURCE}
VIEWPORT_WIDTH: {VIEWPORT_WIDTH}
VIEWPORT_HEIGHT: {VIEWPORT_HEIGHT}
THRESHOLD: {THRESHOLD}
MASKS_JSON: []
OUTPUT_DIR: {OUTPUT_DIR}
RUN_ID: {RUN_ID}

Execute the complete validation pipeline (Capture → Pixel Compare → Semantic Analysis → Report).
When complete, return the severity, diffPercentage, and artifact paths.

Step 4: Present Results

After the agent completes, present the result summary to the user including:

  • Severity badge
  • Diff percentage
  • Top issues (if semantic analysis ran)
  • Path to diff.json and summary.md
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. 9d ago First seen · 99 lines · 25 tokens per session scan A 577994daa5db

Subscribe to this mod's changes

review is a command published in the GitHub repository MadAppGang/magus (9 stars, last pushed today), licensed MIT. It adds 25 tokens to every session and 875 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.