Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add assafkip/prd-os/plugin install prd-osWrote 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.
[](https://agentmods.dev/commands/assafkip/prd-os/prd-review)<a href="https://agentmods.dev/commands/assafkip/prd-os/prd-review"><img src="https://agentmods.dev/badge/commands/assafkip/prd-os/prd-review.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00015 | $0.00650 |
| Opus 5 | $0.00008 | $0.00325 |
| Sonnet 5 | $0.00003 | $0.00130 |
| Haiku 4.5 | $0.00002 | $0.00065 |
Grade A, and why
prd-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 6d 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.
What it actually says
Review the active PRD against templates/review-rubric.md. The rubric defines
five dimensions (problem clarity, scope discipline, atomic decomposition, risk
surface, dependencies) and the severity scale (blocker | major | minor | nit).
Do not hand-edit the findings JSONL. Do not pass raw Codex output to the writer
verbatim. The writer accepts ONLY {severity, body} objects; extra keys are
rejected. This is the deterministic normalization layer — its whole purpose is
to refuse drifted Codex output shape.
Steps:
- Resolve the active PRD:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/prd_runner.py" status
Capture the prd_id and spec_path from the JSON output. If no PRD is active, stop and tell the author to run /prd-start first.
-
Read the PRD body and
templates/review-rubric.md. Run Codex against them. Codex may return prose, markdown, or malformed JSON. That is expected. -
Translate Codex's findings into the writer's input shape: a JSON array where every element is EXACTLY
{"severity": "blocker|major|minor|nit", "body": "one concrete concern"}. One concern per element. No extra keys, no nesting. If Codex flagged the same concern twice, deduplicate. -
Record the review.
- If the array has at least one item, append via the writer. The writer assigns sequential ids, stamps
created_at, setsdisposition: pending, validates every field, AND stamps the PRD frontmatter withcodex_reviewed_atas a side effect. That stamp is the approval gate's proof that Codex actually ran:
echo '<JSON_ARRAY>' | \ python3 "${CLAUDE_PLUGIN_ROOT}/scripts/findings_writer.py" \ add "<prd-id>" --source codex-review- If Codex found nothing (clean pass), do NOT fabricate findings. Stamp the PRD with
record-reviewso the approval gate can still fire:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/findings_writer.py" \ record-review "<prd-id>" --source codex-reviewSource must be
codex-reviewfor a standard pass orcodex-adversarialfor an adversarial one. Without the stamp,/prd-approvewill refuse to advance the PRD — that is the intended behavior. Do not try to work around it. - If the array has at least one item, append via the writer. The writer assigns sequential ids, stamps
-
Advance the PRD to
in-reviewso the findings gate will block approval:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/prd_runner.py" advance in-review
- Tell the author to triage with
/prd-triage. Show the count of new findings and the severity breakdown (or "0 findings, clean pass recorded" if the review was clean).
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.
- 6d ago First seen · 55 lines · 15 tokens per session scan A bc66f4e14d78
prd-review is a command published in the GitHub repository assafkip/prd-os (10 stars, last pushed 2mo ago), licensed MIT. It adds 15 tokens to every session and 650 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.
Other commands, from other repositories
screens
Structures product UX screen design — inventory, flow, states, and reusable briefs for external design tools — without generating pixels or UI code.
assumption-test
Surfaces the riskiest business assumption behind the PRD and designs the cheapest test to falsify it before building.
bug-report
Converts a raw bug report from production into a structured, severity-classified item and routes it to the right next step.
hypothesis-check
Confronts each PRD hypothesis with the real measured number, forces an explicit verdict, and triggers a concrete action.
incident
Coordinates the live response to an active production incident — timeline, status, and resolution — then hands off to /renata:retro for the post-mortem.
metrics
Defines or refines product metrics across 4 layers, each with baseline, formula, source, and a kill criteria tripwire.