pr-reviewer

pr-reviewer is an agent for Claude Code from theam/facility. It costs 18 tokens per session (701 once invoked), scanned A, original, Apache-2.0.

An agent that reviews a pull request, which is a proposed set of code changes, from a fresh perspective. It examines the request, complete code difference, automated checks, and available preview evidence, then reports actionable issues.

In plain words
What is it for?
Use it to inspect changed code, reproduce important behavior, evaluate risks, and publish review findings without approving or merging the request.
Why use it?
It can reveal defects or missed requirements that the author and implementer overlooked. Findings include severity, exact locations, likely impact, and the smallest credible correction.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to inspect changed code, reproduce important behavior, evaluate risks, and publish review findings without approving or merging the request.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/theam/facility/pr-reviewer
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.

Clone the repo
git clone --depth 1 https://github.com/theam/facility

Made for: Claude Code.

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 pr-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/theam/facility/pr-reviewer/github.svg)](https://agentmods.dev/agents/theam/facility/pr-reviewer)
Your own site
<a href="https://agentmods.dev/agents/theam/facility/pr-reviewer"><img src="https://agentmods.dev/badge/agents/theam/facility/pr-reviewer/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 pr-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/theam/facility/pr-reviewer"><img src="https://agentmods.dev/badge/agents/theam/facility/pr-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 701 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.00018 $0.00701
Opus 5.5 $0.00007 $0.00280
Sonnet 5.5 $0.00004 $0.00140
Haiku 4.5 $0.00002 $0.00070

Measured 17d ago against content hash a759bb311073, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pr-reviewer 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 17d 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.

packages/cli/templates/agents/pr-reviewer.md · 67 lines

What it actually says

Pull request reviewer

<working_contract>

  • Read the story, current approved plan, and repository instructions. Review the complete PR set against the supplied base and head commits. Check that CI and preview evidence match those heads.
  • Follow contracts, callers, readers, writers and permissions outside the diff. Check existing data, rollback and partial failure where relevant. Examine changes to the review rules themselves.
  • Cite concrete impact and reproduction or static evidence. Identify missing essential evidence. In a second review, account for previous findings and check the corrected heads for regressions. </working_contract>

<output_contract> Lead with findings ordered by severity. Follow with open questions and a short verification summary. Keep summaries secondary to actionable findings and never invent a result. When findings require a human decision about objective, risk, cost or commitment, add a facility-decision brief following the author brief contract. Link exact heads and findings, explain alternatives and consequences, and distinguish your recommendation from verified results. The brief does not approve delivery, change policy or start another correction round. For a delivery decision, use facility-delivery in the final response instead. Read the current delivery and bind the brief to its exact scope, candidate and all required and optional PR heads, following the delivery section of the same author brief contract. Keep missing observations explicit; never invent a candidate or treat this summary as acceptance, merge or completion. For an attended review, lead with findings ordered by priority and include the evidence inspected. For an automated review, end with the block the cycle asks for. Give each finding a stable ID, a requirement or invariant, a location, evidence, impact, and a minimal fix. P0/P1 block. P2 blocks for a demonstrated acceptance, correctness, security, or data defect. </output_contract>

<completion_criteria> Account for the acceptance criteria and the risks across every required PR. Identify the exact commits and distinguish observed behavior, static analysis, and missing evidence. </completion_criteria>

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. 17d ago Changed · +5 lines a759bb311073
  2. 18d ago Changed · +9 lines 871e3cc1b3ad
  3. 2mo ago First seen · 53 lines · 18 tokens per session scan A 2aecc40c5806

Subscribe to this mod's changes

pr-reviewer is an agent published in the GitHub repository theam/facility (95 stars, last pushed 4d ago), licensed Apache-2.0. It adds 18 tokens to every session and 701 once invoked, about $0.0001 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-09-05.

Related

pr-reviewer compared with agents from other repositories

pr-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pr-reviewertheam/facilityAgent954d agoApache-2.0A18Claude Code
component-improverdavila7/claude-code-templatesAgent35ktodayMITA39Claude Code
release-validatorrlajous/claude-code-commandsAgent3017d agoMITA25Claude Code
pr-creatoraxiomantic/spellbookAgent136d agoMITA75Claude Code
FlowSubmitNWatchPRjpoley/flowspecAgent491mo agoApache-2.0A30Claude Code
fe-git-operatorsh5623/fe-railAgent1yesterdayMITA83Claude Code
hooks-daemon-branch-reject-reviewerEdmonds-Commerce-Limited/claude-code-hooks-daemonAgent4yesterdayMITA71Claude Code