review-pr

review-pr is a command for coding agents from robconery/champion. It costs 76 tokens per session (1,350 once invoked), scanned A, original, MIT.

A structured review process for examining a pull request, which is a proposed set of code changes. It tests the changes against the requirements, code quality, maintainability, standards, security, and scope before giving a merge rating.

In plain words
What is it for?
Use it to map a pull request's changes, challenge the implementation, check whether it fulfills the specification, and decide whether it should be merged.
Why use it?
It makes large or AI-generated pull requests easier for one developer to assess and exposes problems through adversarial review.

Command

Part of the champion plugin — 15 commands, 21 agents shipped together

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.

agentmods
npx agentmods add commands/robconery/champion/review-pr
Clone the repo
git clone --depth 1 https://github.com/robconery/champion

Or install champion, the plugin that ships this one along with the rest of its 15 commands, 21 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-pr

README.md
[![agentmods](https://agentmods.dev/badge/commands/robconery/champion/review-pr.svg)](https://agentmods.dev/commands/robconery/champion/review-pr)
Your own site
<a href="https://agentmods.dev/commands/robconery/champion/review-pr"><img src="https://agentmods.dev/badge/commands/robconery/champion/review-pr.svg" alt="Measured on agentmods" height="20"></a>
Per session 76 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,350 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00076 $0.01350
Opus 5 $0.00038 $0.00675
Sonnet 5 $0.00015 $0.00270
Haiku 4.5 $0.00008 $0.00135

Measured 5d ago against content hash 6b856affec7d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

review-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 5d 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.

champion/commands/review-pr.md · 78 lines

How it starts

The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Plugin note: this command ships in the champion plugin, so every council agent it names is a plugin agent. When spawning any agent mentioned below, use the champion: prefix for the agent type (e.g. champion:historian, champion:north-star, champion:viewer).

Setup gate: before doing anything else, check that ~/.champion/dossier/PROFILE.md exists. If it does not, stop immediately and tell the user, politely, that the council cannot work without knowing who it fights for: run /champion:setup first (a 20–30 minute interview). Do not proceed in any form until setup is complete.

/review-pr, put the PR on trial

Subject: $ARGUMENTS

A critique gauntlet for code, not a "should the user do this" decision. It exists to make an oversized, AI-generated PR reviewable by one human, and to find the truth about whether it should merge. The orchestrator runs the rounds. The defender is the author (the developer who wrote the code, on trial), not the champion.

The gate that matters most: is the code correct to the spirit of the spec? Everything else, quality, maintainability, standards, security, scope, is weighed under that.

0, Fetch and frame

  • If $ARGUMENTS is a PR number or URL: gh pr view <pr> --json title,body,files,additions,deletions,baseRefName,headRefName and gh pr diff <pr>. Pull the linked issue/spec if referenced.
  • If empty: review the current branch's diff against the main branch (git diff <main>...HEAD), treat the branch/commit messages and any linked task as the spec.
  • Read the repo's standards: CLAUDE.md, the .claude/ directory, and any lint/format/structure config. These are the house rules the senior-engineer judges against.

If the diff can't be fetched, stop and say so, don't review a guess.

1, Seed, Round 1: Map (spawn in parallel, no attacks yet)

  • cartographer → the compression map: the shape, the load-bearing 20% to actually read, the blast radius, and anything changed that the spec doesn't explain.
  • spec-keeper → the ground truth: the intent (spirit), explicit + implicit acceptance, the standards in play, what was left to judgment.

Read the full file on GitHub · 78 lines

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. 5d ago First seen · 78 lines · 76 tokens per session scan A 6b856affec7d

Subscribe to this mod's changes

review-pr is a command published in the GitHub repository robconery/champion (5 stars, last pushed 1mo ago), licensed MIT. It adds 76 tokens to every session and 1,350 once invoked, about $0.0004 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.