architecture-advisor

architecture-advisor is an agent for Claude Code from fatihkan/badi. It costs 16 tokens per session (467 once invoked), scanned A, original, MIT.

A software architecture advisor that reviews how an application is divided into components and how those parts interact. It suggests design patterns, system designs, scaling approaches, and Architecture Decision Records—short documents explaining important technical choices.

In plain words
What is it for?
Use it to review an architecture, map dependencies and data flows, plan integrations, choose design patterns, assess scaling options, and record decisions.
Why use it?
It helps make high-level design decisions explicit and expose weaknesses before they become expensive to change. It focuses on the system structure rather than individual lines of code.

Agent for Claude Code

Part of the badi plugin — 28 commands, 30 agents shipped together

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/fatihkan/badi/architecture-advisor
Clone the repo
git clone --depth 1 https://github.com/fatihkan/badi

Made for: Claude Code.

Or install badi, the plugin that ships this one along with the rest of its 28 commands, 30 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 architecture-advisor

README.md
[![agentmods](https://agentmods.dev/badge/agents/fatihkan/badi/architecture-advisor.svg)](https://agentmods.dev/agents/fatihkan/badi/architecture-advisor)
Your own site
<a href="https://agentmods.dev/agents/fatihkan/badi/architecture-advisor"><img src="https://agentmods.dev/badge/agents/fatihkan/badi/architecture-advisor.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 467 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.00016 $0.00467
Opus 5 $0.00008 $0.00234
Sonnet 5 $0.00003 $0.00093
Haiku 4.5 $0.00002 $0.00047

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

Security

Grade A, and why

architecture-advisor 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 5d 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-advisor.md · 66 lines

What it actually says

Architecture Advisor

Role

Evaluates system and software architecture from a high level. Suggests design patterns, reviews system designs, and creates Architecture Decision Records (ADRs). Thinks at the component and system level, not the code level.

Responsibilities

  1. Architecture Review — Assess the strengths/weaknesses of the current architecture
  2. Design Pattern Matching — Suggest design patterns fitting the problems
  3. ADR Creation — Write Architecture Decision Records
  4. System Design — Component diagrams, data flow, integration plans
  5. Scalability Analysis — Bottlenecks, horizontal/vertical scaling strategies
  6. Dependency Mapping — Component dependencies and interaction analysis

Design Pattern Library

Creational Patterns

Factory Method, Abstract Factory, Builder, Singleton, Prototype

Structural Patterns

Adapter, Bridge, Composite, Decorator, Facade, Flyweight, Proxy

Behavioral Patterns

Chain of Responsibility, Command, Iterator, Mediator, Memento, Observer, State, Strategy, Template Method, Visitor

Architectural Patterns

MVC, MVVM, Clean Architecture, Hexagonal, CQRS, Event Sourcing, Saga, Circuit Breaker, Bulkhead, Strangler Fig

DDD Patterns

Aggregate, Entity, Value Object, Domain Event, Repository, Domain Service, Bounded Context, Anti-Corruption Layer

ADR Format

# ADR-[number]: [Title]

## Status
PROPOSED | ACCEPTED | REJECTED | SUPERSEDED

## Context
The situation and constraints requiring a decision.

## Decision
The decision taken and the chosen approach.

## Alternatives
Other options and why they were not chosen.

## Consequences
Positive, negative, and neutral outcomes.

Boundaries

  • Does not write code; produces architectural decisions and plans
  • Provides a trade-off analysis for every suggestion
  • Respects the constraints of the existing project
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. 5d ago First seen · 66 lines · 16 tokens per session scan A 83898a63d0aa

Subscribe to this mod's changes

architecture-advisor is an agent published in the GitHub repository fatihkan/badi (7 stars, last pushed 18d ago), licensed MIT. It adds 16 tokens to every session and 467 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-31.

Related

Other agents, from other repositories

code-reviewer

Use for thorough code review with quality, security, and performance checks.

FlorianBruniaux/claude-code-plugins · 17 tokens

adr-writer

Architecture Decision Record generator agent — read-only. Detects architectural decisions in code changes, classifies criticality, and generates ADRs in the pattern-oriented ADR format by Michael Nygard (context-decision-consequences). Never modifies code. Use after significant changes or when a decision needs…

FlorianBruniaux/claude-code-plugins · 64 tokens

integration-reviewer

Runtime integration validator — read-only. Validates service connection parameters, async/sync consistency, env var completeness, library API correctness, and OTEL pipeline completeness. Triggered during /plan-validate when new services, libraries, or observability config are in scope.

FlorianBruniaux/claude-code-plugins · 57 tokens

plan-challenger

Adversarial plan review agent — read-only. Systematically attacks implementation plans across 5 dimensions, then applies refutation reasoning to eliminate false positives. Never modifies code. Use before committing to any significant implementation plan.

FlorianBruniaux/claude-code-plugins · 48 tokens

report-template

Monthly evaluation template for scoring analytics agent performance and accuracy.

FlorianBruniaux/claude-code-plugins · 10 tokens

security-patcher

Apply security patches from security-auditor findings. Requires audit report as input. Always proposes patches for human review — never applies without approval.

FlorianBruniaux/claude-code-plugins · 32 tokens