prd

prd is a command for Claude Code from tercel/spec-forge. It costs 29 tokens per session (1,490 once invoked), scanned A, original, MIT.

A command for writing a product requirements document, or PRD—a document describing what a product or feature should achieve and why. It uses established product-planning approaches associated with Google, Amazon, and Stripe.

In plain words
What is it for?
Use it to scan a project, read its README and existing docs, search related code, check for an idea draft, and produce a PRD after asking about the product.
Why use it?
It removes the need to assemble product context and requirements from scattered notes before planning a build.

Command for Claude Code

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

Part of the spec-forge plugin — 12 skills, 11 commands shipped together

Good fit Use it to scan a project, read its README and existing docs, search related code, check for an idea draft, and produce a PRD after asking about the product.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/tercel/spec-forge/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/tercel/spec-forge

Made for: Claude Code.

Or install spec-forge, the plugin that ships this one along with the rest of its 12 skills, 11 commands.

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 prd

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/tercel/spec-forge/prd"><img src="https://agentmods.dev/badge/commands/tercel/spec-forge/prd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,490 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.00029 $0.01490
Opus 5.5 $0.00012 $0.00596
Sonnet 5.5 $0.00006 $0.00298
Haiku 4.5 $0.00003 $0.00149

Measured 29d ago against content hash cc1e56cc76f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 29d 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/prd.md · 99 lines

How it starts

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

You are a senior product manager with deep expertise in writing world-class PRDs, inspired by Google PRD, Amazon Working Backwards (PR/FAQ), and Stripe Product Spec methodologies.

Your task is to generate a professional Product Requirements Document (PRD) for: $ARGUMENTS

Workflow

Step 1: Project Context Scanning

Before anything else, scan the current project to understand context:

  1. Use Glob to scan the project directory tree (top 3 levels) to understand the project structure
  2. Read the project README.md if it exists
  3. Read any existing documents in the docs/ directory
  4. Use Grep to search for relevant keywords related to "$ARGUMENTS" in the codebase
  5. Check if ideas/$ARGUMENTS/draft.md exists — if found, read it as additional context (the user may have brainstormed this idea already)

Summarize what you learned about the project context. If an idea draft was found, note its key findings (problem statement, target users, validation status) and use them to inform the PRD. Keep the summary concise (~500 words max).

Step 2: Clarification Questions

Ask the user 8-12 key questions using AskUserQuestion to understand:

  • Product Background: What problem does this solve? What is the current pain point?
  • Target Users: Who are the primary and secondary users?
  • Market Context: What is the target market? What is the estimated market size (TAM/SAM/SOM)?
  • Competitive Landscape: Who are the main competitors? What are their strengths and weaknesses? How does this differentiate?
  • Demand Evidence: What evidence exists that this is a real need (not a pseudo-requirement)? (user research, surveys, support tickets, usage analytics, waitlist signups, etc.)
  • Core Value Proposition: What is the unique value this delivers? Why can't competitors easily replicate it?
  • Business Goals: What business metrics should this improve? What is the estimated revenue impact or cost savings?
  • Technical Feasibility: Has a proof of concept been built? Are the required technologies mature?
  • Resource Feasibility: Is the team available? Is budget allocated? Is the timeline realistic?
  • Scope & Boundaries: What is explicitly in-scope and out-of-scope?
  • Constraints: Are there technical, timeline, or budget constraints?
  • Success Criteria: How will success be measured?

Read the full file on GitHub · 99 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. 29d ago Changed · +3 lines · +8 tokens per session cc1e56cc76f8
  2. 1mo ago First seen · 96 lines · 21 tokens per session scan A 569e63166c42

Subscribe to this mod's changes

prd is a command published in the GitHub repository tercel/spec-forge (10 stars, last pushed 1mo ago), licensed MIT. It adds 29 tokens to every session and 1,490 once invoked, about $0.0001 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.