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.
git clone --depth 1 https://github.com/adamjgmiller/adamsreviewWrote 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/adamjgmiller/adamsreview/fix)<a href="https://agentmods.dev/commands/adamjgmiller/adamsreview/fix"><img src="https://agentmods.dev/badge/commands/adamjgmiller/adamsreview/fix/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.
<a href="https://agentmods.dev/commands/adamjgmiller/adamsreview/fix"><img src="https://agentmods.dev/badge/commands/adamjgmiller/adamsreview/fix.svg" alt="Reviewed on agentmods" width="80" 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.00036 | $0.01936 |
| Opus 5 | $0.00018 | $0.00968 |
| Sonnet 5 | $0.00007 | $0.00387 |
| Haiku 4.5 | $0.00004 | $0.00194 |
Grade A, and why
fix 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 9d 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.
How it starts
The opening of the file, as written. The whole thing — 144 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Arguments (optional):
- First positional (integer 0–100) →
threshold(default60). The Phase 8 fix gate:confirmed_mechanical/partial/regressionfindings withscore_phase4 >= thresholdare eligible./adamsreview:fix 80excludes moderate-strength findings from the run. --granular-commits→ one commit per surviving fix group. Default is one combined commit for all survivors.
Read fragments/_prelude-shared.md before proceeding — it lists
rules that apply to every phase below (sub-agent return handling,
helper-script error-as-prompt).
Execution overview
This command orchestrates Phases 7, 7.5, 8, and 9 in order. Each phase
is defined in a fragment under fragments/NN-<name>.md. At each phase
boundary below, read the named fragment with the Read tool and
execute the instructions inside before proceeding to the next phase.
Phase 7.5 (auto-recommendation preflight) lives at the end of
fragments/08-fix-loader.md. When that fragment populates Phase
5.5's auto_fix_hint on findings, Phase 7.5 surfaces them in a
batch-confirm UI before Phase 8 dispatch — apply-all / review-per-
finding / skip / cancel. On the apply-all and review paths, the user
choices are committed via human_confirmation so Phase 8's gate
picks them up via the existing bypass (no Phase 8 wiring change
needed). On skip, Phase 8 runs against originally-eligible findings
only. On cancel, :fix aborts and any stash from 7.5's clean-tree
gate is restored.
Before you start, build a TaskList that mirrors the phases below
(one task per phase, plus one for argument parsing). Mark each
in_progress when you start it and completed when you finish.
attempted is the transient recovery anchor. Between Phase 8 completing
and Phase 9e writing fix_attempts, findings sit in
current_state=attempted. If the run is interrupted there — or if
Phase 9.pre detects a touched-file overlap and the reviewer chooses
abort (default) or inspect — the next /adamsreview:fix invocation's
Phase 7 step 4 hard abort catches the leftover attempted state and
gives the user a deterministic recovery prompt. Never clean up
attempted state silently; that's the user's call. (Reconcile does
NOT leave findings at attempted — it commits or reverts just like a
non-reconciled run.)
In Phase 9e, state transitions + fix_attempts append + schema validate
- render all run BEFORE any
git pushorartifact-publish.shcall. Push or publish failure never leaves the artifact out of sync with git.
Phase 9b reverts any fix group whose findings Phase 9a classified as
regression, before Phase 9c commits. Surviving groups' files stage
explicitly by name (never git add -A); regression-group files are
restored with git checkout -- (for modified files) or rm -f (for
created files).
Push failure, publish failure, stash-pop conflict — each gets logged to
trace.md with a specific tag; the terminal block proceeds; the FIRST
failure is surfaced to the user at the end. The artifact's state is
already persisted so the user can re-run cleanly.
If a phase genuinely cannot run, mark the task completed with a
one-line trace.md note and move on. Phase 9e's terminal cleanup runs
unconditionally — every run finishes with artifact state consistent
with what actually happened on disk.
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.
- 9d ago First seen · 144 lines · 36 tokens per session scan A 4fcbf4c7ddab
fix is a command published in the GitHub repository adamjgmiller/adamsreview (243 stars, last pushed 3mo ago), licensed MIT. It adds 36 tokens to every session and 1,936 once invoked, about $0.0002 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.
Other commands, from other repositories
review-diff
Review the current working diff for correctness, security, and reuse.
elegant-code-review
Review the current working diff against the elegant-code decision ladder and propose deletions, honoring the negligence floor.
git
The pre-finish status: branch, hygiene findings, message checks, workflow lint, template state.
prp-commit
Quick commit with natural language file targeting: describe what to commit in plain English.
fix-comments
Address PR review comments by implementing requested changes automatically.
validate-pr-description
Use when validating a PR title and description for conventional commit format, issue linking keywords, and template compliance before submission.