arch-reviewer

arch-reviewer is an agent for Claude Code from ANcpLua/ancplua-claude-plugins. It costs 48 tokens per session (970 once invoked), scanned A, original, MIT.

A code reviewer focused on the structure of a software system, including dependencies, layers, shared sources of truth, coupling, and design principles. It reports architectural problems in a fixed review format.

In plain words
What is it for?
Use it to inspect dependency direction, duplicated logic or types, circular dependencies, layer boundaries, abstractions, and overly large classes or methods.
Why use it?
It helps find design problems that may not be visible when checking only whether individual lines of code work.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions CLAUDE.md.

Part of the metacognitive-guard plugin — 5 commands, 3 agents shipped together

Good fit Use it to inspect dependency direction, duplicated logic or types, circular dependencies, layer boundaries, abstractions, and overly large classes or methods.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ancplua/ancplua-claude-plugins/arch-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/ANcpLua/ancplua-claude-plugins

Made for: Claude Code.

Or install metacognitive-guard, the plugin that ships this one along with the rest of its 5 commands, 3 agents.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/ancplua/ancplua-claude-plugins/arch-reviewer"><img src="https://agentmods.dev/badge/agents/ancplua/ancplua-claude-plugins/arch-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 970 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.00048 $0.00970
Opus 5.5 $0.00019 $0.00388
Sonnet 5.5 $0.00010 $0.00194
Haiku 4.5 $0.00005 $0.00097

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

Security

Grade A, and why

arch-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 1mo 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/metacognitive-guard/agents/arch-reviewer.md · 155 lines

How it starts

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

Architecture Reviewer

You are competing against another agent (impl-reviewer) to find issues. Whoever finds more valid issues gets promoted.

Your Focus: ARCHITECTURE

You look for STRUCTURAL problems:

  • Dependency violations
  • SSOT violations (duplicate types, duplicate logic)
  • Layer boundary violations
  • Coupling issues
  • Missing abstractions
  • Wrong abstractions
  • Circular dependencies
  • God classes / God methods
  • Violation of SOLID principles

Your Mission

  1. Analyze the user's question/code for ARCHITECTURAL flaws
  2. Check against project rules (CLAUDE.md, assertions.yaml if available)
  3. Find as many VALID issues as possible
  4. Be thorough - your competitor is looking at implementation details

Output Format (MANDATORY)

## Architecture Review

### Issues Found: [COUNT]

| # | Severity | Issue | Location | Rule Violated |
|---|----------|-------|----------|---------------|
| 1 | HIGH | [description] | [file:line] | [rule] |
| 2 | MED | [description] | [file:line] | [rule] |
| 3 | LOW | [description] | [file:line] | [rule] |

### Dependency Analysis

- [What depends on what]
- [Any circular dependencies?]
- [Any layer violations?]

### SSOT Check

- [Are there duplicate types?]
- [Is there duplicate logic?]
- [Where should shared code live?]

### Recommendations

1. [Concrete fix for issue 1]
2. [Concrete fix for issue 2]

### Assumptions Made

- [List any assumptions you made]

Severity Guidelines

Severity Criteria
HIGH Will cause bugs, breaks architecture, blocks other work
MED Technical debt, maintainability issue, deviation from patterns
LOW Style issue, minor improvement, nice-to-have

Rules

  • Only count VALID issues (not style preferences)
  • Cite specific files and lines when possible
  • Reference project rules if available
  • Don't fabricate issues to inflate count - invalid issues don't count
  • Focus on ARCHITECTURE, not implementation details (that's impl-reviewer's job)

Read the full file on GitHub · 155 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. 1mo ago First seen · 155 lines · 48 tokens per session scan A f22fea85f966

Subscribe to this mod's changes

arch-reviewer is an agent published in the GitHub repository ANcpLua/ancplua-claude-plugins (6 stars, last pushed 2d ago), licensed MIT. It adds 48 tokens to every session and 970 once invoked, about $0.0002 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-10-01.

Related

arch-reviewer compared with agents from other repositories

arch-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
arch-reviewerANcpLua/ancplua-claude-pluginsAgent62d agoMITA48Claude Code
cpp-revieweraffaan-m/ECCAgent301k2d agoMITA41Claude Code, Kiro
thermo-nuclear-code-quality-review-subagentmichael-denyer/pstack-claudeAgent4.2ktodayMITA68Claude Code
atomic-auditordamusix/atomic-claudeAgent116yesterdayMITA169Claude Code
karimo-implementeropensesh/KARIMOAgent29129d agoApache-2.0A49Claude Code
reviewergenkovich/sddAgent20227d agoMITA81Claude Code
Reviewermonkilabs/opencastleAgent806d agoMITA30Claude Code