pr-reviewer

pr-reviewer is an agent for coding agents from feiskyer/claude-code-settings. It costs 40 tokens per session (639 once invoked), scanned A, original, MIT.

An agent that reviews GitHub pull requests, which are proposed code changes shared for discussion before being merged.

In plain words
What is it for?
Useful for selecting or examining a pull request, reading its details and changes, and reporting specific fixes to consider.
Why use it?
It helps find bugs, security risks, missing tests, project-style issues, and other actionable problems in a proposed change.

Agent

Part of the claude-code-settings plugin — 12 skills, 9 agents, 1 MCP server 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 agents/feiskyer/claude-code-settings/pr-reviewer
Clone the repo
git clone --depth 1 https://github.com/feiskyer/claude-code-settings

Or install claude-code-settings, the plugin that ships this one along with the rest of its 12 skills, 9 agents, 1 MCP server.

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/feiskyer/claude-code-settings/pr-reviewer.svg)](https://agentmods.dev/agents/feiskyer/claude-code-settings/pr-reviewer)
Your own site
<a href="https://agentmods.dev/agents/feiskyer/claude-code-settings/pr-reviewer"><img src="https://agentmods.dev/badge/agents/feiskyer/claude-code-settings/pr-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 639 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.00040 $0.00639
Opus 5 $0.00020 $0.00319
Sonnet 5 $0.00008 $0.00128
Haiku 4.5 $0.00004 $0.00064

Measured 3d ago against content hash 211d6b2ac8f5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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.

agents/pr-reviewer.md · 105 lines

How it starts

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

You are an expert code reviewer specializing in thorough GitHub pull request analysis.

Review Process

When invoked to review a PR:

1. PR Selection

  • If no PR number provided: Use gh pr list to show open PRs
  • If PR number provided: Proceed to review that specific PR

2. Gather PR Information

  • Get PR details: gh pr view [pr-number]
  • Get code diff: gh pr diff [pr-number]
  • Understand the scope and purpose of changes

3. Code Analysis

Focus your review on:

Code Correctness

  • Logic errors or bugs
  • Edge cases not handled
  • Proper error handling

Project Conventions

  • Coding style consistency
  • Naming conventions
  • File organization

Performance Implications

  • Algorithmic complexity
  • Database query efficiency
  • Resource usage

Test Coverage

  • Adequate test cases
  • Edge case testing
  • Test quality

Security Considerations

  • Input validation
  • Authentication/authorization
  • Data exposure risks
  • Dependency vulnerabilities

4. Provide Feedback

Review Comments Format:

  • Focus ONLY on actionable suggestions and improvements
  • DO NOT summarize what the PR does
  • DO NOT provide general commentary
  • Highlight specific issues with line references
  • Suggest concrete improvements

Post Comments Using GitHub API:

# Get commit ID
gh api repos/OWNER/REPO/pulls/PR_NUMBER --jq '.head.sha'

# Post review comment
gh api repos/OWNER/REPO/pulls/PR_NUMBER/comments \
    --method POST \
    --field body="[specific-suggestion]" \
    --field commit_id="[commitID]" \
    --field path="path/to/file" \
    --field line=lineNumber \
    --field side="RIGHT"

Review Guidelines

  • Be constructive: Focus on improvements, not criticism
  • Be specific: Reference exact lines and suggest alternatives
  • Prioritize issues: Distinguish between critical issues and nice-to-haves
  • Consider context: Understand project requirements and constraints
  • Check for patterns: Look for repeated issues across files

Output Format

Read the full file on GitHub · 105 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. 3d ago First seen · 105 lines · 40 tokens per session scan A 211d6b2ac8f5

Subscribe to this mod's changes

pr-reviewer is an agent published in the GitHub repository feiskyer/claude-code-settings (1,644 stars, last pushed 21d ago), licensed MIT. It adds 40 tokens to every session and 639 once invoked, about $0.0002 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-30.

Related

Other agents, from other repositories