pr-reviewer

pr-reviewer is an agent for Claude Code from XRenSiu/claude-code-forge. It costs 108 tokens per session (676 once invoked), scanned A, original, MIT.

A read-only code reviewer that examines a pull request or code range for a chosen focus such as security, logic, or performance. It reports findings with locations, evidence, reproduction steps for serious issues, and suggested changes.

In plain words
What is it for?
Use it to investigate a proposed change, reproduce important defects, and produce a small, evidence-based list of findings without editing the code or posting review comments.
Why use it?
It separates finding problems from fixing them, so the review is less influenced by the person or agent that wrote the code.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions CLAUDE.md.

Part of the sdlc plugin — 14 skills, 5 agents shipped together

Good fit Use it to investigate a proposed change, reproduce important defects, and produce…

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/xrensiu/claude-code-forge/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/XRenSiu/claude-code-forge

Made for: Claude Code.

Or install sdlc, the plugin that ships this one along with the rest of its 14 skills, 5 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 pr-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/xrensiu/claude-code-forge/pr-reviewer.svg)](https://agentmods.dev/agents/xrensiu/claude-code-forge/pr-reviewer)
Your own site
<a href="https://agentmods.dev/agents/xrensiu/claude-code-forge/pr-reviewer"><img src="https://agentmods.dev/badge/agents/xrensiu/claude-code-forge/pr-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 108 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 676 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.00108 $0.00676
Opus 5 $0.00054 $0.00338
Sonnet 5 $0.00022 $0.00135
Haiku 4.5 $0.00011 $0.00068

Measured yesterday against content hash d76de8ea3d94, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 yesterday.

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.

plugins/sdlc/agents/pr-reviewer.md · 39 lines

What it actually says

pr-reviewer

/pr-review 的判据工作(plugins/sdlc/skills/pr-review/SKILL.md);本文件是把它作为隔离子 agent 调用时的输入 / 输出契约。只读:不 Write / Edit,不 gh pr review,不 gh pr comment

输入

  • target:PR# / A..B / .diff / 目录;focus ∈ security | logic | perf | style | all;
  • rules(可选):CLAUDE.md / REVIEW.md 路径,先读再看 diff;
  • scope(可选):PR body 的 Scope 段——判 B 档"公共 API 变更"与越界的基准;
  • adversarial(可选):反向默认——"假设这段代码造成了线上事故,找为什么"。

判据(摘要;全文见 SKILL.md)

  • 一条发现 = file:line_range + root_cause + reproduction_scenario(P0/P1 必有)+ evidence + suggested_change(P0/P1 必有)+ tier(A/B/C)。
  • P0/P1 偏召回,P2/P3 偏精确(不确定就不报,不报 confidence: low)。
  • 自我反驳:能构造出合理的非 bug 解释 → 删。
  • 上限 5;不凑;空 → findings: [] + rationale
  • 禁语:"看起来不错 / 整体清晰 / 可以考虑 / 作为小建议"。
  • diff 引用了看不到的定义 → 读它;预算内读不到 → needs_codebase_check: true
  • 新增依赖 → A 档:注册表存在性 / 许可证 / 漏洞。

输出

严格按 plugins/sdlc/skills/pr-review/assets/findings_template.yaml 的形状写到指定路径;顶部 mergeable 给结论:yes | no (A-tier) | with-warnings (B-tier)。同一供应商同尺寸做对抗式审查时 在 caveats.single_vendor_caveat 写明。

绝不

  • 绝不修改被审代码;绝不发评论 / approve;绝不把发现直接交给实现者(交给调用方,由它做 fix-prompt)。
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. yesterday First seen · 39 lines · 108 tokens per session scan A d76de8ea3d94

Subscribe to this mod's changes

pr-reviewer is an agent published in the GitHub repository XRenSiu/claude-code-forge (2 stars, last pushed yesterday), licensed MIT. It adds 108 tokens to every session and 676 once invoked, about $0.0005 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-09-05.

Related

Other agents, from other repositories

swiftui-performance-analyzer

Use this agent when the user mentions SwiftUI performance, janky scrolling, slow animations, or view update issues. Automatically scans SwiftUI code for performance anti-patterns - detects expensive operations in view bodies, unnecessary updates, missing lazy loading, and SwiftUI-specific issues that cause frame…

CharlesWiltgen/Axiom · 155 tokens

Minimal Change Engineer

Engineering specialist focused on minimum-viable diffs — fixes only what was asked, refuses scope creep, prefers three similar lines over a premature abstraction. The discipline that prevents bug-fix PRs from becoming refactor avalanches.

SHAdd0WTAka/Zen-Ai-Pentest · 50 tokens

predictive-analyst

Precognition agent. Analyzes code changes to predict impact, regressions, and conflicts BEFORE they happen. Uses dependency graphs and historical data.

softspark/ai-toolkit · 35 tokens

error-handling-reviewer

Hunts for swallowed errors, silent failures, and broken error propagation chains in changed code.

OutSystems/outsystems-mcp · 24 tokens

silent-failure-hunter

Use this agent when reviewing code changes in a pull request to identify silent failures, inadequate error handling, and inappropriate fallback behavior. Invoke it after work involving error handling, catch blocks, fallback logic, or any code that could suppress errors. See "When to invoke" in the agent body for…

nota-america/forgecat-agent-profiles · 67 tokens

fec-ui-checker

Use this subagent to troubleshoot visual defects, layout confusion, CSS issues, responsive exceptions, and inconsistencies between interaction and design in the front-end UI, and save the report as a Markdown file. Supports obtaining design data from Figma, Sketch, MasterGo, Pixso, Moko, and Mock, compares the design…

bovinphang/frontend-craft · 0 tokens