pr-review

pr-review is a skill for Claude Code, Codex from RashadAnsari/myagents. It costs 50 tokens per session (5,126 once invoked), scanned C, original, MIT.

A pull-request review workflow for GitHub, where a pull request is a proposed set of code changes for review before merging.

In plain words
What is it for?
Use it to review a GitHub pull request, run several reviewers, and submit the findings through the GitHub command-line tool.
Why use it?
It helps choose relevant reviewers, check the changes against stored project knowledge, and post selected findings to GitHub.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also agents/openai.yaml present. Also seen: mentions subagents; names the AskUserQuestion tool; mentions AGENTS.md.

Part of the albino plugin — 18 skills, 14 agents, 3 MCP servers shipped together

Good fit Use it to review a GitHub pull request, run several reviewers, and submit the findings through the GitHub command-line tool.

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

Made for: Claude Code, Codex.

Or install albino, the plugin that ships this one along with the rest of its 18 skills, 14 agents, 3 MCP servers.

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/rashadansari/myagents/pr-review/github.svg)](https://agentmods.dev/skills/rashadansari/myagents/pr-review)
Your own site
<a href="https://agentmods.dev/skills/rashadansari/myagents/pr-review"><img src="https://agentmods.dev/badge/skills/rashadansari/myagents/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/rashadansari/myagents/pr-review"><img src="https://agentmods.dev/badge/skills/rashadansari/myagents/pr-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,126 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 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.00050 $0.05126
Opus 5.5 $0.00020 $0.02050
Sonnet 5.5 $0.00010 $0.01025
Haiku 4.5 $0.00005 $0.00513

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

Security

Grade C, and why

pr-review scanned grade C 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 yesterday.

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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

If any command fails, clean up with `rm -rf "$REVIEW_DIR"` and report the error.
plugins/albino/skills/pr-review/SKILL.md · 339 lines

How it starts

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

MANDATORY: Load the humanizer skill (albino:humanizer) now and keep all its rules active for the entire session. Every piece of text you write or post, including comment bodies, the review body, and any output to the user, must pass the humanizer check before it leaves your context.

PR Review

Review the GitHub pull request: $ARGUMENTS

If the line above still shows a placeholder instead of a value, this platform does not pass arguments to skills: take the value from the user's message instead, and treat it as empty when the message gives none. Read every later mention of the placeholder as that value.

Step 1: Validate Input

If $ARGUMENTS is empty or missing, stop immediately and tell the user:

Usage: /pr-review <github-pr-url>
Example: /pr-review https://github.com/owner/repo/pull/123

Parse owner, repo, and number from $ARGUMENTS now (URL format: https://github.com/{owner}/{repo}/pull/{number}). If the URL does not match this format, stop and show the usage message above.

Step 2: Pre-Review Gate

Run both in parallel:

gh pr view "$ARGUMENTS" --json state,isDraft,author --jq '{state: .state, isDraft: .isDraft, author: .author.login}'
gh api repos/{owner}/{repo}/pulls/{number}/reviews --jq '[.[].user.login]'

Stop immediately with a clear message if any condition is true:

  • state is not "OPEN" (PR is closed or merged)
  • isDraft is true
  • author.login ends in [bot] or is one of: dependabot, renovate, snyk-bot, github-actions
  • The authenticated user's login already appears in the reviews list (run gh api user --jq '.login' to get it if needed)

Step 3: Fetch PR Data

Run all three in parallel:

gh pr view "$ARGUMENTS" --json number,title,body,author,baseRefName,headRefName,headRefOid,state,additions,deletions,changedFiles
gh pr view "$ARGUMENTS" --json files --jq '[.files[].path]'
gh pr diff "$ARGUMENTS"

If any command fails, stop and report the error. If not authenticated, suggest gh auth login.

Read the full file on GitHub · 339 lines

Files

What ships with it

1 file 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. yesterday First seen · 339 lines · 50 tokens per session scan C 0df1b81b7bce

Subscribe to this mod's changes

pr-review is a skill published in the GitHub repository RashadAnsari/myagents (6 stars, last pushed today), licensed MIT. It adds 50 tokens to every session and 5,126 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-15.

Related

Other skills, from other repositories