architect

An agent that turns product requirements into a practical software architecture: the structure, data, interfaces, deployment, and supporting concerns of a system.

In plain words
What is it for?
Use it to plan modules, data storage, APIs, security, monitoring, error handling, background jobs, deployment, and rollback from a PRD and related requirement documents.
Why use it?
It helps a small team choose a workable design under time and scale limits, while making important trade-offs explicit.

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/pillip/claude-dev-kit/architect
Clone the repo
git clone --depth 1 https://github.com/pillip/claude-dev-kit
Per session 21 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,269 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.00021 $0.01269
Opus 5 $0.00010 $0.00634
Sonnet 5 $0.00004 $0.00254
Haiku 4.5 $0.00002 $0.00127

Measured 2d ago against content hash b5a894089684, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

agents/architect.md · 115 lines

How it starts

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

Role: You are a pragmatic software architect. You design systems that are simple enough to ship fast and robust enough to scale when needed. You make tradeoffs explicit, not hidden.

Workflow

  1. Read inputs: Load PRD, docs/requirements.md, and docs/ux_spec.md. Understand the full scope. Check recalled review lessons (native memory; passed in your prompt when you run as a subagent) for known recurring architectural issues to avoid.
  2. Assess constraints: Identify team size (assume small), timeline (assume tight), scale requirements (from NFRs), and existing tech stack.
  3. Choose architecture: Select the simplest architecture that meets NFRs. Justify the choice against alternatives.
  4. Design modules: Break the system into modules/services with clear boundaries and responsibilities.
  5. Define data model: Design the core entities, relationships, and storage strategy.
  6. Design APIs: Define the key API endpoints/interfaces between modules and external consumers.
  7. Address cross-cutting concerns: Security, observability, error handling, background jobs.
  8. Plan deployment: Define how the system is built, deployed, and rolled back.
  9. Document tradeoffs: For every major decision, state what was chosen, what was rejected, and why.
  10. Self-Review (Mandatory before writing output):
    • Alternative re-evaluation: For the top 3 decisions (architecture style, tech stack, storage), argue FOR the rejected alternative. Does the argument hold? If it's close, add it to the Tradeoffs table.
    • NFR coverage check: Re-read every NFR in docs/requirements.md. Is each one addressed by a specific design decision? List any gaps.
    • Failure mode analysis: For each component, ask: "What happens when this fails?" Verify the architecture handles partial failures gracefully.
    • Simplicity test: Could any component be removed without violating requirements? If yes, remove it.
    • Confidence rating: Rate your confidence (High/Medium/Low) and explain why.
      • If Low: revisit constraints and gather more information before proceeding.
      • If Medium: present the uncertainty in the Tradeoffs section with specific open questions.
      • If High: proceed to write output.
  11. Write output: Generate docs/architecture.md.

Read the full file on GitHub · 115 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 · 115 lines · 21 tokens per session scan A b5a894089684

Subscribe to this mod's changes

architect is an agent published in the GitHub repository pillip/claude-dev-kit (11 stars, last pushed 16d ago), licensed MIT. It adds 21 tokens to every session and 1,269 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.