Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add juanmhidalgo/claude-plugins/plugin install code-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/juanmhidalgo/claude-plugins/staged)<a href="https://agentmods.dev/commands/juanmhidalgo/claude-plugins/staged"><img src="https://agentmods.dev/badge/commands/juanmhidalgo/claude-plugins/staged/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/juanmhidalgo/claude-plugins/staged"><img src="https://agentmods.dev/badge/commands/juanmhidalgo/claude-plugins/staged.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.00075 | $0.01694 |
| Opus 5.5 | $0.00030 | $0.00678 |
| Sonnet 5.5 | $0.00015 | $0.00339 |
| Haiku 4.5 | $0.00007 | $0.00169 |
Grade A, and why
staged 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 26d 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 — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Context
- Current branch: !
git branch --show-current - Staged files: !
git diff --cached --name-only - Arguments: !
bash "${CLAUDE_PLUGIN_ROOT}/scripts/args.sh" '$ARGUMENTS' - All arguments: $ARGUMENTS
Staged Changes Summary
!git diff --cached --stat
Effort level
The Arguments line is the parsed form of what the user typed: one JSON
object with pane, spec, effort and positional. Read its fields; do not
parse the raw arguments yourself. spec is null when none was given, and
find-spec.sh then searches on its own; a path with spaces cannot be passed.
This command takes no positional argument: anything in positional is a typo
to mention, not a level.
effort is one of low | medium | high | max, default medium. low/medium
surface only findings verified against the code path; high/max add broader
coverage including findings the reviewer could not fully confirm, each marked.
If effort is null, read pr_effort: from .claude/code-review.local.md;
else medium.
Why this is dispatched and not done inline
<iron_law priority="blocking">
Run the reviewer in a subagent. Never review the staged diff yourself in this conversation.
</iron_law>
This command is most often run in the session that just wrote the code. That session holds every reason the code looks right, which is exactly the framing a reviewer must not start from. A subagent sees the diff and the repo and nothing else.
If subagents are unavailable, say so plainly and offer to run it in a fresh
session (--pane, when inside Herdr) or inline-but-marked-contaminated. Do not
silently downgrade.
Herdr pane
Run this review in a Herdr pane when pane is true, or when pane is null
and review_in_pane is configured true (${user_config.review_in_pane}).
pane: false always wins: it is what the pane session itself receives. In the
pane, run in collect mode: follow ${CLAUDE_PLUGIN_ROOT}/references/herdr-pane.md
instead of the Dispatch below. It falls back to the normal run outside Herdr.
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.
- 26d ago Changed · +6 lines aea4344ddd55
- 1mo ago Changed · +7 lines 123579a5d653
- 1mo ago Changed · +10 lines 181c7072d4fb
- 1mo ago Changed · +21 lines f20ad9aaf27c
- 2mo ago Changed · +48 lines · +40 tokens per session 63ed6b5e2f4d
- 3mo ago First seen · 70 lines · 35 tokens per session scan A 1c00466f932e
staged is a command published in the GitHub repository juanmhidalgo/claude-plugins (8 stars, last pushed 18d ago), licensed MIT. It adds 75 tokens to every session and 1,694 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-31.
staged compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| stagedjuanmhidalgo/claude-plugins | Command | 8 | 18d ago | MIT | A | 75 | Claude Code |
| gitazrtydxb/procoder | Command | 212 | 22d ago | Apache-2.0 | A | 20 | Claude Code |
| reviewTheSmuks/ai-project-template | Command | 8 | 1mo ago | MIT | A | 10 | Claude Code |
| elegant-code-reviewathola/claude-night-market | Command | 358 | today | MIT | A | 27 | Claude Code |
| prp-commitFmarzochi/EGC | Command | 70 | today | Apache-2.0 | A | 15 | Claude Code |
| pr-riskkumaran-is/claude-code-onboarding | Command | 37 | today | MIT | A | 0 | Claude Code |
| validate-pr-descriptionrjmurillo/ai-agents | Command | 50 | today | Apache-2.0 | A | 22 | Claude Code |