review

review is a command for Claude Code from Not-Diamond/self-care. It costs 12 tokens per session (2,987 once invoked), scanned A, original, MIT.

A command for reviewing pending reports and sorting their findings into categories.

In plain words
What is it for?
Use it to review all pending reports or a chosen number of the newest ones, while skipping reports missing their related data file.
Why use it?
It helps you process reports that have not yet been reviewed without opening and handling each one manually.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the self-care plugin — 12 commands shipped together

Install

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.

Claude Code
/plugin marketplace add Not-Diamond/self-care
Claude Code
/plugin install self-care

Made for: Claude Code.

Or install self-care, the plugin that ships this one along with the rest of its 12 commands.

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/not-diamond/self-care/review.svg)](https://agentmods.dev/commands/not-diamond/self-care/review)
Your own site
<a href="https://agentmods.dev/commands/not-diamond/self-care/review"><img src="https://agentmods.dev/badge/commands/not-diamond/self-care/review.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,987 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.1 $0.00012 $0.02987
Opus 5 $0.00006 $0.01494
Sonnet 5 $0.00002 $0.00597
Haiku 4.5 $0.00001 $0.00299

Measured 6d ago against content hash 65bf9fa8edae, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 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.

commands/review.md · 390 lines

How it starts

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

Review Unreviewed Reports

Review reports that have not been reviewed yet (review_status: pending). Walks through findings for each report using the same review flow as /self-care:run stages 4, 5, and 6.

Stage 0: Parse Arguments

Parse $ARGUMENTS to extract:

  • count: Optional positive integer — the number of reports to review. Defaults to all pending reports if not specified.

Example inputs:

  • `` (empty) → review all pending reports
  • 3 → review the 3 most recent pending reports
  • 1 → review only the most recent pending report

Stage 1: Find Pending Reports

Use Bash to find all reports with review_status: pending in ./.self-care/reports/:

grep -l 'review_status: pending' ./.self-care/reports/*-triage.md 2>/dev/null | sort -r

This returns report files sorted newest-first (filenames start with YYYY-MM-DD).

For each report file found, verify that a corresponding data sidecar exists. The data file has the same name but with -data.json instead of -triage.md:

  • Report: ./.self-care/reports/2026-04-01-abc12345-triage.md
  • Data: ./.self-care/reports/2026-04-01-abc12345-data.json

Skip any report whose data sidecar is missing (output a warning: ⚠ Skipping <report_file>: data file not found).

If count is specified, take only the first count reports from the sorted list.

If no pending reports are found, output:

No unreviewed reports found in ./.self-care/reports/

And stop.

Otherwise, output:

Found <N> unreviewed report(s). Reviewing <M> report(s)...

Where <N> is the total pending and <M> is the number being reviewed (limited by count if specified).


Stage 2: Review Each Report

For each pending report (newest first):

2a. Load Report Data

Read the data sidecar JSON file. Extract:

  • format: trace format (otel or claude-code)
  • metadata: trace metadata
  • cases: the full case array (type, severity, description, evidence, classification, proposedFix)
  • agentContext: optional user-provided context

Read the full file on GitHub · 390 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. 6d ago First seen · 390 lines · 12 tokens per session scan A 65bf9fa8edae

Subscribe to this mod's changes

review is a command published in the GitHub repository Not-Diamond/self-care (28 stars, last pushed 4mo ago), licensed MIT. It adds 12 tokens to every session and 2,987 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-30.