review

review is a command for coding agents from Lee-W/maigo. It costs 41 tokens per session (4,243 once invoked), scanned A, original, MIT.

A strict review workflow for checking an existing GitHub pull request, branch, or range of commits without implementing changes.

In plain words
What is it for?
Use it to review one or more pull requests, a local branch, or a commit range; it can also focus on design or compliance checks and optionally produce bilingual results.
Why use it?
It separates judging completed changes from writing them, using repository context, review criteria, and verification checks to assess whether the work is correct.

Command

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the maigo plugin — 23 skills, 15 commands, 5 agents, 4 hooks 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 commands/lee-w/maigo/review
Clone the repo
git clone --depth 1 https://github.com/Lee-W/maigo

Or install maigo, the plugin that ships this one along with the rest of its 23 skills, 15 commands, 5 agents, 4 hooks.

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/commands/lee-w/maigo/review.svg)](https://agentmods.dev/commands/lee-w/maigo/review)
Your own site
<a href="https://agentmods.dev/commands/lee-w/maigo/review"><img src="https://agentmods.dev/badge/commands/lee-w/maigo/review.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,243 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.00041 $0.04243
Opus 5 $0.00020 $0.02122
Sonnet 5 $0.00008 $0.00849
Haiku 4.5 $0.00004 $0.00424

Measured 4d ago against content hash f61eca903523, 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 4d 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.

commands/review.md · 203 lines

How it starts

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

/maigo:review

既有的變更做嚴格 review。跟 /maigo:go 不同,這裡沒有實作環節—— 變更已經寫好了,要做的是判斷它對不對

使用

/maigo:review <github-pr-url>          # GitHub PR(需要 gh CLI)
/maigo:review <pr-1> <pr-2> ...         # 多 PR 批次(空白或逗號分隔)
/maigo:review <branch-name>             # 本地 branch(跟 main / 預設 base 比)
/maigo:review <commit-range>            # 例:HEAD~3..HEAD 或 main..feature

不給參數 → 預設 HEADmain(review 你目前 branch 的所有變更)。 要新增 / 刷新跨 session Work Board,直接用 /maigo:board

模式(optional):

/maigo:review --mode=design-preview <target>     # 只看設計層,不查 evidence
/maigo:review --mode=compliance-only <target>    # 只查 convention/safety/magic/TODO/bloat
/maigo:review --bilingual <target>                # 雙語輸出(zh-TW 快結 + English detail)
/maigo:review <target>                            # 預設 full mode(9 項全跑)

Mode 對照表(checklist subset、Taki 是否跑)與 --bilingual 正交關係、mode 旗標的處理機制 (rubric 註解、Soyo 收到的 checklist subset、Taki skip 規則)見 skills/strict-review/references/review-modes.md

多 PR 批次與狀態前置處理

/maigo:review 接受多個 PR 用空白或逗號分隔。orchestrator 自動排序後一次一個 review;每完成一個 PR 等使用者 go-ahead 才推進。完整排序規則、queue 表格式、merged/closed/draft 前置處理表、一次一個 PR 的 go-ahead 規則,見 skills/strict-review/references/review-batch-queue.md。多 PR 參數代表「現在要開始逐顆 review」; 若只是要把一批 PR 放進跨 session board,改用 /maigo:board <pr-1> <pr-2> ...。 長期跨 session 追一批 PR 時用 /maigo:board 的 Work Board (.maigo/board.md)——queue 是 per-run,board 記得跨 session 的狀態轉移 (含「你回過但作者又推新東西」)。

雙語輸出

--bilingual 旗標或 repo-detect 自動觸發時(如 apache/airflow),最終 report 前面加一段 Taiwanese Mandarin 快結。觸發規則、zh-TW 行文規範見 skills/strict-review/references/review-modes.md「雙語輸出」;版型範本在 skills/strict-review/references/review-templates.md「雙語版」小節。

流程

1. 樂奈 (Raana) — 抓變更 + 周邊 context。「看完了。相關的在這三個檔案。」

先套 skills/pr-context-cache:跑 python3 "${CLAUDE_PLUGIN_ROOT:-.}/scripts/pr_context_cache.py" <source>——第一次 fetch 後 cache 到本次 review rubric 檔(stdout 的 rubric: 那行給的路徑)開頭的 <!-- pr-context-cache:start v1 --> 段,後續 re-review 同 source 且 diff sha 未變 → 直接還原,跳過 gh pr view / gh pr diff / gh pr checks 重抓。script 跑不起來,或 status: conflict(exit 3) → 依下面指令手動抓(不寫 cache)。

Read the full file on GitHub · 203 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. 4d ago First seen · 203 lines · 41 tokens per session scan A f61eca903523

Subscribe to this mod's changes

review is a command published in the GitHub repository Lee-W/maigo (14 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 4,243 once invoked, about $0.0002 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-30.