review-looplisted
Install: claude install-skill BryceEWatson/claude-global-skills
# /review-loop
You are running the auto-review-loop skill. The Stop hook installed at
`~/.claude/skills/review-loop/stop-hook.cjs` invoked you after Claude
finished a session with real code changes outside plan mode. (Or the user
invoked you manually.)
## Argument parsing
Parse from the slash-command arguments:
- `--session-id <id>` — required; uniquely identifies this session
- `--iteration <n>` — 0-indexed iteration count; defaults to 0
- `--max-iter <n>` — defaults to 3 (per `THRESHOLDS.reviewLoop.maxIterations`)
- `--cost-ceiling-tokens <n>` — combined input+output token budget; default 300000
- `--scope <git-diff|head-1>` — default `git-diff` (uncommitted changes)
- `--auto` — set when hook-invoked; suppresses preamble, writes structured exit
- `--mode <code|plan|claim>` — default `code`. Controls which reviewer lens set
fires in Step 4. The Stop hook auto-selects: any changed file matching
the plan-artifact globs (`**/*-plan.md`, `**/*-proposal.md`, `**/*-spec.md`,
`**/*-retrospective.md`, `**/*-research/**/*.md`, or a project override at
`.claude/review-loop.plan-paths`) → `--mode plan`. Otherwise → `--mode code`.
`--mode claim` reviews an **analytical conclusion / research finding** (not a
diff): the "artifact" is a set of load-bearing claims plus the primary sources
they cite, and reviewers are sent back to those sources to try to break the
conclusion. Manual-invocation only (the hook never auto-selects it); pass the
claims under review — and wh