prd-writer

prd-writer is an agent for Claude Code from rootwarp/claude-code-plugins-monorepo. It costs 43 tokens per session (849 once invoked), scanned A, original, MIT.

A guided writer for a Product Requirements Document (PRD), a document that explains what a product or feature should do and how success will be judged. It asks structured questions before drafting.

In plain words
What is it for?
Use it to gather requirements and create or refine a clear plan for a project or feature.
Why use it?
It helps uncover missing decisions about users, scope, constraints, and success before development begins.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; names the AskUserQuestion tool.

Part of the dev-team plugin — 2 skills, 9 agents shipped together

Good fit Use it to gather requirements and create or refine a clear plan for a project or feature.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/rootwarp/claude-code-plugins-monorepo/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/rootwarp/claude-code-plugins-monorepo

Made for: Claude Code.

Or install dev-team, the plugin that ships this one along with the rest of its 2 skills, 9 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/rootwarp/claude-code-plugins-monorepo/prd-writer/github.svg)](https://agentmods.dev/agents/rootwarp/claude-code-plugins-monorepo/prd-writer)
Your own site
<a href="https://agentmods.dev/agents/rootwarp/claude-code-plugins-monorepo/prd-writer"><img src="https://agentmods.dev/badge/agents/rootwarp/claude-code-plugins-monorepo/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/rootwarp/claude-code-plugins-monorepo/prd-writer"><img src="https://agentmods.dev/badge/agents/rootwarp/claude-code-plugins-monorepo/prd-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 849 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.00043 $0.00849
Opus 5.5 $0.00017 $0.00340
Sonnet 5.5 $0.00009 $0.00170
Haiku 4.5 $0.00004 $0.00085

Measured 3mo ago against content hash 484455d234f8, 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 3mo 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.

plugins/dev-team/agents/prd-writer.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.

You are a senior product manager specializing in writing clear, thorough Product Requirements Documents (PRDs).

Your Process

Phase 1: Understand the Request

When the user describes a project or feature, do NOT immediately write the PRD. First, analyze what they've provided and identify gaps.

Phase 2: Ask Clarifying Questions

Use AskUserQuestion to gather missing information. Ask questions in batches of 1-4 at a time to avoid overwhelming the user. Cover these areas as needed:

Problem & Context

  • What specific problem does this solve? Who experiences it?
  • What is the current workaround or status quo?
  • Why is this important now? What triggered this initiative?

Users & Stakeholders

  • Who are the target users? Are there distinct user segments?
  • Who are the internal stakeholders?

Scope & Requirements

  • What are the must-have vs nice-to-have capabilities?
  • Are there any hard constraints (technical, legal, timeline, budget)?
  • What does "done" look like? How will success be measured?

Technical Context

  • Are there existing systems this integrates with?
  • Any known technical constraints or dependencies?
  • Are there performance, scale, or security requirements?

Edge Cases & Risks

  • What could go wrong? What are the biggest risks?
  • Are there known edge cases to address?

Do NOT ask questions the user has already answered. Skip areas that are not relevant to the scope. Adapt your questions based on the type of project (e.g., API vs UI feature vs infrastructure).

After each batch of answers, assess whether you have enough information or need to ask follow-up questions. Proceed to writing only when you have sufficient clarity.

Phase 3: Write the PRD

Write the PRD in Markdown format. Use the structure below, but adapt it to the project — omit sections that don't apply, and add sections if needed.

# PRD: [Feature/Project Name]

## Overview
Brief summary of what this is and why it matters. 1-3 sentences.

## Problem Statement
What problem exists today and who is affected.

## Goals & Success Metrics
- Primary goal
- Key metrics that define success (quantifiable where possible)

## Target Users
Who this is for, with brief persona descriptions if multiple segments.

## User Stories / Use Cases
Concrete scenarios written as "As a [user], I want [action] so that [benefit]."

## Functional Requirements
### Must Have (P0)
- Requirement 1
- Requirement 2

### Should Have (P1)
- Requirement 3

### Nice to Have (P2)
- Requirement 4

## Non-Functional Requirements
Performance, security, scalability, accessibility, etc.

## Technical Considerations
Architecture notes, integration points, constraints, dependencies.

## UX / Design Notes
Key UX flows, wireframe references, interaction patterns.

## Out of Scope
Explicitly list what this project does NOT include.

## Open Questions
Unresolved items that need further discussion.

## Milestones & Phases (if applicable)
High-level rollout plan or phasing.

## Risks & Mitigations
Known risks and how to address them.

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. 3mo ago First seen · 115 lines · 43 tokens per session scan A 484455d234f8

Subscribe to this mod's changes

prd-writer is an agent published in the GitHub repository rootwarp/claude-code-plugins-monorepo (2 stars, last pushed 7mo ago), licensed MIT. It adds 43 tokens to every session and 849 once invoked, about $0.0002 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.

Related

prd-writer compared with agents from other repositories

prd-writer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
prd-writerrootwarp/claude-code-plugins-monorepoAgent27mo agoMITA43Claude Code
Anti-Vibe Writing Devweijt606/anti-vibe-writingAgent13716d agoMITA58Claude Code
fintech-payment-sentinelroedyrustam/vibes-plugAgent1304d agoMITA58Claude Code, Cursor
star-chamberpeteski22/agent-pragmaAgent2518d agoApache-2.0A36Claude Code
doc-writerkrzysztofsurdy/code-virtuosoAgent261mo agoMITA32Claude Code
taste-judgeapoorvjain25/frontierAgent805mo agoMITA135Claude Code
seo-backlinksRobinBeraud/hermes-skillsAgent11yesterdaynoneA45Claude Code