review-pr

review-pr is a command for Claude Code from saski/arnesto. It costs 0 tokens per session (3,535 once invoked), scanned A, original, Unlicense.

An interactive pull-request review workflow for examining proposed code changes in an editor. It checks out the pull request, analyzes the differences, summarizes them, and supports questions, comments, and optional fixes.

In plain words
What is it for?
Reviewing pull requests, walking through changed files, asking questions about the implementation, posting GitHub comments, and creating optional fix sub-pull requests.
Why use it?
It gives reviewers a guided way to understand a change without manually piecing together its files, description, and history. It also keeps review notes and can send line-specific feedback to GitHub.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: installed under .agents/ (shared by several agents).

Good fit Reviewing pull requests, walking through changed files, asking questions about the implementation, posting GitHub comments, and creating optional fix sub-pull requests.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/saski/arnesto/review-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.

Clone the repo
git clone --depth 1 https://github.com/saski/arnesto

Made for: Claude Code.

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 review-pr

README.md
[![agentmods](https://agentmods.dev/badge/commands/saski/arnesto/review-pr/github.svg)](https://agentmods.dev/commands/saski/arnesto/review-pr)
Your own site
<a href="https://agentmods.dev/commands/saski/arnesto/review-pr"><img src="https://agentmods.dev/badge/commands/saski/arnesto/review-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 review-pr

Your own site · 80×15
<a href="https://agentmods.dev/commands/saski/arnesto/review-pr"><img src="https://agentmods.dev/badge/commands/saski/arnesto/review-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,535 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.
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.00000 $0.03535
Opus 5.5 $0.00000 $0.01414
Sonnet 5.5 $0.00000 $0.00707
Haiku 4.5 $0.00000 $0.00353

Measured 27d ago against content hash 5de51405a363, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

review-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 27d 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.

.agents/commands/review-pr.md · 507 lines

How it starts

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

Review PR

Command: /review-pr

Provides an interactive, AI-assisted code review experience that helps reviewers understand changes, ask questions, provide feedback, and optionally implement fixes directly in the IDE.

What This Command Does

This command orchestrates a comprehensive PR review workflow:

  1. Checks out the PR branch locally
  2. Analyzes all changes in the PR
  3. Reads the PR review document (if available)
  4. Summarizes changes at a high level
  5. Offers post-summary options including file-by-file walkthrough
  6. Allows questions and comments as you go
  7. Posts line-specific comments via GitHub API
  8. Enables direct fixes with optional sub-PRs
  9. Tracks review time for metrics

Workflow Steps

Phase 0: Initialize Review

- Ask for PR number or URL
- Record review start timestamp
- Create review tracking: `.pr-review-metrics.json`
- Fetch PR details using gh CLI
- Checkout PR branch
- Pull latest changes

Phase 1: Analysis & Summary

- Identify all changed files using git diff
- Read PR_REVIEW_DOC.md if it exists (or similar PR description document)
- Analyze complexity of changes
- Generate high-level summary:
  - What changed and why
  - Key files modified
  - Complexity concerns
  - Test coverage status
  - Blocking issues flagged by submitter
- Present summary to reviewer

Phase 2: Post-Summary Options

After presenting the summary, offer these options:

=== Review Options ===

How would you like to proceed?

1. **File-by-file walkthrough** - See each file's diff one at a time with "next" navigation
2. **Show all diffs at once** - Display all changes in one view
3. **Jump to specific file** - Go directly to a file of interest
4. **Ask questions first** - Discuss the changes before diving in
5. **Post a general comment** - Add a PR-level comment
6. **Review in tuicr** - Inspect and annotate the PR in a local terminal, if installed

Choose option (1/2/3/4/5/6):

For option 6, give the reviewer tuicr pr <PR-URL> to run from the repository root. An explicit URL also works when the Git remote uses a custom SSH host alias. When they finish, accept the review text copied with y, or find the saved session with tuicr review list --repo . and read its comments with tuicr review comments --session <slug> --repo .. Attribute those comments to the reviewer and summarize them before using the existing comment-posting steps. Opening or reading a tuicr session does not publish a GitHub review; post only when the reviewer asks to submit the prepared feedback.

Read the full file on GitHub · 507 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. 27d ago Changed · +10 lines 5de51405a363
  2. 1mo ago First seen · 497 lines · 0 tokens per session scan A 58aa47105fc8

Subscribe to this mod's changes

review-pr is a command published in the GitHub repository saski/arnesto (6 stars, last pushed 2d ago), licensed Unlicense. It costs nothing until one of its globs matches a file; then it loads 3,535 tokens. 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.