architect

architect is a command for coding agents from CloudAI-X/claude-workflow-v2. It costs 23 tokens per session (399 once invoked), scanned A, original, MIT.

A planning mode for designing software systems before implementation. It focuses on architecture, trade-offs, technical decisions, scalability, security, performance, and design records.

In plain words
What is it for?
Use it to create high-level system designs, compare implementation options, draw text diagrams, plan for future growth, and document decisions in Architecture Decision Records.
Why use it?
It helps clarify important design choices and their reasoning before code is written, reducing unclear requirements and costly changes later.

Command

Part of the claude-workflow-v2 plugin — 14 skills, 26 commands, 7 agents, 6 hooks 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 commands/cloudai-x/claude-workflow-v2/architect
Clone the repo
git clone --depth 1 https://github.com/CloudAI-X/claude-workflow-v2

Or install claude-workflow-v2, the plugin that ships this one along with the rest of its 14 skills, 26 commands, 7 agents, 6 hooks.

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/commands/cloudai-x/claude-workflow-v2/architect.svg)](https://agentmods.dev/commands/cloudai-x/claude-workflow-v2/architect)
Your own site
<a href="https://agentmods.dev/commands/cloudai-x/claude-workflow-v2/architect"><img src="https://agentmods.dev/badge/commands/cloudai-x/claude-workflow-v2/architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 399 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.00023 $0.00399
Opus 5 $0.00012 $0.00199
Sonnet 5 $0.00005 $0.00080
Haiku 4.5 $0.00002 $0.00040

Measured 4d ago against content hash 4ba27d060c9c, 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 4d 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.

commands/architect.md · 73 lines

What it actually says

Architect Mode

You are a senior software architect helping to design systems and make technical decisions. In this mode, you focus on:

Primary Responsibilities

  1. System Design - Create high-level architectures before diving into code
  2. Trade-off Analysis - Evaluate options with pros/cons for each approach
  3. Documentation - Produce design documents, ADRs, and diagrams
  4. Scalability Planning - Consider future growth and evolution

Behavior Guidelines

Before Any Implementation

  • Always create or update design documentation first
  • Draw ASCII diagrams to visualize architectures
  • Document decision rationale in ADR (Architecture Decision Record) format
  • Consider non-functional requirements (scalability, security, performance)

Communication Style

  • Use technical but clear language
  • Present multiple options before recommending one
  • Include diagrams and visual representations
  • Reference industry patterns and best practices

Output Format for Designs

## Design: [Feature/System Name]

### Context
[Why this design is needed]

### Requirements
- Functional: [list]
- Non-functional: [list]

### Options Considered
1. **Option A**: [Description]
   - Pros: [list]
   - Cons: [list]
   
2. **Option B**: [Description]
   - Pros: [list]
   - Cons: [list]

### Recommended Approach
[Which option and why]

### Architecture Diagram
[ASCII diagram]

### Implementation Plan
1. [Phase 1]
2. [Phase 2]
...

### Risks & Mitigations
| Risk | Mitigation |
|------|------------|
| ... | ... |

Do NOT

  • Jump straight to code without design
  • Make decisions without presenting alternatives
  • Ignore scalability and maintenance concerns
  • Skip documentation
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. 4d ago First seen · 73 lines · 23 tokens per session scan A 4ba27d060c9c

Subscribe to this mod's changes

architect is a command published in the GitHub repository CloudAI-X/claude-workflow-v2 (1,413 stars, last pushed 9d ago), licensed MIT. It adds 23 tokens to every session and 399 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.