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.
git clone --depth 1 https://github.com/jed1978/ddd-architecture-coachWrote 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.
[](https://agentmods.dev/commands/jed1978/ddd-architecture-coach/phase-2)<a href="https://agentmods.dev/commands/jed1978/ddd-architecture-coach/phase-2"><img src="https://agentmods.dev/badge/commands/jed1978/ddd-architecture-coach/phase-2/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.
<a href="https://agentmods.dev/commands/jed1978/ddd-architecture-coach/phase-2"><img src="https://agentmods.dev/badge/commands/jed1978/ddd-architecture-coach/phase-2.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00051 | $0.00372 |
| Opus 5.5 | $0.00020 | $0.00149 |
| Sonnet 5.5 | $0.00010 | $0.00074 |
| Haiku 4.5 | $0.00005 | $0.00037 |
Grade A, and why
phase-2 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 2mo 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.
What it actually says
請啟動 DDD Architecture Coach(ddd-architecture-coach skill)並強制進入 Phase 2。
Argument handling:
$ARGUMENTS 必須包含 BC 名稱。為空 → 報錯並結束:
Phase 2 需要明確的 BC 參數。用法:
/phase-2 <BC-name>。要查看目前哪些 BC 在進行中,請執行不帶參數的/arch-coach。
不要 fallback 到 arch-state.md 的 last_touched.bc — 顯式命名 BC 可以避免在團隊環境中誤寫到別的 BC 的 decisions.md。
執行步驟:
- 讀取
.claude/project-context.md與.claude/arch-state.md(後者僅作為 personal cursor 紀錄用) - 讀取
references/phase2-architecture-design.md,依「Mode Selection」決定 greenfield / incremental - 執行 Pre-flight Checks,缺資料則停下並請使用者補
- 以
$ARGUMENTS指定的 BC 為 per-BC 範圍焦點 - 進入 phase 時更新
.claude/arch-state.md的last_touched: { bc: <BC>, phase: phase_2, at: <today> }
$ARGUMENTS
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.
- 2mo ago First seen · 23 lines · 51 tokens per session scan A befe2c9c8d51
phase-2 is a command published in the GitHub repository jed1978/ddd-architecture-coach (5 stars, last pushed 6mo ago), licensed MIT. It adds 51 tokens to every session and 372 once invoked, about $0.0002 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-08-31.
phase-2 compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| phase-2jed1978/ddd-architecture-coach | Command | 5 | 6mo ago | MIT | A | 51 | Claude Code |
| tenets-scaffoldbardiakhosravi/tenets | Command | 48 | yesterday | MIT | A | 0 | Claude Code |
| tenets-review-architecturebardiakhosravi/tenets | Command | 48 | yesterday | MIT | A | 0 | Claude Code |
| sdlc-devsaitarrun/Sdlc-ai-workflow | Command | 7 | 1mo ago | none | A | 0 | Claude Code |
| sdlc-opssaitarrun/Sdlc-ai-workflow | Command | 7 | 1mo ago | none | A | 31 | Claude Code |
| sdlc-parallelsaitarrun/Sdlc-ai-workflow | Command | 7 | 1mo ago | none | A | 0 | Claude Code |
| sdlc-plansaitarrun/Sdlc-ai-workflow | Command | 7 | 1mo ago | none | A | 30 | Claude Code |