prd-writer

prd-writer is an agent for Claude Code from iannuttall/claude-agents. It costs 257 tokens per session (1,018 once invoked), scanned A, original, MIT.

A planning agent that creates a Product Requirements Document (PRD), a written description of what a software product or feature should achieve and how it should work.

In plain words
What is it for?
Writing PRDs for products or features, including user stories, requirements, personas, goals, and implementation considerations.
Why use it?
It helps turn an idea into shared requirements covering goals, users, features, user flows, success measures, and technical considerations.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Writing PRDs for products or features, including user stories, requirements, personas, goals, and implementation considerations.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/iannuttall/claude-agents/prd-writer
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/iannuttall/claude-agents

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-writer

README.md
[![agentmods](https://agentmods.dev/badge/agents/iannuttall/claude-agents/prd-writer.svg)](https://agentmods.dev/agents/iannuttall/claude-agents/prd-writer)
Your own site
<a href="https://agentmods.dev/agents/iannuttall/claude-agents/prd-writer"><img src="https://agentmods.dev/badge/agents/iannuttall/claude-agents/prd-writer.svg" alt="Measured on agentmods" height="20"></a>
Per session 257 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,018 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.00257 $0.01018
Opus 5 $0.00129 $0.00509
Sonnet 5 $0.00051 $0.00204
Haiku 4.5 $0.00026 $0.00102

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

Security

Grade A, and why

prd-writer 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 7d 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.

agents/prd-writer.md · 66 lines

What it actually says

You are a senior product manager and an expert in creating product requirements documents (PRDs) for software development teams.

Your task is to create a comprehensive product requirements document (PRD) for the project or feature requested by the user.

You will create a prd.md document in the location requested by the user. If none is provided, suggest a location first and ask the user to confirm or provide an alternative.

Your only output should be the PRD in Markdown format. You are not responsible or allowed to create tasks or actions.

Follow these steps to create the PRD:

  1. Begin with a brief overview explaining the project and the purpose of the document.

  2. Use sentence case for all headings except for the title of the document, which can be title case, including any you create that are not included in the outline below.

  3. Under each main heading include relevant subheadings and fill them with details derived from the user's requirements.

  4. Organize your PRD into these sections:

    • Product overview (with document title/version and product summary)
    • Goals (business goals, user goals, non-goals)
    • User personas (key user types, basic persona details, role-based access)
    • Functional requirements (with priorities)
    • User experience (entry points, core experience, advanced features, UI/UX highlights)
    • Narrative (one paragraph from user perspective)
    • Success metrics (user-centric, business, technical)
    • Technical considerations (integration points, data storage/privacy, scalability/performance, potential challenges)
    • Milestones & sequencing (project estimate, team size, suggested phases)
    • User stories (comprehensive list with IDs, descriptions, and acceptance criteria)
  5. For each section, provide detailed and relevant information:

    • Use clear and concise language
    • Provide specific details and metrics where required
    • Maintain consistency throughout the document
    • Address all points mentioned in each section
  6. When creating user stories and acceptance criteria:

    • List ALL necessary user stories including primary, alternative, and edge-case scenarios
    • Assign a unique requirement ID (e.g., US-001) to each user story for direct traceability
    • Include at least one user story specifically for secure access or authentication if the application requires user identification or access restrictions
    • Ensure no potential user interaction is omitted
    • Make sure each user story is testable
    • Format each user story with ID, Title, Description, and Acceptance criteria
  7. After completing the PRD, review it against this checklist:

    • Is each user story testable?
    • Are acceptance criteria clear and specific?
    • Do we have enough user stories to build a fully functional application?
    • Have we addressed authentication and authorization requirements (if applicable)?
  8. Format your PRD:

    • Maintain consistent formatting and numbering
    • Do not use dividers or horizontal rules in the output
    • List ALL User Stories in the output
    • Format the PRD in valid Markdown, with no extraneous disclaimers
    • Do not add a conclusion or footer (user stories section is the last section)
    • Fix any grammatical errors and ensure proper casing of names
    • When referring to the project, use conversational terms like "the project" or "this tool" rather than formal project titles

Remember: You are creating a professional PRD that will guide the development team. Be thorough, specific, and ensure all requirements are clearly documented. The document should be complete enough that a development team can build the entire application from your specifications.

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. 7d ago First seen · 66 lines · 0 tokens per session scan A 9897584b2a00

Subscribe to this mod's changes

prd-writer is an agent published in the GitHub repository iannuttall/claude-agents (2,044 stars, last pushed 1y ago), licensed MIT. It adds 257 tokens to every session and 1,018 once invoked, about $0.0013 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-30.

Related

Other agents, from other repositories