review-prs

review-prs is a command for Claude Code from can1357/oh-my-pi. It costs 0 tokens per session (1,257 once invoked), scanned A, original, MIT.

A command for reviewing several GitHub pull requests (PRs) at once. It checks whether each is ready to merge and prepares isolated work areas for any needed fixes.

In plain words
What is it for?
Use it to select PRs by number, URL, search filters, or age; review them in parallel; rebase branches; and fix or return blocked PRs for human review.
Why use it?
It reduces the manual work of checking many PRs, finding blockers, and setting up safe fixes. Human approval is still required for merging.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions subagents; mentions AGENTS.md.

Good fit Use it to select PRs by number, URL, search filters, or age; review them in parallel; rebase branches; and fix or return blocked PRs for human review.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/can1357/oh-my-pi/review-prs
About the project

Oh My Pi is a coding agent with an integrated development environment, command-line interface, tools, language-server operations, and debugger operations. It is used by developers who want an AI coding assistant that can read and edit projects, work with models from multiple providers, and interact with development tools. The catalogue add-ons extend its agent workflows with skills, commands, agents, plugins, MCP, and instructions.

can1357/oh-my-pi · 30,714 stars · on GitHub · omp.sh

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/can1357/oh-my-pi

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-prs

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/can1357/oh-my-pi/review-prs"><img src="https://agentmods.dev/badge/commands/can1357/oh-my-pi/review-prs.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 1,257 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.01257
Opus 5 $0.00000 $0.00629
Sonnet 5 $0.00000 $0.00251
Haiku 4.5 $0.00000 $0.00126

Measured 13d ago against content hash 03edc7f6df3c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

review-prs 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 13d 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.

.omp/commands/review-prs.md · 129 lines

How it starts

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

Review PRs

Parallel PR triage: decide merge-worthiness, prepare rebased worktrees, fix blockers, return them for human merge.

Arguments

$ARGUMENTS optional:

  • space/comma-separated PR numbers/URLs; or
  • GitHub-search qualifiers (is:open, author:foo, label:bug, draft:false, ...) and/or time window (3d, 2w, 12h).

No PRs or flags: all open PRs opened in last 3 days.

1. Resolve PRs

Parse $ARGUMENTS. Explicit numbers/URLs: use verbatim. Otherwise github op: search_prs; no-args default:

github { op: "search_prs", query: "is:open", since: "3d", limit: 50 }

Pass supplied qualifiers verbatim in query; add is:open unless present. Time window (3d, 2w, 12h, ISO date; see github docs): since. dateField defaults created; set "updated" only on explicit request for recently-touched PRs. Print resolved set before fan-out for scope confirmation.

2. One parallel task subagent/PR

Assign each PR's number, head ref, author, and workflow. Agents isolate; use irc only if a fix on PR A obviously conflicts with PR B.

Required subagent workflow

Read and decide
  1. Read pr://<N> (comments default; ?comments=0 skips) and pr://<N>/diff (changed-file listing). Full unified diff: pr://<N>/diff/all; file slice: pr://<N>/diff/<i>.
  2. Check git log origin/main and gh search prs for an already-landed equivalent.
  3. Decision:
    • slop: AI-generated noise, broken, off-spec, or net-negative. Drop; 1–2-line justification; no checkout.
    • superseded: fixed/merged in main or newer PR. Drop with pointer.
    • worthy: proceed.

Ambiguous: worthy; human decides on a real branch.

Checkout
gh_PR=<NUMBER>
# pr_checkout creates ~/.omp/wt/<encoded-repo>/pr-<N>/ and configures push remote

MUST use github pr_checkout, not raw gh pr checkout: it creates a dedicated worktree wired for later pr_push.

Symlink build artifacts

Before any worktree build/test, from the worktree symlink main-checkout outputs to avoid bun check / cargo build / native-loader recompilation:

Read the full file on GitHub · 129 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. 13d ago First seen · 129 lines · 0 tokens per session scan A 03edc7f6df3c

Subscribe to this mod's changes

review-prs is a command published in the GitHub repository can1357/oh-my-pi (30,714 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,257 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-30.