pr

pr is a skill for Claude Code 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 Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; names the AskUserQuestion tool.

Part of the review plugin — 3 skills shipped together

Good fit 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.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/umputun/cc-thingz/pr
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 umputun/cc-thingz --skill pr
Clone the repo
git clone --depth 1 https://github.com/umputun/cc-thingz

Made for: Claude Code.

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/github.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/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/umputun/cc-thingz/pr"><img src="https://agentmods.dev/badge/skills/umputun/cc-thingz/pr.svg" alt="Reviewed on agentmods" width="80" 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. 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: 2 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 515
    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.
  • medium Excessive Agency · line 443
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00051 $0.05270
Opus 5.5 $0.00020 $0.02108
Sonnet 5.5 $0.00010 $0.01054
Haiku 4.5 $0.00005 $0.00527

Measured 1mo ago against content hash 6a6c424473bd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 (487 stars, last pushed 2d ago), licensed MIT. It adds 51 tokens to every session and 5,270 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.