server: Command for Claude Code

.claude/commands/aide/build.md

build is a command for Claude Code from aidemd-mcp/server. It costs 0 tokens per session (738 once invoked), scanned A, original, MIT.

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

Written for Claude Code: installed under .claude/.

This is aidemd-mcp/server's own configuration. It tells Claude Code how to work on server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to aidemd-mcp/server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/aidemd-mcp/server/main/.claude/commands/aide/build.md
Clone the repo
git clone --depth 1 https://github.com/aidemd-mcp/server

Made for: Claude Code.

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 build

README.md
[![agentmods](https://agentmods.dev/badge/commands/aidemd-mcp/server/build/github.svg)](https://agentmods.dev/commands/aidemd-mcp/server/build)
Your own site
<a href="https://agentmods.dev/commands/aidemd-mcp/server/build"><img src="https://agentmods.dev/badge/commands/aidemd-mcp/server/build/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 build

Your own site · 80×15
<a href="https://agentmods.dev/commands/aidemd-mcp/server/build"><img src="https://agentmods.dev/badge/commands/aidemd-mcp/server/build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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 738 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.00000 $0.00738
Opus 5.5 $0.00000 $0.00295
Sonnet 5.5 $0.00000 $0.00148
Haiku 4.5 $0.00000 $0.00074

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

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

How it starts

The opening of the file, as written. The whole thing — 23 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

  • Check the approval gate first: read plan.aide's status with aide_frontmatter (read mode), and a sibling brief.aide's if there is one. Start only if each reads status: approved; otherwise stop and report back without changing anything
  • 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
  • Before coding each step, load every playbook entry on its Read: line, passing each address to the brain's read tool exactly as written. An entry that will not load is found through the brain's own navigation; if it still will not load, stop and report it. Matching the surrounding code is never a substitute. Report every entry as loaded or not loaded
  • 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 · 23 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. 4d ago Changed · +2 lines d45e57930e7d
  2. 2mo 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 (4 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 738 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.