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/pr)<a href="https://agentmods.dev/commands/juanmhidalgo/claude-plugins/pr"><img src="https://agentmods.dev/badge/commands/juanmhidalgo/claude-plugins/pr/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/pr"><img src="https://agentmods.dev/badge/commands/juanmhidalgo/claude-plugins/pr.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.00059 | $0.03620 |
| Opus 5.5 | $0.00024 | $0.01448 |
| Sonnet 5.5 | $0.00012 | $0.00724 |
| Haiku 4.5 | $0.00006 | $0.00362 |
Grade A, and why
pr 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 20d 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 — 332 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Pull Request Code Review
- Arguments: !
bash "${CLAUDE_PLUGIN_ROOT}/scripts/args.sh" '$ARGUMENTS' - All arguments: $ARGUMENTS
- Repository: !
git remote get-url origin - Current branch: !
git branch --show-current
<output_contract priority="blocking">
This command never writes to GitHub. Findings are reported here, in this
session. Do not run gh pr comment, gh pr review, or any gh api write —
they are not in allowed-tools and are not an oversight. If the user wants
findings on the PR, that is a separate, explicit decision they make — the
posting-a-pr-review skill covers how, in a later turn, outside this command.
</output_contract>
Arguments
The Arguments line above is the parsed form of what the user typed: one
JSON object with pane, spec, effort and positional. Read the fields;
do not parse the raw arguments yourself.
- Target PR:
positional[0], a number or a URL. Required: with none, say so and stop. - Effort:
effort, ornullwhen the user gave none (Step 0 resolves it). - Spec:
spec, ornullto letfind-spec.shsearch on its own. A path with spaces cannot be passed: tokens split on whitespace. - Pane:
paneistrue,falseornull. See Herdr pane.
Herdr pane
The review workflow already keeps the reviewers' output out of this
conversation. What the pane adds is what it adds to :branch and :staged: a
reviewer that has not seen this conversation, and a session that is not
blocked while it runs.
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 Steps 1–7. It falls back to the normal run outside Herdr.
- Command string:
/code-review:pr <PR> <effort> [--spec <value>] --no-pane - Report:
<scratchpad dir>/pr-<PR>.md - Present: do not re-verify. The pane ran this effort level's verification
in a fresh context, which beats this one. Run the two pre-presentation checks
of
verification.md(citations, execution claims), present the distilled findings, then one line: follow-ups go to the reviewer in its pane. To re-verify here instead (the code changed meanwhile), pass the report path to/code-review:receive.
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.
- 20d ago Changed · +31 lines 0b873f8ee1d8
- 26d ago Changed · -3 lines a56995a92422
- 1mo ago Changed · +37 lines bf70e0025017
- 1mo ago Changed · +11 lines 3588d3e93468
- 1mo ago Changed · +26 lines d8e0f8c7ce67
- 2mo ago Changed · -5 lines b78afc293115
- 2mo ago Changed · +2 lines 39bd60a41123
- 2mo ago Changed · +37 lines · +25 tokens per session 4e7b66602b71
- 3mo ago First seen · 196 lines · 34 tokens per session scan A 45f1c8bb400c
pr is a command published in the GitHub repository juanmhidalgo/claude-plugins (8 stars, last pushed 18d ago), licensed MIT. It adds 59 tokens to every session and 3,620 once invoked, about $0.0002 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.
pr compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| prjuanmhidalgo/claude-plugins | Command | 8 | 18d ago | MIT | A | 59 | Claude Code |
| explainfirst-fluke/oh-my-agent | Command | 1.5k | today | MIT | A | 51 | Claude Code |
| reviewfirst-fluke/oh-my-agent | Command | 1.5k | today | MIT | A | 32 | Claude Code |
| releaseavelikiy/great_cto | Command | 117 | 14d ago | MIT | A | 47 | Claude Code |
| createrube-de/cc-skills | Command | 11 | today | MIT | A | 14 | Claude Code |
| developrube-de/cc-skills | Command | 11 | today | MIT | A | 11 | Claude Code |
| cc-councilTheLobbi/claude | Command | 22 | 1mo ago | MIT | A | 45 | Claude Code |