route-review

route-review is a command for Claude Code from coleam00/Archon. It costs 0 tokens per session (784 once invoked), scanned A, original, MIT.

A review-routing command that chooses which checks should run for a code change. It reads the change summary and requested scope but does not run tests, builds, or other checks.

In plain words
What is it for?
Use it at the start of a pull-request review to decide whether code, test, seam, or other review lenses apply.
Why use it?
It prevents every review from running every possible check, while selecting reviewers for code correctness, boundaries, tests, errors, and other relevant concerns.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it at the start of a pull-request review to decide whether code, test, seam, or other review lenses apply.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/coleam00/archon/route-review
About the project

Archon is a workflow engine for AI coding agents that turns development processes into YAML-defined sequences with phases, validation gates, and artifacts. Developers use it to run repeatable processes such as planning, implementation, testing, code review, and pull-request creation across projects. The catalogue entries provide commands, agents, skills, hooks, instructions, and settings for working with Archon.

coleam00/Archon · 23,740 stars · on GitHub · archon.diy

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/coleam00/Archon

Made for: Claude Code.

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 route-review

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/coleam00/archon/route-review"><img src="https://agentmods.dev/badge/commands/coleam00/archon/route-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 784 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00000 $0.00784
Opus 5.5 $0.00000 $0.00314
Sonnet 5.5 $0.00000 $0.00157
Haiku 4.5 $0.00000 $0.00078

Measured 6d ago against content hash f2a0589cf357, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

route-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.

.archon/workflows/sdlc/review/commands/route-review.md · 55 lines

What it actually says

Pick the review lenses

Decide which reviewers this round runs. This is a quick decision: read only what is named here, run nothing (no tests, builds or checks), and do not modify any file. No one watches this run; your structured answer is all the next nodes read.

  • The diff summary against the change's base: git diff --stat and the hunks you need. The requested scope (empty means the current branch's pull request or the working diff): $INPUTS.scope
  • The work order (may be empty for a standalone review): $INPUTS.work_order. When it names a file such as $ARTIFACTS_DIR/plan.md, read that file's summary and steps, not the whole repository.
  • The previous round's reviewed commit, $mode.output.cursor (empty on a first round), and the commit under review, $mode.output.head. When the reviewed commit is not empty, this round continues an earlier review: judge only that correction delta and the hunks you need. The delta leaves out code a merge of the base brought in. Take the base from the requested scope's record, or the current branch's pull request, and read the delta with tree=$(git merge-tree --write-tree "$(git merge-base <remote>/<base> <head>)" <reviewed> | head -1) then git diff --stat "$tree" <head>.
  • On a continuation, the code lens reviews the delta whatever you answer. Select another lens when the previous report leaves a finding it raised open: findings.json beside the previous report ($INPUTS.prior_report) lists each finding's sources and status; without that file, the report's findings say the same. Select one too when the delta itself touches its area. A lens whose findings the previous round closed, or that raised none, does not rerun otherwise.

Lenses:

  • seams — missing types, counterpart drift, bypassed boundaries. On by default: it runs unless the change clearly touches no type, contract, payload, state, wire format, persistence, concurrency, isolation, security, or other boundary. When unsure, it runs.
  • code — general correctness and repository fit. It runs on every change that touches code or behavior; a documentation-only change may skip it.
  • tests — regression protection, when the change establishes or alters behavior a test should protect.
  • errors — swallowed failures and fallbacks, when the change adds or changes catches, fallbacks, retries, default values, error translation, or recovery. The operator's setting is $INPUTS.errors: true or false is your answer; auto leaves it to you.
  • docs — stale or missing documentation, when the diff changes shipped documentation or a user-facing command, configuration, or behavior.

A small, mechanical change — a version bump, a one-line fix, a rename, a test-only tweak — rarely earns errors or docs. Depth follows what a change can break, not its size: do not economize on real risk, and do not invent it.

Every round selects at least one lens: when your judgment leaves none, select code. Declare one boolean per lens (seams, code, tests, errors, docs) and reason: one or two sentences citing what in the diff decided it. If you cannot read the diff, select every lens and say so in reason; never answer that no lens runs because a command failed.

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 Changed · +18 lines f2a0589cf357
  2. 7d ago First seen · 37 lines · 0 tokens per session scan A af40d880fc4a

Subscribe to this mod's changes

route-review is a command published in the GitHub repository coleam00/Archon (23,740 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 784 tokens. 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-10-15.