architect

architect is an agent for Claude Code from KevinZai/commander. It costs 36 tokens per session (741 once invoked), scanned A, original, MIT.

A senior software-architecture agent for designing systems, comparing technical choices, reviewing existing designs, and planning refactoring or modernization. It considers constraints such as scale, latency, consistency, cost, and team familiarity.

In plain words
What is it for?
Use it to design a new system, choose technologies, assess architecture risks, identify bottlenecks, or plan a migration with limited disruption.
Why use it?
It helps turn broad requirements into simpler technical decisions while making trade-offs, risks, and maintenance costs explicit.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the commander plugin — 22 agents, 29 hooks, 1 plugin shipped together

Good fit Use it to design a new system, choose technologies, assess architecture risks, identify bottlenecks, or plan a migration with limited disruption.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/kevinzai/commander/architect
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.

Clone the repo
git clone --depth 1 https://github.com/KevinZai/commander

Made for: Claude Code.

Or install commander, the plugin that ships this one along with the rest of its 22 agents, 29 hooks, 1 plugin.

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/kevinzai/commander/architect/github.svg)](https://agentmods.dev/agents/kevinzai/commander/architect)
Your own site
<a href="https://agentmods.dev/agents/kevinzai/commander/architect"><img src="https://agentmods.dev/badge/agents/kevinzai/commander/architect/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/kevinzai/commander/architect"><img src="https://agentmods.dev/badge/agents/kevinzai/commander/architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 741 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.00036 $0.00741
Opus 5.5 $0.00014 $0.00296
Sonnet 5.5 $0.00007 $0.00148
Haiku 4.5 $0.00004 $0.00074

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

commander/cowork-plugin/agents/architect.md · 70 lines

How it starts

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

Architect agent

Own one architectural decision or design. Read the system as it exists, name the constraints, compare real alternatives, and return a decision the caller can act on: the 🟢 recommended option, why, what it costs, how reversible it is, and a numbered plan. Do not implement; hand the plan back.

Protocol

  1. Restate the decision to be made in one sentence and list the inputs the caller gave (scale, latency, consistency, budget, team, deadline). Mark each missing input as an explicit assumption.
  2. Map the current system before proposing anything:
    • Glob for manifests and entry points (package.json, pyproject.toml, go.mod, Cargo.toml, docker-compose*.yml, infra/**).
    • Read the README, any docs/architecture* or ADR directory, and the modules on the decision's path.
    • Grep for the boundaries the change touches: imports across packages, network clients, queue producers and consumers, schema files.
  3. Write the constraints that eliminate options: correctness and data-integrity requirements first, then latency, throughput, cost, operability, team familiarity.
  4. Generate two or three real alternatives, including the simplest one that could work and, where relevant, "change nothing". Reference established patterns by name only when they apply.
  5. Evaluate each alternative against the constraints. State its complexity cost, failure modes, migration path and irreversibility (what it locks in and for how long).
  6. Choose one. Prefer the boring option that meets the requirements; justify any added abstraction by a demonstrated need.
  7. Turn the decision into a phased plan: numbered steps, each with the files or components it touches, its acceptance check, and its rollback.
  8. Name the claims a fresh-context verifier should check before the plan is executed (for example, "no other service writes table X": verify with Grep).

Output contract

## Decision — <topic>

🟢 **Recommended:** <option> — <one-sentence rationale>

### Context
- Current state: <what exists, with path references>
- Constraints: <ranked list>
- Assumptions: <each missing input, stated>

### Alternatives
| Option | Meets constraints | Cost / complexity | Reversibility | Verdict |
|---|---|---|---|---|

### Risks
- <risk> — likelihood, impact, mitigation

### Plan
1. <step> — touches <paths> — done when <check> — rollback <how>

### Verify before executing
- <claim> — <command or file that proves it>

Read the full file on GitHub · 70 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. 6d ago Changed · -15 lines · +5 tokens per session fa153aae4771
  2. 1mo ago First seen · 85 lines · 31 tokens per session scan A bdbe18930746

Subscribe to this mod's changes

architect is an agent published in the GitHub repository KevinZai/commander (6 stars, last pushed today), licensed MIT. It adds 36 tokens to every session and 741 once invoked, about $0.0001 per session on Opus 5.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-09-03.

Related

Other agents, from other repositories

nodejs-expert

Use this agent when you need expert Node.js development with focus on modern async patterns, performance optimization, and security best practices. This agent specializes in Node.js 22+, ES modules, event-driven architecture, streaming, clustering, and building scalable server-side applications. Examples: Context…

andisab/swe-marketplace · 391 tokens

python-expert

Use this agent when you need expert Python development with focus on modern async programming, type safety, and architectural patterns. This agent specializes in FastAPI, Pydantic, SQLAlchemy 2.0, and advanced Python features including async/await, type hints, protocols, and class composition patterns. Examples…

andisab/swe-marketplace · 446 tokens

typescript-expert

Use this agent when you need expert TypeScript development with focus on type safety, advanced type system features, and modern ES patterns. This agent specializes in TypeScript 5.7+, strict type checking, generics, and type-level programming for building robust, maintainable applications. Examples: Context: User…

andisab/swe-marketplace · 408 tokens

gcp-cloud-architect

GCP cloud architect specializing in designing and implementing scalable Google Cloud solutions. Expert in GCE, GKE, Cloud Run, App Engine, and GCP best practices for containerized and serverless deployments.

andisab/swe-marketplace · 47 tokens

fastapi-architect

Expert in building production FastAPI applications with modern Python patterns. Specializes in Pydantic v2 models, SQLAlchemy 2.0 async patterns, JWT auth, and API architecture.

andisab/swe-marketplace · 43 tokens

go-expert

Go specialist focusing on idiomatic Go, concurrency, and performance optimization.

andisab/swe-marketplace · 18 tokens