write-prd

write-prd is a command for Claude Code from unixcrh/phuryn-pm-skills. It costs 13 tokens per session (933 once invoked), scanned A, a copy of write-prd, MIT.

A command that turns a feature idea or problem statement into a Product Requirements Document, or PRD. A PRD is a written plan describing what should be built, for whom, why, and how success will be judged.

In plain words
What is it for?
Use it for ideas such as enterprise sign-in, data export, or fixing onboarding drop-off. It can start from a short sentence or from a brief, research document, strategy deck, or conversation.
Why use it?
It brings vague requests, user problems, success measures, constraints, and dependencies into one document. This gives product and engineering teams a shared basis for making decisions.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the pm-execution plugin — 15 skills, 10 commands shipped together

Good fit Use it for ideas such as enterprise sign-in, data export, or fixing onboarding drop-off. It can start from a short sentence or from a brief, research document, strategy deck, or conversation.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/unixcrh/phuryn-pm-skills/write-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/unixcrh/phuryn-pm-skills

Made for: Claude Code.

Or install pm-execution, the plugin that ships this one along with the rest of its 15 skills, 10 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 write-prd

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/unixcrh/phuryn-pm-skills/write-prd"><img src="https://agentmods.dev/badge/commands/unixcrh/phuryn-pm-skills/write-prd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 933 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 100% copy Near-identical to another mod 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.00013 $0.00933
Opus 5 $0.00006 $0.00466
Sonnet 5 $0.00003 $0.00187
Haiku 4.5 $0.00001 $0.00093

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

Security

Grade A, and why

write-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 10d 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.

Origin

This is a copy

100% identical to write-prd — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

pm-execution/commands/write-prd.md · 119 lines

How it starts

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

/write-prd -- Product Requirements Document

Create a structured PRD that aligns stakeholders and guides development. Accepts anything from a vague idea to a detailed brief.

Invocation

/write-prd SSO support for enterprise customers
/write-prd Users are dropping off during onboarding — we need to fix step 3
/write-prd [upload a brief, research doc, or strategy deck]

Workflow

Step 1: Understand the Feature

Accept the input in any form:

  • A feature name ("SSO support")
  • A problem statement ("Enterprise customers keep asking for centralized auth")
  • A user request ("Users want to export their data as CSV")
  • A vague idea ("We should do something about onboarding drop-off")
  • An uploaded document (brief, research, Slack thread, email)

Step 2: Gather Context

Ask conversationally — most important questions first, fill gaps as you go:

  1. User problem: What problem does this solve? Who experiences it? How painful is it?
  2. Target users: Which user segment(s)? How many? What's their current workaround?
  3. Success metrics: How will we know this worked? What moves if we nail it?
  4. Constraints: Technical constraints, timeline, regulatory, dependencies on other teams?
  5. Prior art: Has this been attempted before? Existing solutions in the market?
  6. Scope preference: Full solution or phased approach?

If the user provides a document with context, extract what's available and only ask about gaps.

Step 3: Generate the PRD

Apply the create-prd skill to produce an 8-section document:

## Product Requirements Document: [Feature Name]

**Author**: [user]
**Date**: [today]
**Status**: Draft
**Stakeholders**: [if known]

### 1. Executive Summary
[2-3 sentences: what, for whom, why now]

### 2. Background & Context
[Problem space, prior research, market context, what prompted this]

### 3. Objectives & Success Metrics
**Goals** (what success looks like):
1. [Specific, measurable goal]
2. [...]

**Non-Goals** (explicitly out of scope):
1. [What we're not doing, and why]
2. [...]

**Success Metrics**:
| Metric | Current | Target | Measurement |
|--------|---------|--------|-------------|

### 4. Target Users & Segments
[Who this serves, user profiles, segment sizing]

### 5. User Stories & Requirements

**P0 — Must Have**:
| # | User Story | Acceptance Criteria |
|---|-----------|-------------------|

**P1 — Should Have**:
| # | User Story | Acceptance Criteria |
|---|-----------|-------------------|

**P2 — Nice to Have / Future**:
| # | User Story | Acceptance Criteria |
|---|-----------|-------------------|

### 6. Solution Overview
[High-level approach, key design decisions, technical approach if known]

### 7. Open Questions
| Question | Owner | Deadline |
|----------|-------|----------|

### 8. Timeline & Phasing
[Milestones, dependencies, phasing if applicable]

Read the full file on GitHub · 119 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. 10d ago First seen · 119 lines · 13 tokens per session scan A 7c7a1646905e

Subscribe to this mod's changes

write-prd is a command published in the GitHub repository unixcrh/phuryn-pm-skills (2 stars, last pushed 6mo ago), licensed MIT. It adds 13 tokens to every session and 933 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to write-prd, differing in 0 lines, and is treated as a copy.