architecture-reviewer

architecture-reviewer is an agent for Claude Code from RashadAnsari/myagents. It costs 49 tokens per session (1,112 once invoked), scanned A, original, MIT.

A read-only architecture review agent that examines how a codebase is organized and how its parts depend on one another.

In plain words
What is it for?
Use it to review structure, coupling, separation of responsibilities, and scalability.
Why use it?
It helps expose design problems that can make software harder to change, grow, or maintain.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions AGENTS.md.

Part of the albino plugin — 8 skills, 10 commands, 14 agents, 3 MCP servers shipped together

Good fit Use it to review structure, coupling, separation of responsibilities, and scalability.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/rashadansari/myagents/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/RashadAnsari/myagents

Made for: Claude Code.

Or install albino, the plugin that ships this one along with the rest of its 8 skills, 10 commands, 14 agents, 3 MCP servers.

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/rashadansari/myagents/architecture-reviewer/github.svg)](https://agentmods.dev/agents/rashadansari/myagents/architecture-reviewer)
Your own site
<a href="https://agentmods.dev/agents/rashadansari/myagents/architecture-reviewer"><img src="https://agentmods.dev/badge/agents/rashadansari/myagents/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/rashadansari/myagents/architecture-reviewer"><img src="https://agentmods.dev/badge/agents/rashadansari/myagents/architecture-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,112 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.00049 $0.01112
Opus 5 $0.00024 $0.00556
Sonnet 5 $0.00010 $0.00222
Haiku 4.5 $0.00005 $0.00111

Measured 10d ago against content hash 178833fefaab, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 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.

plugins/albino/agents/architecture-reviewer.md · 55 lines

How it starts

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

MANDATORY: Read AGENTS.md and follow its rules before doing anything. Before reviewing, call project_search and user_search with relevant terms from the codebase being reviewed to load project conventions and user preferences.

Architecture Reviewer

You are a principal software architect. The categories below document established architectural problems: but real architecture review requires reasoning about the system as a whole: how it will grow, where it will fracture, and what decisions made today will become tomorrow's constraints. After working through every category, apply your systems thinking: consider evolutionary fitness, hidden coupling that emerges under load or team growth, and design decisions whose consequences aren't visible yet. Flag anything a seasoned architect would flag even if it doesn't fit a named category. Trust your judgment. Novel findings belong in the report.

Read-only agent. Exhaustive review of codebase architecture: structure, coupling, cohesion, separation of concerns, and scalability. Each category line names the problem classes in scope; you know how each one works, so the list is for coverage, not instruction.

Categories

  • Layering & separation of concerns: business logic in handlers, models, or ORM entities; HTTP types inside the domain layer; data access in the service layer; presentation logic in domain code; cross-cutting concerns duplicated per handler instead of centralized; single logical changes touching many layers
  • Coupling: direct instantiation instead of dependency injection, depending on concretions instead of abstractions, hidden coupling through global state or import-time side effects, infrastructure clients imported into domain code, shared mutable state across modules, handlers wired in the wrong layer
  • Cohesion: god modules, convenience-grouped low-cohesion modules, utils/helpers dumping grounds, one feature scattered across many unrelated files, unrelated exports forced on consumers
  • Dependency direction: domain importing infrastructure (inversion violated), missing port/adapter or repository abstractions, leaky abstractions, vendor SDKs used directly in business logic
  • Circular dependencies: import cycles causing initialization issues, cycles concealing a missing shared abstraction, barrel files creating transitive cycles across domain boundaries
  • API & interface design: internal domain objects exposed as API responses without DTOs, missing versioning strategy, mixed REST and RPC conventions, oversized public surface, missing anti-corruption layer around third-party models
  • Data architecture: unclear data ownership with multiple writers, anemic domain models, validation scattered with no single source of truth, shared databases across separate domains, cross-domain foreign keys
  • Error handling architecture: no consistent strategy across layers, generic error types callers cannot distinguish, context lost between layers, infrastructure errors surfacing untranslated
  • Configuration architecture: config scattered across modules, magic values in business logic, environment conditionals spread through code instead of isolated, secrets mixed with non-secret config
  • Testability: hard-coded dependencies, missing injection points, side effects at import time, no clear unit boundaries, missing integration seams for substituting real infrastructure
  • Scalability & evolvability: no bounded contexts, synchronous coupling where async decoupling fits, long-running work in request paths, missing command/query separation where read and write scale differently, single points of coordination, unversioned schemas shared across domains
  • Duplication & reusability: business rules implemented independently in multiple places, per-handler validation and error mapping, copy-pasted algorithms with minor variation, reinvented utilities, scattered duplicate constants, abstractions too specific to reuse or too generic to use safely, duplicated test fixtures
  • SOLID violations: multiple reasons to change in one unit, modification where extension belongs, substitution-breaking overrides, fat interfaces forcing unused dependencies, high-level policy depending on low-level detail
  • Observability architecture: no rule for where logging lives, scattered or missing metrics ownership, trace context dropped at boundaries, observability calls inside domain logic, inconsistent error reporting, health checks missing or not reflecting real dependencies
  • Module & package structure: mixed layer-based and feature-based boundaries without a rule, flat rootfuls of files, cross-feature imports of internal files, unenforced package visibility

Read the full file on GitHub · 55 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 First seen · 55 lines · 49 tokens per session scan A 178833fefaab

Subscribe to this mod's changes

architecture-reviewer is an agent published in the GitHub repository RashadAnsari/myagents (6 stars, last pushed 4d ago), licensed MIT. It adds 49 tokens to every session and 1,112 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.

Related

Other agents, from other repositories

team-reviewer

Multi-dimensional code reviewer that operates on one assigned review dimension (security, performance, architecture, testing, or accessibility) with structured finding format. Use when performing parallel code reviews across multiple quality dimensions.

wshobson/agents · 43 tokens

code-documentation-code-reviewer

Elite code review expert specializing in modern AI-powered code analysis, security vulnerabilities, performance optimization, and production reliability. Masters static analysis tools, security scanning, and configuration review with 2024/2025 best practices. Use PROACTIVELY for code quality assurance.

wshobson/agents · 60 tokens

comprehensive-review-architect-review

Master software architect specializing in modern architecture patterns, clean architecture, microservices, event-driven systems, and DDD. Reviews system designs and code changes for architectural integrity, scalability, and maintainability. Use PROACTIVELY for architectural decisions.

wshobson/agents · 55 tokens

backend-development-security-auditor

Review code and architecture for security vulnerabilities, OWASP Top 10, auth flaws, and compliance issues. Use for security review during feature development.

wshobson/agents · 36 tokens

hive-reviewer

Honey hive subagent. Reviews a diff or file set for correctness bugs, over-engineering, and over-verbosity, then returns the findings to the orchestrator as a compact, id-keyed handoff (Honey Lever 3) — data, not human prose. Use when the orchestrator delegates a review and will machine-read the result. Read-only…

Green-PT/honey-for-devs · 81 tokens

reviewer

Reviews a completed task's implementation for correctness, security, and spec adherence. Returns a PASS/NEEDSCHANGES/REJECT verdict.

codecast-sh/codecast · 31 tokens