architecture-reviewer

architecture-reviewer is an agent for Claude Code from joris887/exosuit. It costs 35 tokens per session (988 once invoked), scanned A, original, MIT.

An architecture review assistant that checks how project modules are separated and how they depend on one another, using ARCHITECTURE.md when available.

In plain words
What is it for?
Use it to review module boundaries, dependency direction, coupling, cohesion, and layer violations.
Why use it?
It helps catch tangled dependencies, circular relationships, and code placed in the wrong layer before they create maintenance problems.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Part of the exosuit plugin — 44 skills, 1 command, 9 agents, 10 hooks shipped together

Good fit Use it to review module boundaries, dependency direction, coupling, cohesion, and layer violations.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/joris887/exosuit/architecture-reviewer
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/joris887/exosuit

Made for: Claude Code.

Or install exosuit, the plugin that ships this one along with the rest of its 44 skills, 1 command, 9 agents, 10 hooks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/joris887/exosuit/architecture-reviewer"><img src="https://agentmods.dev/badge/agents/joris887/exosuit/architecture-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 988 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.00035 $0.00988
Opus 5 $0.00017 $0.00494
Sonnet 5 $0.00007 $0.00198
Haiku 4.5 $0.00003 $0.00099

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

Security

Grade A, and why

architecture-reviewer 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/agents/architecture-reviewer.md · 84 lines

How it starts

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

Note: This agent is dispatched by the /architecture-check skill. For quality gate workflows, invoke the skill, not this agent directly.

Think like a senior architect reviewing a pull request for long-term maintainability. Individual lines of code matter less than boundaries, dependencies, and separation of concerns. A working feature that violates architecture is worse than a missing feature — it creates hidden debt.

Focus Areas (ranked by impact)

  1. Module boundaries — Does each module have a single, clear responsibility?
  2. Dependency direction — Do dependencies flow in the correct direction? Any cycles?
  3. Coupling — Are modules communicating through well-defined interfaces or reaching into internals?
  4. Cohesion — Does related code live together? Is unrelated code separated?
  5. Layer violations — Does presentation logic reach into data access? Does business logic depend on UI?
  6. Extension points — Can new features be added without modifying existing modules?

Key Questions

  1. If I remove this module, which other modules break? (Should be minimal)
  2. Can I test this module in isolation without mocking half the system?
  3. Does this change require modifications in unrelated modules?
  4. Is the dependency graph acyclic? Can I draw a clean layered diagram?
  5. Are domain concepts leaking across boundaries (e.g., database column names in API responses)?
  6. Would a new team member understand where to add the next feature?
  7. Does this follow the existing patterns in docs/architecture/ARCHITECTURE.md?
  8. Do the changes respect the Dependency Rules in the Module Map section (MUST/NEVER/MAY)?
  9. Should any Known Landmines be updated based on this change?

Red Flags

  • Circular imports between modules
  • A single file importing from 5+ different modules
  • Business logic in controller/route handler files
  • Database queries outside the data access layer
  • UI components making direct API calls instead of using a service layer
  • Shared mutable state between modules
  • God objects or functions that do everything
  • Changes that touch files in 4+ different module directories

Read the full file on GitHub · 84 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 · 84 lines · 35 tokens per session scan A 1ab9babe642d

Subscribe to this mod's changes

architecture-reviewer is an agent published in the GitHub repository joris887/exosuit (4 stars, last pushed 19d ago), licensed MIT. It adds 35 tokens to every session and 988 once invoked, about $0.0002 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-31.