Agent skill

Review PR

by areal-project in areal-project/AReaL

Read-only pull request review workflow with risk analysis, targeted checklists, and Codex subagent consultation.

Apache-2.0Auto-check passedDevelopment

Install Review PR

skills CLI
$ npx skills add areal-project/AReaL --skill review-pr -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install areal-project/AReaL review-pr --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/areal-project/AReaL.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/review-pr .claude/skills/review-pr && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
review-pr
GitHub stars
5.8k
Token cost
~704 tokens
SKILL.md length
327 words
Files
5 (incl. references)
Skills in repo
11
Repo updated
First seen
Licence
Apache-2.0

At a glance

Read-only pull request review workflow with risk analysis, targeted checklists, and Codex subagent consultation.

  • Works in 5 steps: Resolve PR context → Change analysis → Review planning → …
  • Tasks that involve Pull requests
  • SKILL.md covers Inputs, Hard Rules, Reference Files and Workflow, plus 2 more sections
  • Runs Python scripts from its folder; calls gh

What it does

Review PR is an agent skill from areal-project/AReaL. Read-only pull request review workflow with risk analysis, targeted checklists, and Codex subagent consultation.

Its SKILL.md is about 700 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `MIGRATION.md`, `references/review-pr-domains-and-signals.md` and `references/review-pr-templates.md`).

It sits in Development, covering Pull requests and Subagents. The repository describes itself as: The RL Bridge for LLM-based Agent Applications. Made Simple & Flexible. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Pull requests
  • Tasks that involve Subagents

Example prompts

  • “/review-pr”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Resolve PR context
  2. Change analysis
  3. Review planning
  4. Expert consultation
  5. Final review

What it can do on your machine

Read from SKILL.md and the folder at commit 298412a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Review PR loads about 704 tokens when it runs, and up to ~9.6k if it reads all its reference files. Until then it costs about 31 tokens; SKILL.md has 327 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~31
When it runs · the whole SKILL.md, loaded when a task matches
~704
With references · SKILL.md plus every file in references/, read only if the agent opens them
~9.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from areal-project/AReaL at commit 298412a, republished under its Apache-2.0 licence (© areal-project). 327 words, ~704 tokens.

Download SKILL.mdSave it as .claude/skills/review-pr/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
review-pr
description
Read-only pull request review workflow with risk analysis, targeted checklists, and Codex subagent consultation.

Review Pull Request

Use this skill when the user asks for a PR review of the current branch or a specific PR.

Inputs

  • Optional PR number
  • Optional --quick to stop after the change analysis phase

Hard Rules

  • Stay read-only.
  • Do not edit files, commit, push, rebase, or change GitHub state.
  • Do not run build, install, or test commands that mutate the environment.
  • Use gh for PR metadata and git diff retrieval.

Reference Files

  • references/review-pr-domains-and-signals.md
  • references/review-pr-templates.md

Workflow

Phase 1: Resolve PR context
  1. Use gh pr view to fetch PR title, body, state, draft status, and changed files.
  2. If no PR exists, stop and report that clearly.
  3. If the PR is closed, stop.
  4. Record the branch name and changed file list.
Phase 2: Change analysis
  1. Classify changed files using references/review-pr-domains-and-signals.md.
  2. Determine the highest overall risk level: CRITICAL, HIGH, MEDIUM, or LOW.
  3. Build a CHANGE_ANALYSIS_REPORT that lists:
    • detected domains/signals
    • risk level
    • affected files
    • related frameworks
    • likely failure modes

If --quick is set, return the change analysis report and stop here.

Phase 3: Review planning
  1. Select the smallest useful set of review passes from references/review-pr-templates.md.
  2. Split by risk area, not by file count.
  3. Always include at least one general logic pass.
Phase 4: Expert consultation

Consult the matching Codex subagents registered in .codex/config.toml when relevant:

  • archon-expert
  • fsdp-expert
  • megatron-expert
  • algorithm-expert
  • launcher-expert

If the Codex runtime supports parallel subagent execution, run independent review passes in parallel. Otherwise, execute them serially.

Phase 5: Final review

Produce findings first, ordered by severity:

  1. CRITICAL
  2. HIGH
  3. MEDIUM
  4. LOW

For every finding, include:

  • file path
  • line number when available
  • why it is a bug, regression, or risk
  • concrete fix direction

What to Ignore

  • Pure style nits with no correctness impact
  • Issues outside the changed scope unless the PR makes them worse
  • Failures that standard linters or formatters would already catch
  • Speculative concerns with no concrete trigger in the diff

Output Shape

Use this structure:

markdown
CHANGE_ANALYSIS_REPORT:
- detected_domains: [...]
- detected_signals: [...]
- risk_level: ...
- affected_files: [...]
- related_frameworks: [...]
- identified_risks: [...]

Findings
1. [severity] Title — path:line
   - Problem: ...
   - Fix: ...

Open Questions
- ...

Residual Risk
- ...

© areal-project, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (references) in .agents/skills/review-pr of areal-project/AReaL.

  • SKILL.md
  • MIGRATION.md
  • references/review-pr-domains-and-signals.md
  • references/review-pr-templates.md
  • sync_review_pr_refs.py

