arch-review

An automated architecture reviewer that checks code changes against documented design decisions, layer boundaries, dependency direction, and established project patterns.

In plain words
What is it for?
Use it to review changed files for architecture violations, smaller pattern inconsistencies, and areas where alignment with the project's design could improve.
Why use it?
It can reveal when a change crosses an architectural boundary or departs from the project's agreed structure without explanation.

Agent

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.

agentmods
npx agentmods add agents/bdfinst/agentic-dev-team/arch-review
Clone the repo
git clone --depth 1 https://github.com/bdfinst/agentic-dev-team
Per session 19 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,505 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00019 $0.01505
Opus 5 $0.00010 $0.00753
Sonnet 5 $0.00004 $0.00301
Haiku 4.5 $0.00002 $0.00151

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

Security

Grade A, and why

arch-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 2d 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/dev-team/agents/arch-review.md · 136 lines

How it starts

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

Architecture Review

Scope: always Cites:

  • architecture-assessment
  • adversarial-review-protocol

Output JSON: per ${CLAUDE_PLUGIN_ROOT}/knowledge/review-agent-output-contract.md (Whole-file load: short, canonical schema).

Status: pass=aligned with architecture, warn=minor drift, fail=boundary or pattern violation Severity: error=violates documented architectural decision or introduces prohibited dependency; warning=diverges from established pattern without documented rationale; suggestion=opportunity to align more closely with architectural intent Confidence: high=clear violation of explicit rule (wrong import direction, prohibited dependency); medium=pattern inconsistency identified, correct fix requires architectural context; none=requires human judgment (architectural tradeoff decisions, ADR authoring)

Context needs: project-structure

No Bash grant — never invoke git yourself (#1734). This agent's tools: line has no Bash. The orchestrator's dispatch for Context needs: project-structure already includes full files, the directory tree, and (for a diff-scoped review) a changed-file list with each file's change type (A/M/D/R/C). Everything this agent needs to know what changed arrives in that payload — do not attempt git diff, git status, or any other git/Bash call to "see what changed" first; that call is denied and surfaces as a spurious tool-error finding instead of a real one.

Knowledge Files

Read ${CLAUDE_PLUGIN_ROOT}/knowledge/architecture-assessment.md before starting analysis. Whole-file load: the agent uses every section — exploration patterns, ADR compliance checks, layer boundary rules, dependency direction, pattern consistency, and the optional MCP guidance.

MCP Tools (Optional)

Probe for these tools at session start. Use if available, fall back to Glob/Grep/Read if not.

Tool Purpose
Code knowledge graph (e.g., GitNexus) Cross-repo dependency mapping, blast radius, integration context
Documentation MCP (Confluence, Notion) Architecture docs, design decisions, system context

Read the full file on GitHub · 136 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. 2d ago First seen · 136 lines · 19 tokens per session scan A 8db879e6ada2

Subscribe to this mod's changes

arch-review is an agent published in the GitHub repository bdfinst/agentic-dev-team (277 stars, last pushed yesterday), licensed MIT. It adds 19 tokens to every session and 1,505 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.

Related

Other agents, from other repositories

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens