add

add is a command for Claude Code from adamjgmiller/adamsreview. It costs 49 tokens per session (12,119 once invoked), scanned C, original, MIT.

A command for adding outside code-review findings to the latest Adams Review report for the current branch. It accepts pasted review text or one structured finding with a file, line, and claim.

In plain words
What is it for?
Use it to add cloud-review results, manually spotted bugs, chat summaries, or lists of issues to an existing review artifact.
Why use it?
Findings from another reviewer or tool would otherwise need to be copied into the report by hand. It validates and republishes the combined report without rerunning the original review.

Command for Claude Code

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

Part of the adamsreview plugin — 6 commands, 1 hook shipped together

Good fit Use it to add cloud-review results, manually spotted bugs, chat summaries, or lists of issues to an existing review artifact.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/adamjgmiller/adamsreview/add
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/adamjgmiller/adamsreview

Made for: Claude Code.

Or install adamsreview, the plugin that ships this one along with the rest of its 6 commands, 1 hook.

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 add

README.md
[![agentmods](https://agentmods.dev/badge/commands/adamjgmiller/adamsreview/add/github.svg)](https://agentmods.dev/commands/adamjgmiller/adamsreview/add)
Your own site
<a href="https://agentmods.dev/commands/adamjgmiller/adamsreview/add"><img src="https://agentmods.dev/badge/commands/adamjgmiller/adamsreview/add/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 add

Your own site · 80×15
<a href="https://agentmods.dev/commands/adamjgmiller/adamsreview/add"><img src="https://agentmods.dev/badge/commands/adamjgmiller/adamsreview/add.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 12,119 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00049 $0.12119
Opus 5 $0.00024 $0.06059
Sonnet 5 $0.00010 $0.02424
Haiku 4.5 $0.00005 $0.01212

Measured 11d ago against content hash 25479b55fb6e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade C, and why

add scanned grade C with 1 finding 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 11d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf -- "$scratch"
commands/add.md · 1,148 lines

How it starts

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

This command is additive — it does NOT re-run Phase 1 detection, Phase 2 dedup against the original lens output, Phase 5 cross-cutting analysis, or any fix loop. To re-derive everything from the diff, run /adamsreview:review (which overwrites the artifact).

Arguments

Two invocation shapes — pick whichever fits the input:

  • Free-form paste mode (default): all positional $ARGUMENTS tokens are joined with spaces and treated as the paste body. A Sonnet "paste normalizer" sub-agent extracts one or more candidates from the text. Works for chat dumps, review summaries, multi-bug lists, etc.
  • Structured one-shot mode: when ALL three of --file, --line, and --claim are present, skip the normalizer and build a single candidate inline. Useful for hand-crafted findings where the reviewer already knows file/line/claim and wants to skip the LLM round-trip.

Optional flags:

  • --impact <type> — one of correctness, security, ux, policy, architecture. Sets impact_type (and thus validation_lane) on every emitted candidate. Default correctness. In paste mode this overrides the normalizer's per-candidate guess; useful when the reviewer knows the input is "all security."
  • --no-dedup — skip the dedup pass (§step 5). Useful when the reviewer is confident the input is fresh, or when the artifact has many findings and the dedup call would be expensive.

Read fragments/_prelude-shared.md before proceeding — it lists rules that apply to every step below (sub-agent return handling, helper-script error-as-prompt).

Build a TaskList that mirrors the numbered steps below. Mark each in_progress when starting, completed when done.

Execution

Work through the steps in order. Capture each named variable into your working context.

1. Parse arguments

Parse $ARGUMENTS:

  • Walk tokens left-to-right looking for the optional flags (--file <path>, --line <N>, --claim "...", --impact <type>, --no-dedup). Strip surrounding quotes from --claim's value.
  • All non-flag tokens (and tokens not consumed as flag values) join with single spaces into paste_body (may be empty).

Read the full file on GitHub · 1,148 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. 11d ago First seen · 1,148 lines · 49 tokens per session scan C 25479b55fb6e

Subscribe to this mod's changes

add is a command published in the GitHub repository adamjgmiller/adamsreview (243 stars, last pushed 3mo ago), licensed MIT. It adds 49 tokens to every session and 12,119 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.