Open the folder on GitHubat commit 298412a

Compare with similar skills

Review PR next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Review PR compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Review PR this skillareal-project/AReaL5.8k—~704Automated safety check: PassApache-2.0
GitHub Review Iterationprisma/orm48k—~2.2kAutomated safety check: PassApache-2.0
Cherry Studio PR ReviewCherryHQ/cherry-studio53k—~3.9kAutomated safety check: PassAGPL-3.0
PR Cyclejaemk/cached2.1k—~4.8kAutomated safety check: NotesMIT
PR Reviewjaemk/self_update961—~1.5kAutomated safety check: NotesMIT
PR Reviewjaemk/cached2.1k—~2.5kAutomated safety check: NotesMIT

Similar skills

  • Official

    Runs a loop on a GitHub pull request: fetch review state, triage comments into actions, implement them and resolve threads, repeating until nothing actionable is left.

    48k GitHub stars~2.2k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Cherry Studio PR Review

    CherryHQ/cherry-studio

    Reviews Cherry Studio branches, pull requests, commits, files and docs against the project's own architecture, naming, API-boundary and UI rules, report-only by default.

    53k GitHub stars~3.9k tokensUpdated today
    DevelopmentAuto-check passed
  • PR Cycle

    jaemk/cached

    PR review-and-update cycle — the orchestrator that takes a PR from review to resolved.

    2.1k GitHub stars~4.8k tokensUpdated 9 days ago
    DevelopmentAuto-check: notes
  • PR Review

    jaemk/self_update

    Targeted, read-only review of a PR or checked-out branch. An agent skill from jaemk/self_update.

    961 GitHub stars~1.5k tokensUpdated 1 mo ago
    DevelopmentAuto-check: notes
  • PR Review

    jaemk/cached

    Targeted, read-only review of a PR or checked-out branch. An agent skill from jaemk/cached.

    2.1k GitHub stars~2.5k tokensUpdated 9 days ago
    DevelopmentAuto-check: notes

More from areal-project/AReaL

All 11 skills in this repo
  • Add Archon Model

    areal-project/AReaL

    Guide for adding a new model to the Archon engine. An agent skill from areal-project/AReaL.

    5.8k GitHub stars~4.9k tokensUpdated today
    Auto-check passed
  • Add Dataset

    areal-project/AReaL

    Guide for adding a new dataset loader to AReaL. An agent skill from areal-project/AReaL.

    5.8k GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Add Reward

    areal-project/AReaL

    Guide for adding a new reward function to AReaL. An agent skill from areal-project/AReaL.

    5.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Add Unit Tests

    areal-project/AReaL

    Guide for adding unit tests to AReaL. An agent skill from areal-project/AReaL.

    5.8k GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Add Workflow

    areal-project/AReaL

    Guide for adding a new RolloutWorkflow to AReaL. An agent skill from areal-project/AReaL.

    5.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Debug Distributed

    areal-project/AReaL

    Guide for debugging distributed training issues in AReaL. An agent skill from areal-project/AReaL.

    5.8k GitHub stars~1.6k tokensUpdated today
    Auto-check passed

Categories

Questions about Review PR

What does Review PR do?

Read-only pull request review workflow with risk analysis, targeted checklists, and Codex subagent consultation. Review PR is an agent skill from areal-project/AReaL. Read-only pull request review workflow with risk analysis, targeted checklists, and Codex subagent consultation.

When should I use Review PR?

Review PR fits situations like: tasks that involve Pull requests; tasks that involve Subagents.

How do I install Review PR in Claude Code?

Run `npx skills add areal-project/AReaL --skill review-pr -a claude-code`. Or copy the skill folder (.agents/skills/review-pr in areal-project/AReaL) into .claude/skills/review-pr in your project. Claude Code loads it when a task matches its description.

How do I install Review PR in Codex?

Run `npx skills add areal-project/AReaL --skill review-pr -a codex`. Or copy the skill folder (.agents/skills/review-pr in areal-project/AReaL) into .agents/skills/review-pr in your project. Codex loads it when a task matches its description.

Can I use Review PR in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add areal-project/AReaL --skill review-pr -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/review-pr, .gemini/skills/review-pr, .github/skills/review-pr and .opencode/skills/review-pr in your project.

What does Review PR need to run?

Going by SKILL.md and its folder, Review PR needs Python for the scripts in its folder and the command-line tools its instructions call (gh). Our summary lists: Python 3.

Does Review PR access the network?

SKILL.md contains no URLs. Its commands use gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Review PR safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Review PR use?

Review PR is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Review PR use?

About 704 tokens (SKILL.md is roughly 2.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 8.9k tokens, read only when the agent opens those files.

What are the alternatives to Review PR?

Skills that share tags, products or a category with Review PR: GitHub Review Iteration (prisma/orm, 48k stars), Cherry Studio PR Review (CherryHQ/cherry-studio, 53k stars), PR Cycle (jaemk/cached, 2.1k stars) and PR Review (jaemk/self_update, 961 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Review PR?

areal-project (a GitHub organization) maintains it in areal-project/AReaL, which has 5,824 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 10, 2026.

Source: areal-project/AReaL on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.