review

review is a command for Claude Code from phuryn/pm-brain. It costs 0 tokens per session (1,185 once invoked), scanned A, original, MIT.

A weekly maintenance command for reviewing a project's knowledge, assumptions, decisions, and stakeholder records. It produces a dated report and directly edits files only when the evidence is strong.

In plain words
What is it for?
Use it to review the whole project or one area, update or archive durable records, promote or demote hypotheses, and create follow-up drafts for unresolved issues.
Why use it?
It helps detect information that has gone stale, repeated insights, outdated hypotheses, and decisions that need attention without hiding uncertain changes. Items needing human judgment remain as drafts.

Command for Claude Code

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/phuryn/pm-brain/review
Clone the repo
git clone --depth 1 https://github.com/phuryn/pm-brain

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/phuryn/pm-brain/review.svg)](https://agentmods.dev/commands/phuryn/pm-brain/review)
Your own site
<a href="https://agentmods.dev/commands/phuryn/pm-brain/review"><img src="https://agentmods.dev/badge/commands/phuryn/pm-brain/review.svg" alt="Measured on agentmods" 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,185 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.00000 $0.01185
Opus 5 $0.00000 $0.00593
Sonnet 5 $0.00000 $0.00237
Haiku 4.5 $0.00000 $0.00119

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

.claude/skills/pm-brain/scaffold/.claude/commands/review.md · 62 lines

How it starts

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

/review

The weekly maintenance sweep. Six checks. Produces a dated report and edits files directly where confidence is high.

Input

None, or an optional scope (/review hypotheses, /review stakeholders) to run a single check.

Loads

  • CLAUDE.md (operating principles, autonomy mode, memory promotion bar)
  • docs/system-evolution.md (the 8 failure modes the sweep is designed to catch)
  • All durable areas in scope: knowledge/, hypotheses/, decisions/, stakeholders/
  • Recent ingestion/ for promotion candidates
  • The last 2 maintenance/log/ entries to compare deltas

Updates

  • maintenance/log/<date>-review.md — the dated report
  • Direct edits to durable files where confidence is high: promote / demote hypotheses, update stakeholder Last touched, archive shipped features past 90 days, compress duplicate insights
  • Drafts (not committed) for items that need PM judgment: stale strategy assumptions, unresolved tensions, decision debt

Surfaces

The six standard checks, with counts and the top item in each:

  1. Stale knowledge — files not updated in 6+ weeks
  2. Stale evidence — market past 30-60 days, interviews past 90, strategy assumptions past quarterly
  3. Hypothesis and decision hygiene — active hypotheses with no evidence in 30+ days, promoted hypotheses without decisions, triggered "what would reverse this" conditions, decision debt
  4. Stakeholder cadence and strategy tensions — high-influence stakeholders not touched in 3+ weeks, drift between recent decisions and strategy
  5. Knowledge synthesis (compression) — recurring patterns, recurring contradictions, candidates for strategy.md § Tensions
  6. Archival sweep — shipped features past 90 days, resolved hypotheses, old market intel

Compression is additive. Minority signals are preserved. Archive extracts durable lessons before removing.

Surfacing drift — cite, don't paraphrase

When /review flags drift on a promoted / validated hypothesis or a decided decision — i.e. fresh evidence has appeared that contradicts the original premise — the surfacing must name the specific contradicting signals, not paraphrase the conclusion.

Read the full file on GitHub · 62 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 · 62 lines · 0 tokens per session scan A 41d5a9d68436

Subscribe to this mod's changes

review is a command published in the GitHub repository phuryn/pm-brain (543 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,185 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.