amazing-pr-review

amazing-pr-review is a command for Claude Code from btspoony/mstar-harness. It costs 100 tokens per session (1,194 once invoked), scanned A, original, MIT.

A read-only pull-request review that examines a branch or code difference before it is merged. A pull request is a proposed code change awaiting review; the command gives one evidence-based verdict, with optional GitHub posting.

In plain words
What is it for?
Use it to review a pull request, branch, or diff at quick, default, or deep detail. It helps decide whether the change is ready to ship, needs fixes, or is blocked.
Why use it?
It helps find problems that a quick “looks good” review may miss and separates required fixes from lesser suggestions.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: agent in frontmatter; mentions subagents.

Part of the morning-star-harness plugin — 23 skills, 5 commands, 14 agents, 2 hooks shipped together

Good fit Use it to review a pull request, branch, or diff at quick, default, or deep detail. It helps decide whether the change is ready to ship, needs fixes, or is blocked.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/btspoony/mstar-harness/amazing-pr-review
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/btspoony/mstar-harness

Made for: Claude Code.

Or install morning-star-harness, the plugin that ships this one along with the rest of its 23 skills, 5 commands, 14 agents, 2 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 amazing-pr-review

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/btspoony/mstar-harness/amazing-pr-review"><img src="https://agentmods.dev/badge/commands/btspoony/mstar-harness/amazing-pr-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 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,194 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.00100 $0.01194
Opus 5 $0.00050 $0.00597
Sonnet 5 $0.00020 $0.00239
Haiku 4.5 $0.00010 $0.00119

Measured today against content hash 8cb8d7d0b7cb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

amazing-pr-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 today.

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/amazing-pr-review.md · 35 lines

How it starts

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

Deep PR Review

Run a read-only, evidence-first review of a PR / branch / diff and decide whether it is safe to ship. Output: one verdict — computed from the finding tally, never chosen(score_pct display-only)— plus findings presented to the user, and the posted GitHub Review URL when a PR number exists(posting is mandatory then). Never auto-approve, never REQUEST_CHANGES, never merge. Read-only advisory — does not enter the plan state machine.

Procedure SSOT → mstar-audit SKILL.md(common core)+ references/pr-review.mdpr variant 全量:tier 解析、三阶段流水线、worktree isolation、posting、report archive、batch). This command is a thin launcher — every contract lives in the reference.

Boot

  1. mstar-harness-core
  2. mstar-audit → SKILL.md + references/pr-review.md
  3. mstar-coding-behavior (evidence discipline)
  4. mstar-branch-worktree (worktree isolation)
  5. mstar-host → active host reference (invoke capability for parallel subagents)

Execute

Execute mstar-audit § pr variant end to endreferences/pr-review.md):

  1. Tier first — resolve quick / default / deep per § Review depth (tiers)(显式 token > too-large > 敏感面 > large > small 推断阶梯;两 token 同现 → hard-stop 请用户二选一)→ 按 tier seat 计划执行(quick 1 席 / default 2 席 / deep 三阶段)。
    • Budget — each tier's seat plan carries a wall-clock budget(§ Review depth (tiers) Budget 列;数字 SSOT = engine 常量表,per-seat caps 用 mstar pr-review budget 打印); when it runs tight, degrade per § Time budget & degradation ladder and declare every degradation in the report - notes:.
  2. Isolate — create the review worktree per § Worktree isolation(real base,never assume main;empty changeset → stop;diff snapshot pinned at setup)→ fan out seats per § Review pipeline(deep:有 pinned diff pack 时 collect 波默认折入领域席位 collectFolded,kept 例外与 - notes: 声明见 § Review pipeline;seats read-only,evidence/findings in result payload,never post;seat prompts get --diff-file via mstar pr-review seat-prompt). Record the review start time at worktree-setup — the elapsed clock starts here(§ Local report archive frontmatter).
  3. Synthesize (main agent) — dedupe + tiered three-way vet (full for must-fix/should-fix; evidence-verify for nits) → tally/verdict(§ Tally and derived score)→ persist the mstar.review/v1 envelope(mandatory)→ report + GitHub Review POST per § Comment postingposted: yes / n/a-no-pr / failed;event fixed COMMENT)→ save local report + evidence files per § Local report archive(all three posting branches;write elapsed into the report frontmatter — measured minutes since the step-2 worktree-setup start time)→ then worktree cleanup(mstar pr-review worktree-cleanup).
  4. Batch — one session = one PR per § Batch sibling PRs;其余 PR → mstar status backlog-register 登记为 audit todos,建议各自独立 session.

Read the full file on GitHub · 35 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. today Changed · +2 lines 8cb8d7d0b7cb
  2. 5d ago Changed · +1 lines 075486c768bd
  3. 8d ago Changed · -25 lines a293168d2b22
  4. 12d ago First seen · 57 lines · 100 tokens per session scan A 04ff4571d12f

Subscribe to this mod's changes

amazing-pr-review is a command published in the GitHub repository btspoony/mstar-harness (57 stars, last pushed today), licensed MIT. It adds 100 tokens to every session and 1,194 once invoked, about $0.0005 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.