pr-review

pr-review is a skill for Claude Code, Codex from yorrick/agent-skills. It costs 125 tokens per session (4,038 once invoked), scanned B, original, MIT.

An interactive pull-request review workflow that runs Claude Code, Gemini CLI, and Codex CLI together, combines their findings, and lets you check each one before anything is posted to GitHub.

In plain words
What is it for?
Reviewing code changes, discussing individual issues, approving selected inline comments, and drafting the pull request’s overall review decision.
Why use it?
It reduces duplicate or low-value review comments while keeping you in control of what reaches the pull request.

Skill for Claude CodeCodex

Written for Claude Code and Codex: ${CLAUDE_PLUGIN_ROOT variable, but also runs codex exec. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the pr-review plugin — 1 skill shipped together

Good fit Reviewing code changes, discussing individual issues, approving selected inline comments, and drafting the pull request’s overall review decision.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add yorrick/agent-skills
Claude Code
/plugin install pr-review

Made for: Claude Code, Codex.

Or install pr-review, the plugin that ships this one along with the rest of its 1 skill.

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-review

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yorrick/agent-skills/pr-review"><img src="https://agentmods.dev/badge/skills/yorrick/agent-skills/pr-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,038 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00125 $0.04038
Opus 5 $0.00063 $0.02019
Sonnet 5 $0.00025 $0.00808
Haiku 4.5 $0.00013 $0.00404

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

Security

Grade B, and why

pr-review scanned grade B with 1 finding 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 10d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

find ~/.claude/plugins ~/.codex/plugins ~/.agents -path "*pr-review*" \
pr-review/skills/pr-review/SKILL.md · 358 lines

How it starts

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

Multi-Provider Interactive PR Review

Run three AI code reviewers in parallel on a PR, synthesize their findings, then interactively vet each issue before posting anything to GitHub.

The key principle: nothing gets posted to the PR until you've reviewed and approved it. You stay in control of every comment.

How It Works

  1. Gather — build prompts from PR metadata (deterministic script)
  2. Review — run Claude, Gemini, and Codex in parallel (none of them touch the PR)
  3. Synthesize — read all raw reviewer outputs, cluster by root issue, build consensus (LLM)
  4. Vet — walk through each finding interactively, discuss, approve or reject (LLM + user)
  5. Post — submit approved findings as inline file-level comments (deterministic script)
  6. Verdict — draft a PR-level review (approve/request changes/comment), let user edit, then post

Scripts in scripts/ handle deterministic work (prompt building, GitHub posting). The LLM handles semantic work (reading raw outputs, clustering duplicates, synthesizing consensus, interactive discussion).

Step 0: Locate the plugin

CLAUDE_PLUGIN_ROOT is set by Claude Code only — Codex sets no plugin-root variable at all, so it would expand to an empty string. Resolve the root once, then reuse it:

PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT:-}"
[ -f "$PLUGIN_ROOT/scripts/build_prompts.py" ] || PLUGIN_ROOT=$(
  find ~/.claude/plugins ~/.codex/plugins ~/.agents -path "*pr-review*" \
       -name build_prompts.py 2>/dev/null | head -1 | xargs -r dirname | xargs -r dirname
)
echo "$PLUGIN_ROOT"

Step 1: Build Prompts

Run the prompt builder script to fetch PR metadata and create prompt files:

uv run "$PLUGIN_ROOT/scripts/build_prompts.py" <PR_NUMBER> --out-dir /tmp

This outputs JSON with paths to per-provider prompts:

{
  "pr_number": 365,
  "pr_title": "MEWS Integration",
  "pr_url": "https://github.com/owner/repo/pull/365",
  "repo": "owner/repo",
  "commit_sha": "abc123...",
  "review_prompt_claude": "/tmp/pr-review-prompt-claude-365.md",
  "review_prompt_gemini": "/tmp/pr-review-prompt-gemini-365.md",
  "review_prompt_codex": "/tmp/pr-review-prompt-codex-365.md",
  "security_prompt_claude": "/tmp/pr-security-prompt-claude-365.md",
  "security_prompt_gemini": "/tmp/pr-security-prompt-gemini-365.md",
  "security_prompt_codex": "/tmp/pr-security-prompt-codex-365.md"
}

Read the full file on GitHub · 358 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago First seen · 358 lines · 125 tokens per session scan B 7eeee7c18f7d

Subscribe to this mod's changes

pr-review is a skill published in the GitHub repository yorrick/agent-skills (10 stars, last pushed 6d ago), licensed MIT. It adds 125 tokens to every session and 4,038 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.