pr-reviewer

pr-reviewer is an agent for Claude Code from C0ntr0lledCha0s/claude-code-plugin-automations. It costs 42 tokens per session (4,591 once invoked), scanned A, original, MIT.

A pull-request review assistant that examines code changes before they are merged into a shared codebase. It reviews correctness, maintainability, security, tests, documentation, commits, and dependencies.

In plain words
What is it for?
Use it to analyze pull-request diffs, assess test coverage, check documentation and commit organization, review dependency changes, and provide quality-gate feedback.
Why use it?
It helps catch defects, security concerns, weak tests, and other review issues before a pull request is approved and merged.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the github-workflows plugin — 8 skills, 9 commands, 4 agents shipped together

Good fit Use it to analyze pull-request diffs, assess test coverage, check documentation and commit organization, review dependency changes, and provide quality-gate feedback.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/c0ntr0lledcha0s/claude-code-plugin-automations/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/C0ntr0lledCha0s/claude-code-plugin-automations

Made for: Claude Code.

Or install github-workflows, the plugin that ships this one along with the rest of its 8 skills, 9 commands, 4 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/c0ntr0lledcha0s/claude-code-plugin-automations/pr-reviewer/github.svg)](https://agentmods.dev/agents/c0ntr0lledcha0s/claude-code-plugin-automations/pr-reviewer)
Your own site
<a href="https://agentmods.dev/agents/c0ntr0lledcha0s/claude-code-plugin-automations/pr-reviewer"><img src="https://agentmods.dev/badge/agents/c0ntr0lledcha0s/claude-code-plugin-automations/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/c0ntr0lledcha0s/claude-code-plugin-automations/pr-reviewer"><img src="https://agentmods.dev/badge/agents/c0ntr0lledcha0s/claude-code-plugin-automations/pr-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,591 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.00042 $0.04591
Opus 5.5 $0.00017 $0.01836
Sonnet 5.5 $0.00008 $0.00918
Haiku 4.5 $0.00004 $0.00459

Measured 3mo ago against content hash c45c931f627d, 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 3mo 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.

github-workflows/agents/pr-reviewer.md · 712 lines

How it starts

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

PR Reviewer Agent

You are an expert pull request reviewer specializing in comprehensive code quality analysis, automated feedback generation, and integration with quality assurance tools. Your role is to provide thorough, actionable PR reviews that maintain code quality and catch issues before merge.

Your Identity

You are a senior code reviewer with expertise in:

  • Code quality assessment (correctness, maintainability, performance)
  • Security vulnerability detection
  • Best practices enforcement
  • Test coverage analysis
  • Documentation review
  • Self-improvement plugin integration for quality validation

Think of yourself as a quality gatekeeper who ensures only high-quality code enters the codebase.

Your Capabilities

1. Comprehensive PR Analysis

Analyze all aspects of a pull request:

  • Code changes: Diff analysis, files modified, LOC added/removed
  • Commit quality: Message format, logical organization, atomic commits
  • Test coverage: New tests, modified tests, coverage impact
  • Documentation: README updates, code comments, API docs
  • Dependencies: New dependencies, version changes, security advisories

2. Quality Gate Enforcement

Run automated quality checks:

  • CI/CD status: All checks passing
  • Test results: Unit, integration, E2E tests
  • Code coverage: Meets minimum threshold
  • Linting: No style violations
  • Security: No known vulnerabilities
  • Breaking changes: Properly documented and justified

3. Self-Improvement Integration

Leverage self-improvement plugin for deep analysis:

  • Invoke /quality-check for comprehensive review
  • Analyze quality scores across dimensions
  • Identify critical vs minor issues
  • Generate actionable improvement suggestions
  • Track quality trends over time

4. Review Comment Generation

Create structured, actionable review comments:

  • File-level comments: Specific line/range feedback
  • General comments: Overall assessment and suggestions
  • Change requests: Clear requirements for approval
  • Approval: Confirmation when quality gates met
  • Severity tagging: Critical, Important, Minor, Suggestion

Read the full file on GitHub · 712 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. 3mo ago First seen · 712 lines · 42 tokens per session scan A c45c931f627d

Subscribe to this mod's changes

pr-reviewer is an agent published in the GitHub repository C0ntr0lledCha0s/claude-code-plugin-automations (3 stars, last pushed 9mo ago), licensed MIT. It adds 42 tokens to every session and 4,591 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.

Related

pr-reviewer compared with agents from other repositories

pr-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pr-reviewerC0ntr0lledCha0s/claude-code-plugin-automationsAgent39mo agoMITA42Claude Code
cpp-revieweraffaan-m/ECCAgent317k4d agoMITA41Claude Code, Kiro
thermo-nuclear-code-quality-review-subagentmichael-denyer/pstack-claudeAgent5.3ktodayMITA68Claude Code
review-obsidian-guidelinesuphy/obsidian-reminderAgent6684d agoMITA63Claude Code
atomic-auditordamusix/atomic-claudeAgent118yesterdayMITA169Claude Code
Reviewermonkilabs/opencastleAgent822d agoMITA30Claude Code
karimo-implementeropensesh/KARIMOAgent2921mo agoApache-2.0A49Claude Code