review-all

review-all is a command for Claude Code from nwiizo/ccswarm. It costs 0 tokens per session (660 once invoked), scanned A, original, MIT.

A full review command for the ccswarm codebase. It combines design, Rust code quality, duplicate-code, and architecture-pattern checks.

In plain words
What is it for?
Use it before merging substantial changes to review project rules, Rust practices, repeated code, and patterns such as message passing and compile-time state checks.
Why use it?
It gathers several review areas into one result, so problems are less likely to be missed across separate checks.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

Good fit Use it before merging substantial changes to review project rules, Rust practices, repeated code, and patterns such as message passing and compile-time state checks.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/nwiizo/ccswarm/review-all
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/nwiizo/ccswarm

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-all

README.md
[![agentmods](https://agentmods.dev/badge/commands/nwiizo/ccswarm/review-all.svg)](https://agentmods.dev/commands/nwiizo/ccswarm/review-all)
Your own site
<a href="https://agentmods.dev/commands/nwiizo/ccswarm/review-all"><img src="https://agentmods.dev/badge/commands/nwiizo/ccswarm/review-all.svg" alt="Measured on agentmods" 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 660 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.00660
Opus 5 $0.00000 $0.00330
Sonnet 5 $0.00000 $0.00132
Haiku 4.5 $0.00000 $0.00066

Measured 8d ago against content hash 6c7e60827925, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

review-all 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 8d 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.

.claude/commands/review-all.md · 89 lines

How it starts

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

Full Review

Runs all reviews at once on the ccswarm codebase.

Execution Content

The following reviews are executed:

  1. Design Compliance Check - Consistency with CLAUDE.md, docs/ARCHITECTURE.md
  2. Code Quality - Rust best practices compliance
  3. Duplicate Code Detection - Execute /review-duplicates command (similarity-rs)
  4. Architecture Patterns - Type-State, Channel-Based pattern compliance

Execution Method

Execute with Task tool using all-reviewer agent:

subagent_type: "Explore"
prompt: "Execute a full review on ccswarm.
1. CLAUDE.md design compliance check
2. docs/ARCHITECTURE.md architecture pattern compliance check
3. Rust best practices compliance check
4. /review-duplicates - Duplicate code detection
Summarize the results for each category in JSON format."

Architecture Pattern Check Items

Patterns based on CLAUDE.md:

# Pattern Criteria
1 Type-State Pattern Compile-time state verification, zero runtime cost
2 Channel-Based Orchestration Prefer Channel over Arc
3 Iterator Pipelines Zero-cost abstractions
4 Actor Model Message passing over locks
5 Minimal Testing Around 8-10 tests, focus on core functionality

Rust Best Practices Check Items

# Item Criteria
1 unwrap() elimination Forbidden in production code
2 Result<T, E> Custom error types with thiserror
3 async/await Use tokio runtime
4 Clippy clean No warnings
5 Documentation rustdoc for public APIs

Output Format

{
  "compliance": {
    "claude_md": {"compliant": N, "partial": N, "non_compliant": N},
    "architecture": {"compliant": N, "partial": N, "non_compliant": N}
  },
  "code_quality": {
    "rust": {
      "clippy_warnings": N,
      "unsafe_count": N,
      "unwrap_count": N
    },
    "similarity": {
      "duplicate_patterns": N,
      "refactoring_candidates": ["candidate1", "candidate2"]
    }
  },
  "architecture_patterns": {
    "type_state": "OK|NG",
    "channel_based": "OK|NG",
    "iterator_pipelines": "OK|NG",
    "actor_model": "OK|NG",
    "minimal_testing": "OK|NG",
    "score": "N/5"
  },
  "summary": {
    "overall_status": "OK|WARNING|CRITICAL",
    "priority_actions": []
  }
}

Read the full file on GitHub · 89 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. 8d ago First seen · 89 lines · 0 tokens per session scan A 6c7e60827925

Subscribe to this mod's changes

review-all is a command published in the GitHub repository nwiizo/ccswarm (151 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 660 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.