review

review is a skill for Claude Code, Codex from LarryStanley/pi-delegate. It costs 14 tokens per session (1,119 once invoked), scanned A, original, MIT.

A code-review skill that asks pi, a separate coding agent, to inspect your changes and give a second opinion.

In plain words
What is it for?
Use it to review uncommitted changes, a comparison with another Git reference, or selected files and folders.
Why use it?
It can spot issues you missed, while leaving you responsible for checking whether its findings are correct.

Skill for Claude CodeCodex

Part of the pi-delegate plugin — 9 skills, 3 hooks, 1 MCP server shipped together

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.

agentmods
npx agentmods add skills/larrystanley/pi-delegate/review
Any agent
npx skills add LarryStanley/pi-delegate --skill review
Clone the repo
git clone --depth 1 https://github.com/LarryStanley/pi-delegate

Made for: Claude Code, Codex.

Or install pi-delegate, the plugin that ships this one along with the rest of its 9 skills, 3 hooks, 1 MCP server.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/larrystanley/pi-delegate/review.svg)](https://agentmods.dev/skills/larrystanley/pi-delegate/review)
Your own site
<a href="https://agentmods.dev/skills/larrystanley/pi-delegate/review"><img src="https://agentmods.dev/badge/skills/larrystanley/pi-delegate/review.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,119 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00014 $0.01119
Opus 5 $0.00007 $0.00560
Sonnet 5 $0.00003 $0.00224
Haiku 4.5 $0.00001 $0.00112

Measured 5d ago against content hash f8600b8747c5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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 5d 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.

skills/review/SKILL.md · 111 lines

How it starts

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

The user wants pi to review: $ARGUMENTS

This is the one part of pi-delegate that is not delegation. Everywhere else pi writes characters you would otherwise type. Here pi writes nothing — it reads, and gives an opinion, and your job is to judge that opinion, not to relay it.

That distinction decides the whole shape of this skill. A reviewer whose findings get pasted through unexamined is worse than no reviewer: it launders a guess into something that looks adjudicated. What makes a second model worth running is that it notices different things than you do — and that only pays off after you have checked which of those things are real.

1. Work out the scope

With no $ARGUMENTS, review uncommitted work:

git diff HEAD --stat && git diff HEAD

If $ARGUMENTS names a ref, compare against it (git diff <ref>...HEAD). If it names files or directories, restrict to those. If the diff comes back empty, say so and stop — do not invent a scope.

Note the size. A diff over ~1500 lines is worth splitting into two reviews: pi's attention degrades across a long diff the same way anyone's does, and two focused passes beat one distracted one.

2. Write the task book

Put it in a temp file, and have pi write its findings to a temp path too — an absolute one. pi resolves absolute paths straight through (resolveToCwd applies no sandbox), so the findings land outside the repo and nothing needs gitignoring or cleaning up:

DIR=$(mktemp -d)
cat > "$DIR/TASK.md" <<EOF
Review the change below. You are a second reviewer: the author has already read it, so
say what they would not have noticed themselves.

Write your findings to $DIR/FINDINGS.md and nothing else. Do not modify any source file.

Use exactly this format, one block per finding, most serious first:

### <relative/path.ts>:<line>
主張: <one sentence — what is wrong>
理由: <why it breaks, concretely: what input, what happens>
信心: 高 / 中 / 低

Rules:
- A finding needs a concrete failure. "Could be clearer" is not a finding.
- 信心: 低 is fine and useful — say it rather than dropping the finding or overselling it.
- If you find nothing worth reporting, write "(no findings)" and stop. An empty review is
  a real result; padding it is not.

--- THE CHANGE ---
$(git diff HEAD)
EOF
echo "$DIR"

Read the full file on GitHub · 111 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. 5d ago First seen · 111 lines · 14 tokens per session scan A f8600b8747c5

Subscribe to this mod's changes

review is a skill published in the GitHub repository LarryStanley/pi-delegate (2 stars, last pushed 12d ago), licensed MIT. It adds 14 tokens to every session and 1,119 once invoked, about $0.0001 per session on Opus 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

Other skills, from other repositories

reduce-foreground-guard-prompts

Explain why foreground-guard is prompting on Bash commands and how to stop the avoidable prompts. Use when the user asks "why am I getting so many foreground-guard prompts", "reduce foreground-guard prompts", "stop the watch/sleep/gh run watch permission prompts", or otherwise wants fewer confirmation prompts from…

karlkfi/claude-bouncer · 74 tokens

reduce-workspace-guard-prompts

Explain why workspace-guard is prompting on Bash file commands and how to stop the avoidable prompts. Use when the user asks "why am I getting so many permission prompts", "reduce workspace-guard prompts", "stop the grep/cat permission prompts", or otherwise wants fewer confirmation prompts from this hook.

karlkfi/claude-bouncer · 69 tokens

hs

ACTIVATE THIS SKILL FOR ANY SHELL COMMAND OR FILE READ. Check curl, wget, rm, sudo, apt, dpkg, chmod, dd, format, powershell, bash, sh. Check pipe patterns like | sh or | bash. Check shell wrappers like bash -c, xargs, find -exec. Check cloud CLI (aws, gcloud, kubectl, terraform). Check when user says sysadmin told…

frmoretto/hardstop · 144 tokens

worker-integration

Worker-Agent integration for intelligent task dispatch and performance tracking.

ruvnet/ruflo · 14 tokens

foundry-config-setup

Resolve missing setup caused by a hardcoded Foundry project endpoint or model in a sample. Use when a sample fails because it uses a placeholder/hardcoded projectendpoint (for example "https://your-project.services.ai.azure.com") or a hardcoded model instead of reading them from the environment.

microsoft/agent-framework · 65 tokens

jetson-diagnostic

Read-only Jetson health snapshot for identity, memory, GPU, thermal, power, storage, services, and top processes.

NVIDIA/skills · 30 tokens