pr

pr is a skill for Claude Code, Codex from umputun/cc-thingz. It costs 51 tokens per session (5,270 once invoked), scanned A, original, MIT.

A pull-request and GitHub-issue review workflow that examines code changes, architecture, tests, discussion history, and unrelated edits. A pull request is a proposed code change waiting for review before it is merged.

In plain words
What is it for?
Use it to review pull requests or issues, check test coverage and merge status, inspect the diff, identify architectural or unrelated changes, and draft a review comment.
Why use it?
It organises the review work and helps distinguish real problems from scope creep, where a change includes work unrelated to its stated purpose.

Skill for Claude CodeCodex

Part of the review plugin — 3 skills 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 skills/umputun/cc-thingz/pr
Any agent
npx skills add umputun/cc-thingz --skill pr
Clone the repo
git clone --depth 1 https://github.com/umputun/cc-thingz

Made for: Claude Code, Codex.

Or install review, 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

README.md
[![agentmods](https://agentmods.dev/badge/skills/umputun/cc-thingz/pr.svg)](https://agentmods.dev/skills/umputun/cc-thingz/pr)
Your own site
<a href="https://agentmods.dev/skills/umputun/cc-thingz/pr"><img src="https://agentmods.dev/badge/skills/umputun/cc-thingz/pr.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,270 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.00051 $0.05270
Opus 5 $0.00026 $0.02635
Sonnet 5 $0.00010 $0.01054
Haiku 4.5 $0.00005 $0.00527

Measured 5d ago against content hash 6a6c424473bd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pr 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 5d 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.

plugins/review/skills/pr/SKILL.md · 596 lines

How it starts

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

PR Review Skill

Comprehensive pull request review that analyzes code quality, architecture, test coverage, and identifies scope creep (unrelated changes mixed into the PR).

Activation Triggers

  • "review pr 123", "check pr 123", "look at pr 123"
  • "review the pr", "what do you think about this pr"
  • "review draft pr", "check the open pr"
  • "comment on issue 42", "look at issue 42", "review issue 42"

Workflow

1. Fetch PR metadata + discussion history + merge status
1.5. Ask review mode: Full (default) or Quick
--- Full path ---
2. Setup worktree, launch subagent for deep analysis (read files, validate, architecture, scope creep, cleanup)
3. Present condensed findings from subagent, ask to proceed
4. Resolve open questions (if any)
5. Draft review comment
--- Quick path ---
Q1. Read diff inline, summarize what/why/size
Q2. Flag obvious issues from diff
Q3. Draft review comment

Phase 0: Detect PR vs Issue

Determine if the target is a PR or an issue. If a URL is provided, check if it contains /pull/ or /issues/. If just a number, detect type:

gh pr view <number> --json number 2>/dev/null && echo "PR" || echo "ISSUE"
  • PR → proceed with full PR review workflow (Phase 1 onwards)
  • Issue → use the Issue Comment Flow below, skip all PR-specific phases

Issue Comment Flow

For issues, skip worktree/diff/architecture analysis. Focus on understanding the issue and drafting a helpful comment.

  1. Fetch issue details and discussion:
gh issue view <number> --json title,body,author,state,labels,comments,createdAt
  1. Read the full discussion - understand what was reported, what others said, whether there are linked PRs

  2. Investigate the codebase if the issue references specific code, files, or behavior:

    • search for relevant files, read them
    • understand the reported problem in context
  3. Draft a comment addressing the issue - could be: analysis of root cause, a proposed approach, questions for clarification, or acknowledgment with next steps

Read the full file on GitHub · 596 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. 5d ago First seen · 596 lines · 51 tokens per session scan A 6a6c424473bd

Subscribe to this mod's changes

pr is a skill published in the GitHub repository umputun/cc-thingz (466 stars, last pushed 11d ago), licensed MIT. It adds 51 tokens to every session and 5,270 once invoked, about $0.0003 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.