claude-scaffold: Agent for Claude Code

.claude/agents/design-doc-architect.md

design-doc-architect is an agent for Claude Code from pyramidheadshark/claude-scaffold. It costs 21 tokens per session (515 once invoked), scanned A, original, MIT.

An agent that turns client descriptions, documents, transcripts, or partial requirements into a structured design document. A design document records what a software project should do and the questions that still need answers.

In plain words
What is it for?
Use it at the start of a project to draft business context, users, data, scenarios, non-functional requirements, and prioritised questions in a design-doc.md file.
Why use it?
It creates a shared starting point before coding begins and exposes missing business or technical details early.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions Claude Code.

This is pyramidheadshark/claude-scaffold's own configuration. It tells Claude Code how to work on claude-scaffold 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 claude-scaffold configures →

Reuse

Borrowing it

Nothing to install: this file belongs to pyramidheadshark/claude-scaffold. 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/pyramidheadshark/claude-scaffold/main/.claude/agents/design-doc-architect.md
Clone the repo
git clone --depth 1 https://github.com/pyramidheadshark/claude-scaffold

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 design-doc-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/pyramidheadshark/claude-scaffold/design-doc-architect/github.svg)](https://agentmods.dev/agents/pyramidheadshark/claude-scaffold/design-doc-architect)
Your own site
<a href="https://agentmods.dev/agents/pyramidheadshark/claude-scaffold/design-doc-architect"><img src="https://agentmods.dev/badge/agents/pyramidheadshark/claude-scaffold/design-doc-architect/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 design-doc-architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/pyramidheadshark/claude-scaffold/design-doc-architect"><img src="https://agentmods.dev/badge/agents/pyramidheadshark/claude-scaffold/design-doc-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 515 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.00021 $0.00515
Opus 5 $0.00010 $0.00258
Sonnet 5 $0.00004 $0.00103
Haiku 4.5 $0.00002 $0.00052

Measured 9d ago against content hash d6292f89ca32, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

design-doc-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 9d 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/agents/design-doc-architect.md · 61 lines

How it starts

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

Agent: design-doc-architect

Purpose

Creates a complete design document from raw inputs (client description, uploaded files, voice transcripts, partial requirements). Produces a structured design-doc.md following the project template.

When to Use

Invoke at the start of every new project, before any code is written.

/agent:design-doc-architect

Or ask: "Create a design document based on [description / attached files]"

Workflow

Step 1: Intake Analysis

If multimodal files are present (PDF, docx, xlsx, images), the agent first calls the multimodal-router skill to extract structured data from them using Gemini 3 Flash Preview. All text inputs are processed directly.

Step 2: Initial Draft

Agent populates sections 0–5 of the template (business context, users, input data, scenarios, NFR). Technical sections (6–9) are left as placeholders — they will be filled during technical planning.

Step 3: Open Questions

Agent generates a prioritized list of questions for:

  • The stakeholder / client (business gaps)
  • The developer (technical ambiguities)

These appear in sections 1.5 and 9 of the document.

Step 4: Iterative Refinement

Agent re-runs steps 1–3 with each new batch of answers until all critical questions are resolved. Usually 2–3 iterations.

Step 5: Finalization

Agent marks document status as REVIEW, confirms with developer, then APPROVED when ready.

Output

  • design-doc.md in project root
  • dev/status.md initialized with Phase 1 active and backlog seeded from design doc

Instructions for Claude Code

  1. Load template from templates/design-doc.md in claude-scaffold
  2. Do NOT fill technical sections until business sections are fully resolved
  3. Every scenario in section 4 MUST have a corresponding .feature file path noted
  4. Keep language precise — avoid vague phrases like "system should be fast"
  5. All NFR must have measurable values (time in ms, percentage, count) or be marked as TBD
  6. After generating the document, immediately create dev/status.md and set Phase 1 as active

Read the full file on GitHub · 61 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. 9d ago First seen · 61 lines · 21 tokens per session scan A d6292f89ca32

Subscribe to this mod's changes

design-doc-architect is an agent published in the GitHub repository pyramidheadshark/claude-scaffold (4 stars, last pushed 4mo ago), licensed MIT. It adds 21 tokens to every session and 515 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-31.

Related

Other agents, from other repositories

mlops-engineer

ML operations agent for experiment tracking, model registry, feature stores, ML pipelines, model serving, drift monitoring, and AIOps.

pjt222/agent-almanac · 31 tokens

architecture-reviewer

Architecture and design review agent — read-only. Evaluates structural decisions, identifies design smells, and flags risks before implementation. Never modifies code. Use before merging architectural changes or after a planner produces a plan.

FlorianBruniaux/claude-code-plugins · 45 tokens

planner

Strategic planning agent — read-only exploration before implementation. Use to decompose tasks, analyze codebases, and produce a detailed plan. Never modifies files.

FlorianBruniaux/claude-code-plugins · 33 tokens

requirements-reviewer

Reviews a draft requirements.md against the conversation history and glean scratch files. Detects coverage gaps (missing user-stated requirements), hallucinations (ACs without conversational source), and quality issues (EARS structure, CONFIRMED/ASSUMPTION labels, scope clarity, Out of Scope adequacy). Triggered…

iroha924/mumei · 99 tokens

auditor

Quality assurance gate - verifies outputs, detects inconsistencies.

fatihkan/badi · 13 tokens

architect

Deep technical work. Use for complex implementation, deep debugging, cross-module reasoning, architecture review, and risky or security-sensitive changes (auth, billing, migrations, concurrency, caching, data consistency, public APIs). Also reviews work from cheaper agents for hidden flaws.

realgarit/fable-baton · 54 tokens