generate-prd

generate-prd is a command for Claude Code from cdeust/ai-architect-mcp-spec. It costs 16 tokens per session (307 once invoked), scanned A, original, MIT.

A command that drives a pipeline for creating a production-ready product requirements document with verification and business success measures. It asks for a project description, then follows the project's ordered tool workflow until the run finishes or fails.

In plain words
What is it for?
Use it to start PRD generation from a feature description, execute each returned action, and submit the result until the pipeline is complete.
Why use it?
It turns a feature idea into a structured plan and keeps generation and verification steps from being skipped or run out of order.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the ai-architect-mcp-spec plugin — 3 skills, 1 command, 2 MCP servers shipped together

Good fit Use it to start PRD generation from a feature description, execute each returned action, and submit the result until the pipeline is complete.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/cdeust/ai-architect-mcp-spec/generate-prd
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.

Clone the repo
git clone --depth 1 https://github.com/cdeust/ai-architect-mcp-spec

Made for: Claude Code.

Or install ai-architect-mcp-spec, the plugin that ships this one along with the rest of its 3 skills, 1 command, 2 MCP servers.

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 generate-prd

README.md
[![agentmods](https://agentmods.dev/badge/commands/cdeust/ai-architect-mcp-spec/generate-prd.svg)](https://agentmods.dev/commands/cdeust/ai-architect-mcp-spec/generate-prd)
Your own site
<a href="https://agentmods.dev/commands/cdeust/ai-architect-mcp-spec/generate-prd"><img src="https://agentmods.dev/badge/commands/cdeust/ai-architect-mcp-spec/generate-prd.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 307 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.00016 $0.00307
Opus 5 $0.00008 $0.00153
Sonnet 5 $0.00003 $0.00061
Haiku 4.5 $0.00002 $0.00031

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

Security

Grade A, and why

generate-prd 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 8d 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/generate-prd.md · 33 lines

What it actually says

Generate PRD

This is the legacy entry point. The current dispatcher loop lives in packages/skill/commands/generate-prd.md and is documented in packages/skill/SKILL.md. Both run the same MCP server with the same unconditional capability set — there is no mode detection, no license gating, no environment branching.

Step 1 — Load SKILL.md

MANDATORY: Use the Read tool to read SKILL.md from the skill package (packages/skill/SKILL.md, or whatever path the host plugin resolves to via read_skill_config). It contains the dispatcher protocol, action shapes, and the full pipeline contract.

Step 2 — Drive the pipeline

If the user provided a project description in $ARGUMENTS, use it as the initial input. Otherwise, ask for a project description with AskUserQuestion.

Then call start_pipeline(feature_description, codebase_path?), display each messages entry returned, execute action, and call submit_action_result(run_id, result) until action.kind === "done" or "failed". Every action kind is governed by the SKILL.md dispatch table.

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. 8d ago First seen · 33 lines · 16 tokens per session scan A 1a2c41003a58

Subscribe to this mod's changes

generate-prd is a command published in the GitHub repository cdeust/ai-architect-mcp-spec (3 stars, last pushed yesterday), licensed MIT. It adds 16 tokens to every session and 307 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.