pr-review

pr-review is a skill for Claude Code from lexfrei/ccc. It costs 205 tokens per session (2,647 once invoked), scanned A, original, BSD-3-Clause.

A workflow for drafting a GitHub pull-request review with comments attached to specific lines of code. It checks whether the change is ready to review before analysing it.

In plain words
What is it for?
It is for checking pull requests for defects, design and scope problems, missing documentation updates, and test coverage, then preparing inline review comments.
Why use it?
It provides a structured review while keeping the result as a draft unless you explicitly approve publishing it to GitHub.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the review-toolkit plugin — 3 skills shipped together

Good fit It is for checking pull requests for defects, design and scope problems, missing documentation updates, and test coverage, then preparing inline review comments.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lexfrei/ccc/pr-review
View source ↗ lexfrei/ccc
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.

Any agent
npx skills add lexfrei/ccc --skill pr-review
Clone the repo
git clone --depth 1 https://github.com/lexfrei/ccc

Made for: Claude Code.

Or install review-toolkit, the plugin that ships this one along with the rest of its 3 skills.

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/lexfrei/ccc/pr-review/github.svg)](https://agentmods.dev/skills/lexfrei/ccc/pr-review)
Your own site
<a href="https://agentmods.dev/skills/lexfrei/ccc/pr-review"><img src="https://agentmods.dev/badge/skills/lexfrei/ccc/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/lexfrei/ccc/pr-review"><img src="https://agentmods.dev/badge/skills/lexfrei/ccc/pr-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 205 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,647 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 41
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • high Prompt Injection · line 88
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • high Prompt Injection · line 397
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • high Data Exfiltration · line 466
    Code or instructions that leak agent conversation context to external services, potentially exposing sensitive user interactions.
    Fix: Remove any code that sends prompts, responses, or session data externally. Preserve user privacy; never exfiltrate conversation content.
How audits are shown
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.00205 $0.02647
Opus 5.5 $0.00082 $0.01059
Sonnet 5.5 $0.00041 $0.00529
Haiku 4.5 $0.00020 $0.00265

Measured today against content hash 080158b5a97b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pr-review 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 today.

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.

skills/review-toolkit/skills/pr-review/SKILL.md · 71 lines

How it starts

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

Three roles: the user invokes this skill and approves any publication; the owner decides whether the change belongs in the project, found per references/preparation.md; the caller receives the result in draft mode, and is the user or the agent that invoked the skill.

Default mode is draft: the result goes to the caller and nothing is sent to GitHub. --publish allows publication after the user approves the draft. --owner-answer carries the owner's answer to a card; an answer to that card already in the conversation counts the same. The answer stays valid for a later head while that head does not change what the card was about: the own diff is unchanged as the base-merge short path of references/preparation.md checks it, or the card's sign still fires on the same lines; otherwise the card is raised again.

Step 0: Preparation

Follow references/preparation.md. A gate exit or the short path goes straight to Step 5. Later steps work inside the worktree.

Step 1: Own reading

Input: git diff origin/<base>...<head> and the changed files at head, plus whatever files in the worktree you need to understand what the change does and where it sits. Not yet: the PR title and body, commit messages (git log shows them; do not read it), bot and review comments, linked issues and designs, the project's contributing contract, the cases file. They carry the author's framing, and a judgement formed after them checks the frame instead of the change.

Judge the change as an engineer who will have to maintain this code, not as a checker of correctness. Say doubt when you would not take it as it is into a project you maintain, for one of these reasons: the mechanism sits in the wrong place (another component owns the fact, or the cause could be fixed where it arises); it carries far more machinery than the problem needs; it repairs something this project itself did a step earlier; or it is built on something that is not yet decided or has no consumer. Say sound when it is a proportionate change in a reasonable place; most changes are. Bugs, style, naming and missing tests are not reasons for doubt. Do not soften a doubt because the code is correct and tested, and do not invent one: a wrong doubt costs a maintainer thirty seconds of reading, a wrong sound costs a merge.

Read the full file on GitHub · 71 lines

Files

What ships with it

5 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. today Changed 080158b5a97b
  2. 4d ago Changed 3a498d56ddc7
  3. 7d ago Changed · -525 lines · -42 tokens per session edc1b411b764
  4. 9d ago Changed · +36 lines b439b144c311
  5. 19d ago Changed · +48 lines · -267 tokens per session 660b548d0963
  6. 20d ago Changed · +12 lines · +59 tokens per session 4aeeba0bb48f
  7. 2mo ago Changed · -31 lines fdaafffd9deb
  8. 3mo ago First seen · 531 lines · 455 tokens per session scan A 0b9ab403b405

Subscribe to this mod's changes

pr-review is a skill published in the GitHub repository lexfrei/ccc (12 stars, last pushed today), licensed BSD-3-Clause. It adds 205 tokens to every session and 2,647 once invoked, about $0.0008 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-09-04.

Related

pr-review compared with skills from other repositories

pr-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pr-reviewlexfrei/cccSkill12todayBSD-3-ClauseA205Claude Code
autoreviewopenclaw/clawhubSkill9.6ktodayMITA17Claude Code, Codex
agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skillsSkill2.2k12d agoMITA115Claude Code, Codex
asplos-writing-stylebrycewang-stanford/Awesome-Journal-SkillsSkill1.5kyesterdayMITA65Claude Code
revdiff-planumputun/revdiffSkill977yesterdayMITA84Claude Code
re0-mergeLilMGenius/paperthinSkill1.5ktodayMITA51Claude Code, Codex
explore-unknownsdzhng/skillsSkill1.5k20d agoMITA162Claude Code, Codex