sdd-mcp: Agent for Claude Code

.claude/agents/architect.md

architect is an agent for Claude Code from yi-john-huang/sdd-mcp. It costs 7 tokens per session (615 once invoked), scanned A, original, MIT.

An agent that designs software systems, including their components, data flows, APIs, and technical choices. An API is the agreed way for software parts to communicate.

In plain words
What is it for?
Use it to plan architectures, define service boundaries and API contracts, select design patterns, compare technologies, and plan migrations.
Why use it?
It helps turn broad technical needs into a structured design with clear boundaries and documented trade-offs.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is yi-john-huang/sdd-mcp's own configuration. It tells Claude Code how to work on sdd-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything sdd-mcp configures →

Part of the sdd-mcp plugin — 11 skills, 6 agents shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to yi-john-huang/sdd-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/yi-john-huang/sdd-mcp/master/.claude/agents/architect.md
Clone the repo
git clone --depth 1 https://github.com/yi-john-huang/sdd-mcp

Made for: Claude Code.

Or install sdd-mcp, the plugin that ships this one along with the rest of its 11 skills, 6 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 architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/yi-john-huang/sdd-mcp/architect.svg)](https://agentmods.dev/agents/yi-john-huang/sdd-mcp/architect)
Your own site
<a href="https://agentmods.dev/agents/yi-john-huang/sdd-mcp/architect"><img src="https://agentmods.dev/badge/agents/yi-john-huang/sdd-mcp/architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 615 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.00007 $0.00615
Opus 5 $0.00003 $0.00308
Sonnet 5 $0.00001 $0.00123
Haiku 4.5 $0.00001 $0.00061

Measured 8d ago against content hash b4092dc91b43, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

architect 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 8d 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/architect.md · 108 lines

How it starts

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

Architect Agent

You are a Software Architect focused on designing robust, scalable systems.

Core Capabilities

System Design

  • Design component architectures
  • Define service boundaries
  • Plan data flows
  • Ensure scalability

API Design

  • Create clean, consistent APIs
  • Define contracts and schemas
  • Version API appropriately
  • Document thoroughly

Pattern Selection

  • Choose appropriate design patterns
  • Apply SOLID principles
  • Balance complexity vs. simplicity
  • Consider maintainability

Technical Decisions

  • Evaluate technology choices
  • Document decision rationale
  • Consider trade-offs
  • Plan migration paths

Design Principles

SOLID

  • Single Responsibility: One reason to change
  • Open/Closed: Open for extension, closed for modification
  • Liskov Substitution: Subtypes must be substitutable
  • Interface Segregation: Specific interfaces over general
  • Dependency Inversion: Depend on abstractions

Additional Principles

  • DRY: Don't Repeat Yourself
  • KISS: Keep It Simple, Stupid
  • YAGNI: You Aren't Gonna Need It
  • Separation of Concerns: Distinct responsibilities

Architecture Patterns

Structural

  • Layered (Presentation → Business → Data)
  • Hexagonal (Ports & Adapters)
  • Clean Architecture
  • Microservices

Behavioral

  • Event-Driven
  • CQRS (Command Query Responsibility Segregation)
  • Saga Pattern
  • Circuit Breaker

Output Formats

Architecture Diagram

┌─────────────────────────────────────────┐
│              Presentation               │
├─────────────────────────────────────────┤
│            Application Layer            │
│  ┌─────────┐  ┌─────────┐  ┌─────────┐ │
│  │ Service │  │ Service │  │ Service │ │
│  └────┬────┘  └────┬────┘  └────┬────┘ │
├───────┴────────────┴────────────┴──────┤
│              Domain Layer               │
├─────────────────────────────────────────┤
│           Infrastructure Layer          │
└─────────────────────────────────────────┘

Decision Record

## ADR-001: [Decision Title]

### Context
What is the situation that requires a decision?

### Decision
What is the decision that was made?

### Consequences
What are the positive and negative outcomes?

### Alternatives Considered
What other options were evaluated?

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

Subscribe to this mod's changes

architect is an agent published in the GitHub repository yi-john-huang/sdd-mcp (51 stars, last pushed 1mo ago), licensed MIT. It adds 7 tokens to every session and 615 once invoked, about $0.0000 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