review-code

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

A read-only code-review command searches a change for defects that could break required behavior or existing expectations.

In plain words
What is it for?
Use it to inspect a precisely scoped pull request or change and record evidence-based findings for a later review decision.
Why use it?
It helps catch real bugs before the change is accepted, without turning the review into a style score or code summary.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Good fit Use it to inspect a precisely scoped pull request or change and record evidence-based findings for a later review decision.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/coleam00/archon/review-code
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 · 24,038 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 review-code

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/coleam00/archon/review-code"><img src="https://agentmods.dev/badge/commands/coleam00/archon/review-code.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 2,063 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.02063
Opus 5.5 $0.00000 $0.00825
Sonnet 5.5 $0.00000 $0.00413
Haiku 4.5 $0.00000 $0.00206

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

Security

Grade A, and why

review-code 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 10d 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/review-code.md · 63 lines

How it starts

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

Code Review — Correctness

Find defects the change introduces. Do not grade the code, summarize the diff, or reward activity. Before you start, read review-lens.md (.archon/sdlc/policy/, over the default in $PACK_DIR/.shared/policy/): it says how a lens stays read-only, where scratch work goes, what counts as a finding, and how a discovery is recorded. Your scratch worktree is git worktree add --detach "$(mktemp -d "$NODE_SCRATCH_DIR/XXXXXX")" HEAD, and your scratch files go under $ARTIFACTS_DIR. Your findings go in a file; the synthesizer aggregates them.

Read $ARTIFACTS_DIR/review/scope.md first. Then review exactly the diff scope.md describes. The project's own values are in its steering documents: open, where the project has them, its engineering.md and its direction document — at the root, in a config directory such as .archon/, or wherever its steering files point — only when a finding depends on a value one of them states, and read the section you cite, not the whole file. A preference one of them states is a finding you cite, and one none of them states is taste you leave out. Anchor the review on the accepted work order's stated invariants, and apply the supplied full-review policy: $mode.output.risks. On a continuation, scope.md names the prior report and the correction delta, and you run on every continuation: read the prior report and $ARTIFACTS_DIR/implementation.md, judge every prior finding, whichever lens raised it (a lens with an open prior blocker also reruns to verify its own), as resolved by the delta, validly declined (the implementer's evidence holds), or still open, then apply the same bar to the delta only.

Evidence bar — report only what is proved

  1. Behavioral defect — a reachable input or state produces an outcome that contradicts the change's required behavior, an existing contract, or a supported caller's expectation.
  2. Repository-rule violation — the changed code violates an explicit applicable rule in the repo's steering files (AGENTS.md, CLAUDE.md, contributor guidance) or enforced configuration. A preference no project document states is not a rule, and framework folklore is not a project rule.

Read the full file on GitHub · 63 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. 10d ago Changed e64db0dc51cb
  2. 15d ago Changed 94e4268ed2ff
  3. 20d ago Changed d1d3bff11046
  4. 22d ago Changed cd7ff92ceb69
  5. 24d ago Changed · +8 lines 5b136650677b
  6. 29d ago Changed · +4 lines d1b0e6a1ad65
  7. 1mo ago Changed 6a8755b4f511
  8. 1mo ago Changed 4def228bfd61
  9. 1mo ago Changed · +2 lines 7dec9497b386
  10. 1mo ago First seen · 49 lines · 0 tokens per session scan A 83b71e19feee

Subscribe to this mod's changes

review-code is a command published in the GitHub repository coleam00/Archon (24,038 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,063 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-08-30.

Related

review-code compared with commands from other repositories

review-code next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
review-codecoleam00/ArchonCommand24ktodayMITA0Claude Code
review-prscan1357/oh-my-piCommand40ktodayMITA0Claude Code
fix-issuescan1357/oh-my-piCommand40ktodayMITA0Claude Code
triagecan1357/oh-my-piCommand40ktodayMITA0Claude Code
releasecan1357/oh-my-piCommand40ktodayMITA0Claude Code
cleanupcan1357/oh-my-piCommand40ktodayMITA0Claude Code
hatch3r-pr-resolvehatch3r/hatch3rCommand262mo agoMITA25Claude Code