architecture-review

architecture-review is a skill for Claude Code, Codex from alexei-led/architect. It costs 147 tokens per session (3,387 once invoked), scanned A, original, MIT.

A repeatable, evidence-based assessment of an existing codebase’s architecture. It examines boundaries, dependencies, circular references, change impact, testing difficulty, and drift from intended design.

In plain words
What is it for?
Use it to review or audit architecture, assess coupling and modularity, locate fragile boundaries, or compare intended and actual structure.
Why use it?
It shows where the system is difficult to change or likely to break, based on code and configuration rather than documents alone.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md.

Good fit Use it to review or audit architecture, assess coupling and modularity, locate fragile boundaries, or compare intended and actual structure.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alexei-led/architect/architecture-review
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 alexei-led/architect --skill architecture-review
Clone the repo
git clone --depth 1 https://github.com/alexei-led/architect

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/alexei-led/architect/architecture-review"><img src="https://agentmods.dev/badge/skills/alexei-led/architect/architecture-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 147 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,387 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.00147 $0.03387
Opus 5.5 $0.00059 $0.01355
Sonnet 5.5 $0.00029 $0.00677
Haiku 4.5 $0.00015 $0.00339

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

Security

Grade A, and why

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

src/skills/architecture-review/SKILL.md · 282 lines

How it starts

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

Architecture review

The review loop, in order. Do not skip ahead — each step gates the next.

When to use

Use when a user wants their architecture reviewed, audited, or scored; wants to understand where modularity, coupling, dependency, blast-radius, or fragility risk lives; or wants to compare intended and observed architecture. For comparing two existing reports use architect-compare-reports. For a combined "review and refactor" request, finish the read-only review first, then recommend exactly one primary next skill: architecture-design when remediation needs a target state, or architecture-plan only when an approved target design already exists. A mutator or engineer applies changes after approval. For target architecture or requirements-to-design work without review, use architecture-design instead.

Skill navigation

  • User asks to define target architecture or work from requirements: use architecture-design instead of reviewing implementation quality.
  • Current skill: use architecture-review to compare intended architecture with observed implementation. Treat design docs as intent only; actual code, runtime config, and tests may have drifted.
  • Next skill after a report: choose one primary next step:
    • stop when the user asked for audit/scoring only;
    • architecture-design when findings need target boundaries, contracts, tests, or fitness checks;
    • architecture-plan only when the target design is already approved and the user asks for implementation sequencing.
  • After implementation, run architecture-review again with comparable scope to check whether the code now matches intent.

Task list discipline

Maintain a visible task list for the review flow. Track at least:

  1. Context and scope confirmed.
  2. Working model validated.
  3. System map built.
  4. Module volatility/change-rate judgments captured.
  5. Evidence gathered by dimension.
  6. Deterministic tool facts calibrated when available.
  7. Findings triaged.
  8. Scores assigned.
  9. Report written and checked.
  10. Next skill recommendation made.

Read the full file on GitHub · 282 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 Changed · -2 lines fd5bf3550fef
  2. 3mo ago First seen · 284 lines · 147 tokens per session scan A fbc4ca0cf94f

Subscribe to this mod's changes

architecture-review is a skill published in the GitHub repository alexei-led/architect (2 stars, last pushed 9d ago), licensed MIT. It adds 147 tokens to every session and 3,387 once invoked, about $0.0006 per session on Opus 5.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-31.

Related

architecture-review compared with skills from other repositories

architecture-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
architecture-reviewalexei-led/architectSkill29d agoMITA147Claude Code, Codex
releasehyhmrright/brooks-lintSkill1.6ktodayMITA135Claude Code, Codex
new-skillhyhmrright/brooks-lintSkill1.6ktodayMITA145Claude Code, Codex
brooks-sweephyhmrright/brooks-lintSkill1.6ktodayMITA178Claude Code
brooks-testhyhmrright/brooks-lintSkill1.6ktodayMITA161Claude Code
software-design-reviewstencila/stencilaSkill916todayApache-2.0B84Claude Code
code-that-fits-in-your-headCodeAlive-AI/ai-driven-developmentSkill1942d agoMITA215Claude Code