prd-writer

prd-writer is an agent for Claude Code from andisab/swe-marketplace. It costs 262 tokens per session (1,078 once invoked), scanned A, a copy of prd-writer, MIT.

A writing agent for creating a Product Requirements Document, or PRD: a document that explains what a software project or feature should do and why. It covers goals, users, requirements, user flows, success measures, technical details, and user stories.

In plain words
What is it for?
Use it to turn a project or feature request into a detailed PRD for a software team.
Why use it?
It gives a development team a structured place to agree on what to build before implementation begins.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the product-management plugin — 3 agents shipped together

Good fit Use it to turn a project or feature request into a detailed PRD for a software team.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/andisab/swe-marketplace/pm-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/andisab/swe-marketplace

Made for: Claude Code.

Or install product-management, the plugin that ships this one along with the rest of its 3 agents.

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/andisab/swe-marketplace/pm-prd-writer/github.svg)](https://agentmods.dev/agents/andisab/swe-marketplace/pm-prd-writer)
Your own site
<a href="https://agentmods.dev/agents/andisab/swe-marketplace/pm-prd-writer"><img src="https://agentmods.dev/badge/agents/andisab/swe-marketplace/pm-prd-writer/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-writer

Your own site · 80×15
<a href="https://agentmods.dev/agents/andisab/swe-marketplace/pm-prd-writer"><img src="https://agentmods.dev/badge/agents/andisab/swe-marketplace/pm-prd-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 262 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,078 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 98% 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.00262 $0.01078
Opus 5.5 $0.00105 $0.00431
Sonnet 5.5 $0.00052 $0.00216
Haiku 4.5 $0.00026 $0.00108

Measured today against content hash 9343994c50ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 today.

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

98% identical to prd-writer — 35 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.

plugins/product-management/agents/pm-prd-writer.md · 97 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. today First seen · 97 lines · 262 tokens per session scan A 9343994c50ae

Subscribe to this mod's changes

prd-writer is an agent published in the GitHub repository andisab/swe-marketplace (21 stars, last pushed today), licensed MIT. It adds 262 tokens to every session and 1,078 once invoked, about $0.0010 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 98% identical to prd-writer, differing in 35 lines, and is treated as a copy.