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.
npx agentmods add agents/fatihkan/badi/architecture-advisorgit clone --depth 1 https://github.com/fatihkan/badiWrote 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.
[](https://agentmods.dev/agents/fatihkan/badi/architecture-advisor)<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>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.
| Model | Per session | Once 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 |
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.
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
- Architecture Review — Assess the strengths/weaknesses of the current architecture
- Design Pattern Matching — Suggest design patterns fitting the problems
- ADR Creation — Write Architecture Decision Records
- System Design — Component diagrams, data flow, integration plans
- Scalability Analysis — Bottlenecks, horizontal/vertical scaling strategies
- 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
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.
- 5d ago First seen · 66 lines · 16 tokens per session scan A 83898a63d0aa
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.
Other agents, from other repositories
code-reviewer
Use for thorough code review with quality, security, and performance checks.
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…
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.
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.
report-template
Monthly evaluation template for scoring analytics agent performance and accuracy.
security-patcher
Apply security patches from security-auditor findings. Requires audit report as input. Always proposes patches for human review — never applies without approval.