pr-reviewer

pr-reviewer is an agent for Claude Code from feiskyer/claude-code-settings. It costs 40 tokens per session (644 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 for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the claude-code-settings plugin — 12 skills, 9 agents, 1 MCP server shipped together

Good fit Useful for selecting or examining a pull request, reading its details and changes, and reporting specific fixes to consider.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/feiskyer/claude-code-settings/pr-reviewer
About the project

Claude Code Skills & Agents is a collection of reusable skills, sub-agents, and configuration templates that extend Claude Code with workflows such as research, image generation, translation, and GitHub automation. It is for Claude Code users who want to install these capabilities individually or as a marketplace plugin. The catalogue entries are components from this collection.

feiskyer/claude-code-settings · 1,662 stars · on GitHub · feisky.xyz

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/feiskyer/claude-code-settings

Made for: Claude Code.

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/github.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/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/feiskyer/claude-code-settings/pr-reviewer"><img src="https://agentmods.dev/badge/agents/feiskyer/claude-code-settings/pr-reviewer.svg" alt="Reviewed on agentmods" width="80" 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 644 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.00040 $0.00644
Opus 5.5 $0.00016 $0.00258
Sonnet 5.5 $0.00008 $0.00129
Haiku 4.5 $0.00004 $0.00064

Measured 20d ago against content hash 98a48b0c80f5, 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 20d 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 · 103 lines

How it starts

The opening of the file, as written. The whole thing — 103 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:

  • Every comment is actionable: a specific issue plus a concrete fix. The author already knows what the PR does, so skip summaries and 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

Read the full file on GitHub · 103 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. 20d ago Changed · -2 lines 98a48b0c80f5
  2. 1mo 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,662 stars, last pushed 21d ago), licensed MIT. It adds 40 tokens to every session and 644 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-30.