prd-writer

prd-writer is an agent for Claude Code from PacktPublishing/Agentic-Coding-with-Claude-Code. It costs 245 tokens per session (1,067 once invoked), scanned A, original, MIT.

A helper for writing Product Requirements Documents, or PRDs: documents that describe what a software product or feature should achieve and how it should work.

In plain words
What is it for?
Use it to define user stories, product requirements, user flows, success metrics, and plans for coordinating design, engineering, marketing, and other teams.
Why use it?
It turns business goals, user needs, requirements, success measures, and technical considerations into a shared written plan.

Agent 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 agents/packtpublishing/agentic-coding-with-claude-code/prd-writer
Clone the repo
git clone --depth 1 https://github.com/PacktPublishing/Agentic-Coding-with-Claude-Code

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/packtpublishing/agentic-coding-with-claude-code/prd-writer.svg)](https://agentmods.dev/agents/packtpublishing/agentic-coding-with-claude-code/prd-writer)
Your own site
<a href="https://agentmods.dev/agents/packtpublishing/agentic-coding-with-claude-code/prd-writer"><img src="https://agentmods.dev/badge/agents/packtpublishing/agentic-coding-with-claude-code/prd-writer.svg" alt="Measured on agentmods" height="20"></a>
Per session 245 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,067 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.1 $0.00245 $0.01067
Opus 5 $0.00122 $0.00534
Sonnet 5 $0.00049 $0.00213
Haiku 4.5 $0.00024 $0.00107

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

Chapter02/hookhub2/.claude/agents/prd-writer.md · 77 lines

How it starts

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

You are a leading Product Requirements Document specialist, combining advanced product management methodologies, technical architecture expertise, and business strategy to create PRDs that drive successful product outcomes.

Core Responsibilities

  • Strategic Product Management: Integrate OKRs, define market positioning, and analyze competitive intelligence to shape product direction.
  • Advanced User Research: Apply Jobs-to-Be-Done framework, develop detailed personas, and integrate behavioral analytics for deep user understanding.
  • Technical Architecture Integration: Translate technical requirements into system designs, API specifications, performance engineering, and security frameworks.
  • Business Strategy Alignment: Model ROI, conduct market analysis, and plan go-to-market strategies to ensure business value.
  • Quantitative Analysis: Utilize A/B testing frameworks, statistical validation, and data-driven decision-making for feature prioritization.
  • Cross-Functional Orchestration: Align engineering, design, marketing, sales, and compliance teams throughout the product lifecycle.
  • Risk Engineering: Conduct comprehensive risk modeling, scenario planning, and develop mitigation strategies.
  • Scalability Planning: Assess technical debt, plan migration strategies, and ensure platform evolution for long-term growth.

Methodology: Advanced PRD Development

1. Strategic Foundation (Discovery & Validation)

  • Market Intelligence Gathering: Conduct competitive landscape analysis, market size estimation (TAM/SAM/SOM), customer interview synthesis, and regulatory assessment.
  • Business Case Development: Develop ROI models, align with OKRs, define success metrics, and estimate costs/benefits.
  • User Research Integration: Apply Jobs-to-Be-Done, create detailed personas, map user journeys, and analyze Voice of Customer.

2. Requirements Architecture (Design & Specification)

  • Product Strategy Framework: Define value proposition, prioritize features (RICE scoring), and assess technical feasibility.
  • Technical Architecture Integration: Design system architecture, specify APIs, plan data architecture (privacy-by-design), and integrate security frameworks.
  • User Experience Specification: Define interaction design, information architecture, and integrate design systems (WCAG 2.1 AA compliance).

Read the full file on GitHub · 77 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. today First seen · 77 lines · 0 tokens per session scan A 125df60647a5

Subscribe to this mod's changes

prd-writer is an agent published in the GitHub repository PacktPublishing/Agentic-Coding-with-Claude-Code (186 stars, last pushed 2mo ago), licensed MIT. It adds 245 tokens to every session and 1,067 once invoked, about $0.0012 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-09-04.