prd

prd is a command for Claude Code from kid-sid/claude-spellbook. It costs 0 tokens per session (813 once invoked), scanned A, original, MIT.

A command that creates a Product Requirements Document, or PRD: a written plan describing what a product or feature should solve, who it serves, and what it must do.

In plain words
What is it for?
Use it to draft requirements for a new product or feature, including goals, user stories, priorities, and exclusions.
Why use it?
It turns available context and a few key answers into a structured starting document for planning and review.

Command for Claude Code

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.

agentmods
npx agentmods add commands/kid-sid/claude-spellbook/prd
Clone the repo
git clone --depth 1 https://github.com/kid-sid/claude-spellbook

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 prd

README.md
[![agentmods](https://agentmods.dev/badge/commands/kid-sid/claude-spellbook/prd.svg)](https://agentmods.dev/commands/kid-sid/claude-spellbook/prd)
Your own site
<a href="https://agentmods.dev/commands/kid-sid/claude-spellbook/prd"><img src="https://agentmods.dev/badge/commands/kid-sid/claude-spellbook/prd.svg" alt="Measured on agentmods" 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 813 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00813
Opus 5 $0.00000 $0.00407
Sonnet 5 $0.00000 $0.00163
Haiku 4.5 $0.00000 $0.00081

Measured 4d ago against content hash 9ab6bc4288bd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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/prd.md · 115 lines

How it starts

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

Generate a Product Requirements Document (PRD) pre-filled from context.

Instructions

  1. Ask the user (if not already specified):

    • Feature/product name: what is being built?
    • Problem statement: what user pain point does this solve?
    • Target users: who is this for?
  2. Generate the PRD using this template:

# PRD: {Feature/Product Name}

**Author:** {name}
**Date:** {YYYY-MM-DD}
**Status:** Draft | In Review | Approved
**Priority:** P0 (Critical) | P1 (High) | P2 (Medium) | P3 (Low)

## 1. Problem Statement

{What problem are we solving? Why does it matter? Include data/evidence if available.}

## 2. Goals & Success Metrics

| Goal | Metric | Target |
|------|--------|--------|
| {goal 1} | {metric} | {target value} |
| {goal 2} | {metric} | {target value} |

### Non-Goals (Explicit Exclusions)
- {thing we are deliberately NOT doing and why}

## 3. User Stories

### Primary Persona: {name/role}
- As a {role}, I want to {action} so that {benefit}
- As a {role}, I want to {action} so that {benefit}

### Secondary Persona: {name/role}
- As a {role}, I want to {action} so that {benefit}

## 4. Functional Requirements

### Must Have (P0)
- [ ] {requirement}
- [ ] {requirement}

### Should Have (P1)
- [ ] {requirement}

### Nice to Have (P2)
- [ ] {requirement}

## 5. Non-Functional Requirements

| Category | Requirement |
|----------|------------|
| Performance | {e.g., API response < 200ms at p99} |
| Scalability | {e.g., support 10K concurrent users} |
| Security | {e.g., SOC2 compliant, encrypted at rest} |
| Availability | {e.g., 99.9% uptime SLA} |
| Accessibility | {e.g., WCAG 2.1 AA compliant} |

## 6. User Flow

{Describe the primary user flow step by step, or include a diagram reference}

1. User {action}
2. System {response}
3. User {action}
4. System {response}

## 7. Technical Considerations

### Dependencies
- {external service or team dependency}

### Risks & Mitigations
| Risk | Impact | Likelihood | Mitigation |
|------|--------|-----------|------------|
| {risk} | High/Med/Low | High/Med/Low | {mitigation} |

### Open Questions
- [ ] {question that needs resolution}

## 8. Timeline & Milestones

| Milestone | Target Date | Description |
|-----------|------------|-------------|
| Design Complete | {date} | {description} |
| MVP / Alpha | {date} | {description} |
| Beta | {date} | {description} |
| GA | {date} | {description} |

## 9. Appendix

### Related Documents
- {link to design doc}
- {link to ADR}
- {link to competitive analysis}
  1. Pre-fill sections by:

    • Reading the codebase to understand existing architecture
    • Checking git history for related work
    • Inferring technical constraints from the stack
  2. Save the file to docs/prd/{kebab-case-name}.md (create directory if needed).

Read the full file on GitHub · 115 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 First seen · 115 lines · 0 tokens per session scan A 9ab6bc4288bd

Subscribe to this mod's changes

prd is a command published in the GitHub repository kid-sid/claude-spellbook (187 stars, last pushed 29d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 813 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-30.