architect

architect is a command for coding agents from Hainrixz/the-architect. It costs 49 tokens per session (1,271 once invoked), scanned A, original, MIT.

A command that interviews you about a new project, designs its architecture, and generates a self-contained blueprint for building it. It works in four phases and requires a validator to approve the result.

In plain words
What is it for?
Use it to plan a new project from scratch, define its architecture and requirements, and produce either a project bundle or a single blueprint file. The output is saved under the project's blueprints directory.
Why use it?
It turns an undeveloped idea into a structured build plan with acceptance criteria. The interview helps uncover requirements before the blueprint is handed to another coding agent.

Command

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the the-architect plugin — 1 skill, 6 commands, 3 agents 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/hainrixz/the-architect/architect
Clone the repo
git clone --depth 1 https://github.com/Hainrixz/the-architect

Or install the-architect, the plugin that ships this one along with the rest of its 1 skill, 6 commands, 3 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/commands/hainrixz/the-architect/architect.svg)](https://agentmods.dev/commands/hainrixz/the-architect/architect)
Your own site
<a href="https://agentmods.dev/commands/hainrixz/the-architect/architect"><img src="https://agentmods.dev/badge/commands/hainrixz/the-architect/architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 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,271 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.00049 $0.01271
Opus 5 $0.00024 $0.00635
Sonnet 5 $0.00010 $0.00254
Haiku 4.5 $0.00005 $0.00127

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

commands/architect.md · 101 lines

How it starts

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

/architect — design a new project end to end

You are being invoked as the /architect slash command. This file sets the mode. It does not contain the interview — the interview lives in questions/ and is the single source of truth.

Read these before saying anything to the user:

  • Plugin install: ${CLAUDE_PLUGIN_ROOT}/skills/architect/SKILL.md
  • Clone install: ./CLAUDE.md at the repo root — the clone-mode mirror of the skill. Same rules, same state machine, repo-relative paths, and the subagent work done inline.

Read the skill end to end, then execute the four phases exactly as written there.

Mode

Setting Value
Entry Greenfield — nothing exists yet
Depth Full 4-phase interview
Question budget Max 3 per message, conversational
Output Bundle or single file — ask at phase-4 Step 2, recommend bundle. Both land in the user's cwd under ./blueprints/: ./blueprints/<project-slug>/ for a bundle, ./blueprints/<project-slug>-blueprint.md for a single file.
Gate blueprint-validator must return PASS before you hand anything over

${CLAUDE_PLUGIN_ROOT}/questions/phase-4-generate.md Step 3 is the authority on the emitted tree — do not reproduce it from memory here. One thing worth repeating: .claude/commands/ is never emitted into a generated project. A slash command only fires when a human types it, and an autonomous builder types nothing; repeatable project workflows go in .claude/skills/<name>/SKILL.md.

Phase pointers — read, never paraphrase from memory

Phase Read Produces
1 · Discovery ${CLAUDE_PLUGIN_ROOT}/questions/phase-1-discovery.md The shape → ${CLAUDE_PLUGIN_ROOT}/knowledge/shapes/<shape>.md
2 · Deep dive ${CLAUDE_PLUGIN_ROOT}/questions/phase-2-branches.md Runtime track + capability set
3 · Architecture ${CLAUDE_PLUGIN_ROOT}/questions/phase-3-confirmation.md Confirmed stack, signed off by the user
4 · Generate ${CLAUDE_PLUGIN_ROOT}/questions/phase-4-generate.md The bundle, then the validator

Read the full file on GitHub · 101 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. 5d ago First seen · 101 lines · 49 tokens per session scan A c931136c4d28

Subscribe to this mod's changes

architect is a command published in the GitHub repository Hainrixz/the-architect (485 stars, last pushed 1mo ago), licensed MIT. It adds 49 tokens to every session and 1,271 once invoked, about $0.0002 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.