build

A coding command that carries out an implementation plan already prepared by an architect. It turns the plan into tested code while following the project's stated design decisions.

In plain words
What is it for?
It helps implement planned features in a target module, reuse existing helpers, verify prerequisites, generate fresh output, and test the resulting code.
Why use it?
It keeps implementation focused on an agreed plan instead of making new architectural choices during coding. It also checks required files and contracts before changes begin.

Command for Claude Code

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/aidemd-mcp/server/build
Clone the repo
git clone --depth 1 https://github.com/aidemd-mcp/server

Made for: Claude Code.

Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 597 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.00000 $0.00597
Opus 5 $0.00000 $0.00298
Sonnet 5 $0.00000 $0.00119
Haiku 4.5 $0.00000 $0.00060

Measured 2d ago against content hash c3f192f64950, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

build 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.

.claude/commands/aide/build.md · 21 lines

How it starts

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

/aide:build — Build Phase

Agent: This command is executed by the aide-implementor agent.

Execute the architect's implementation plan. This is the implementor phase in build mode — the session that turns plan.aide into working, tested code without making architectural decisions mid-session.

Checklist

  • Read plan.aide in the target module. This is the primary input — it names files, sequencing, and which existing helpers to reuse
  • Read brief.aide in the same folder — the architectural-commitments file authored by the strategist during synthesize and refined by the architect during plan. Type shapes, exact strings, cross-module contracts, schema cardinality. Honor every commitment exactly. When a plan step says "honor commitment #11," #11 in brief.aide is the source of truth
  • Check ## Prerequisites. If the plan declares prerequisites, verify they exist and export the expected contracts before writing any code. If a prerequisite is missing or doesn't match, stop and escalate back to the orchestrator — do not improvise
  • Read the intent spec (.aide or intent.aide) for the target module. The plan tells you what to build; brief.aide tells you the architectural shape it must take; the intent spec tells you what counts as domain-correct
  • Execute the plan steps top-to-bottom. Check each checkbox in plan.aide as you complete it. Do not reorder steps, skip steps, or add steps. If a step is ambiguous, stop and escalate back to the architect via /aide:plan rather than inventing an answer
  • When build resolves an open question from brief.aide, update the file: append a new numbered commitment capturing the resolution, remove the question from ## Open questions. Numbers stay stable — do not renumber existing commitments
  • Write the code. No architectural improvisation — if a decision is not in plan.aide, brief.aide, or .aide, it is out of scope for this session
  • Write tests covering every behavior the spec's outcomes.desired names, plus regression coverage for outcomes.undesired. Tests are also where to assert brief.aide commitments the type system can't enforce alone (exact strings, schema cardinality, enum membership, parser rejection rules)
  • Run the tests until green
  • Run the type checker (tsc --noEmit or the project's equivalent)
  • Run aide_validate to check for spec issues introduced during the build
  • Hand off to /aide:qa — the QA agent will compare actual output against the spec's outcomes block (and consult brief.aide for structural clarification)

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

Subscribe to this mod's changes

build is a command published in the GitHub repository aidemd-mcp/server (3 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 597 tokens. 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-31.