review-architecture

review-architecture is a skill for Claude Code from nwiizo/ccswarm. It costs 29 tokens per session (244 once invoked), scanned A, original, MIT.

A code review that checks whether a project follows five stated architecture patterns: Type-State, channels, iterator pipelines, actors, and focused testing.

In plain words
What is it for?
Use it to inspect pattern usage, receive per-pattern scores, and get recommendations for improving architecture compliance.
Why use it?
It makes architectural pattern use visible and highlights places where the code follows or departs from the project's design rules.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: agent in frontmatter; mentions CLAUDE.md; mentions subagents.

Good fit Use it to inspect pattern usage, receive per-pattern scores, and get recommendations for improving architecture compliance.

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

Any agent
npx skills add nwiizo/ccswarm --skill review-architecture
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-architecture

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nwiizo/ccswarm/review-architecture"><img src="https://agentmods.dev/badge/skills/nwiizo/ccswarm/review-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 244 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00029 $0.00244
Opus 5 $0.00015 $0.00122
Sonnet 5 $0.00006 $0.00049
Haiku 4.5 $0.00003 $0.00024

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

Security

Grade A, and why

review-architecture 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 11d 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.

.agents/skills/review-architecture/SKILL.md · 24 lines

What it actually says

When subagents are enabled in Codex, prefer delegating this workflow to the architecture-reviewer custom agent.

Review ccswarm architecture pattern compliance based on CLAUDE.md and docs/ARCHITECTURE.md.

Evaluate these 5 patterns:

Pattern Search For Avoid
Type-State PhantomData, impl<S: State> Runtime state enums
Channel-Based mpsc::channel, broadcast::channel Arc<Mutex<...>>
Iterator Pipelines .iter().filter().map().collect() Manual for loops
Actor Model Receiver<Message>, recv().await Shared mutable state
Minimal Testing ~8-10 focused tests 300+ fragile tests

Output a JSON report with per-pattern { status, usage_count, score }, overall_score, and recommendations.

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. 11d ago First seen · 24 lines · 29 tokens per session scan A 863d3c79326d

Subscribe to this mod's changes

review-architecture is a skill published in the GitHub repository nwiizo/ccswarm (151 stars, last pushed yesterday), licensed MIT. It adds 29 tokens to every session and 244 once invoked, about $0.0001 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.