pr-review

pr-review is a skill for Claude Code from ArcBlock/agent-skills. It costs 66 tokens per session (1,803 once invoked), scanned A, original, MIT.

An evidence-based review process for one open GitHub pull request, which is a proposed code change awaiting review. It compares the request with the actual code and tests, runs verification, checks related pull requests, and reports whether it is ready to merge.

In plain words
What is it for?
Reviewing one pull request, validating its linked issue, running pre-merge checks, finding duplicate or conflicting work, and posting a documented verdict.
Why use it?
It helps catch unsupported claims, failing checks, root causes, and conflicts before a change is merged.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bun scripts/gh-rest/gh.ts pr view <n> --json title,body,author,headRefName,baseRefName,headRefOid,mergeable,files,labels.

Part of the agentloop plugin — 24 skills shipped together

Good fit Reviewing one pull request, validating its linked issue, running pre-merge checks, finding duplicate or conflicting work, and posting a documented verdict.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/ArcBlock/agent-skills
agentmods
npx agentmods add skills/arcblock/agent-skills/pr-review

Made for: Claude Code.

Or install agentloop, the plugin that ships this one along with the rest of its 24 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/arcblock/agent-skills/pr-review/github.svg)](https://agentmods.dev/skills/arcblock/agent-skills/pr-review)
Your own site
<a href="https://agentmods.dev/skills/arcblock/agent-skills/pr-review"><img src="https://agentmods.dev/badge/skills/arcblock/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/arcblock/agent-skills/pr-review"><img src="https://agentmods.dev/badge/skills/arcblock/agent-skills/pr-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,803 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 Prompt Injection · line 275
    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 444
    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.
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.00066 $0.01803
Opus 5.5 $0.00026 $0.00721
Sonnet 5.5 $0.00013 $0.00361
Haiku 4.5 $0.00007 $0.00180

Measured 21d ago against content hash 032dd86a7ab6, 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 21d 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/agentloop/skills/pr-review/SKILL.md · 113 lines

How it starts

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

pr-review — one PR, reviewed against the real code

Read .claude/repo-profile.md first (repo_slug, default_branch, plugin_root, package_manager, test_runner, agent_identity_script, comment_language). Output language = comment_language; identifiers, paths, commands and test output stay verbatim. Lead with a one-line verdict, then the minimum evidence (UI: screenshots); long logs go in <details>.

/agentloop:pr-review <pr-number-or-url> [--post]

Default is read-only. --post writes one comment and may adjust labels; it never merges, never closes, never pushes to someone else's branch. Batch + dedup-close + merge is pr-sweep. No gh (cloud routine) → mcp__github__* via ToolSearch.

This is the one clean-context review an agent PR gets. Run it in a context that did not write the code. Auth/authz, exec authorization, secrets/vault or sandbox boundaries → two reviewers, correctness + security; the security one reproduces the exploit (or the claimed security property) against the code. A crashed or silent reviewer is uncertain, never a pass.

Verdicts

verdict meaning
MERGE claims verified, tests of the changed package pass, no open P0–P2, no unresolved conflict
COMMENT mergeable with notes (a missing edge test), or the keeper of a duplicate pair
SUPERSEDE the weaker side of a duplicate / contradicting pair → points at the keeper
BLOCK a real defect (P0–P2), failing tests caused by this PR, or an unresolved conflict
CLOSE stale, already superseded by merged work, no longer needed

Severity: P0–P2 block and are fixed in one batch by the author; P3 → noted, not filed (MERGE + notes, listed for the PR body, never an issue, never a block). Only findings in the PR's own diff (merge-base..head) count (issue closure).

Steps

0. Read the PR — all three surfaces, each with an output even when empty:

Read the full file on GitHub · 113 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. 21d ago Changed · +2 lines 032dd86a7ab6
  2. 29d ago Changed · +8 lines 8602ee5e2a5d
  3. 1mo ago Changed · -138 lines · +2 tokens per session b56f5f912d53
  4. 2mo ago Changed · -346 lines · -85 tokens per session a0e77cda1182
  5. 2mo ago Changed · +4 lines 851b70c7f4d7
  6. 2mo ago Changed · +25 lines aa9e9d0d8e2e
  7. 2mo ago Changed · +63 lines 8b4a9946f599
  8. 2mo ago Changed · +1 lines deb850dfe38c
  9. 3mo ago First seen · 494 lines · 149 tokens per session scan A a264f7d1b6d9

Subscribe to this mod's changes

pr-review is a skill published in the GitHub repository ArcBlock/agent-skills (5 stars, last pushed 22d ago), licensed MIT. It adds 66 tokens to every session and 1,803 once invoked, about $0.0003 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-31.

Related

pr-review compared with skills from other repositories

pr-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pr-reviewArcBlock/agent-skillsSkill522d agoMITA66Claude Code
autoreviewopenclaw/clawhubSkill9.6ktodayMITA17Claude Code, Codex
omh-code-reviewrlaope/oh-my-hermesSkill6.2ktodayMITA18Claude Code
agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skillsSkill2.2k10d agoMITA115Claude Code, Codex
asplos-writing-stylebrycewang-stanford/Awesome-Journal-SkillsSkill1.5k3d agoMITA65Claude Code
revdiff-planumputun/revdiffSkill974todayMITA84Claude Code
re0-mergeLilMGenius/paperthinSkill1.5ktodayMITA51Claude Code, Codex