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.
git clone --depth 1 https://github.com/MadAppGang/magusnpx agentmods add commands/madappgang/magus/reviewWrote 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/commands/madappgang/magus/review)<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.
<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>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.00025 | $0.00875 |
| Opus 5 | $0.00013 | $0.00438 |
| Sonnet 5 | $0.00005 | $0.00175 |
| Haiku 4.5 | $0.00003 | $0.00088 |
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.
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 NViewport width in pixels (default: 1440)--height NViewport height in pixels (default: 900)--threshold NPixel 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
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.
- 9d ago First seen · 99 lines · 25 tokens per session scan A 577994daa5db
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.
Other commands, from other repositories
profile
Save, load, inspect, update, reset, or delete diagram-design client profiles.
ui-flow-review
Review menus, HUD, navigation, and player flow from a UX perspective.
ppt-image2-editable-rebuild
Rebuild image2 or imagegen reference slides as editable PowerPoint decks.
responsive-design-specialist
Use when a layout breaks between sizes. Arbitrary breakpoints, type that does not scale, images that blow out the grid, or a desktop design retrofitted onto mobile.
team-ui
Orchestrate UI/UX design team.
p3-ux-wireframes
Creates wireframes (ASCII art) for the most important screens with interaction descriptions.