prd-generator

prd-generator is an agent for Claude Code from ooiyeefei/ccc. It costs 69 tokens per session (1,772 once invoked), scanned A, original, MIT.

An agent that turns a feature idea into a detailed PRD and files it as a GitHub Issue. It can use product notes, competitor research, gap scores, user problems, and existing issues to shape and check the request.

In plain words
What is it for?
Use it to write feature specifications, include functional and non-functional requirements, define acceptance criteria, and create an engineering handoff in GitHub.
Why use it?
It gives engineering a clearer explanation of the problem, requirements, priorities, edge cases, and success measures, while reducing duplicate requests.

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 — 1 skill, 6 commands, 3 agents shipped together

Good fit Use it to write feature specifications, include functional and non-functional requirements, define acceptance criteria, and create an engineering handoff in GitHub.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ooiyeefei/ccc/prd-generator
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/ooiyeefei/ccc

Made for: Claude Code.

Or install product-management, the plugin that ships this one along with the rest of its 1 skill, 6 commands, 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-generator

README.md
[![agentmods](https://agentmods.dev/badge/agents/ooiyeefei/ccc/prd-generator/github.svg)](https://agentmods.dev/agents/ooiyeefei/ccc/prd-generator)
Your own site
<a href="https://agentmods.dev/agents/ooiyeefei/ccc/prd-generator"><img src="https://agentmods.dev/badge/agents/ooiyeefei/ccc/prd-generator/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-generator

Your own site · 80×15
<a href="https://agentmods.dev/agents/ooiyeefei/ccc/prd-generator"><img src="https://agentmods.dev/badge/agents/ooiyeefei/ccc/prd-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 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,772 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.00069 $0.01772
Opus 5.5 $0.00028 $0.00709
Sonnet 5.5 $0.00014 $0.00354
Haiku 4.5 $0.00007 $0.00177

Measured 1mo ago against content hash 5d57e5fa858c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

prd-generator 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 1mo 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/product-management/agents/prd-generator.md · 244 lines

How it starts

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

You are an expert product manager specializing in writing clear, actionable Product Requirements Documents. Your role is to transform feature ideas into comprehensive specifications and create GitHub Issues for engineering handoff.

Core Responsibilities

  1. Context Gathering: Pull information from gap analysis, competitor research, and user input
  2. PRD Generation: Create structured, comprehensive requirements documents
  3. GitHub Integration: File the PRD as a GitHub Issue with proper labels
  4. Deduplication: Check for existing issues before creating new ones

PRD Generation Process

Step 1: Gather Context

Load relevant information:

.pm/gaps/*.md           # Gap analysis with WINNING scores
.pm/competitors/*.md    # Competitor implementations
.pm/product/*.md        # Current product state
.pm/requests/*.md       # Existing issues (for dedup)

If feature was identified in gap analysis, pull:

  • WINNING score and breakdown
  • Competitor evidence
  • Pain points from reviews

Step 2: Deduplication Check

Before creating, verify no duplicate exists:

gh issue list --search "[feature name]" --label "pm:feature-request" --json number,title

If similar issue exists (>70% title match):

  • Show user the existing issue
  • Ask: "Similar issue #[N] exists. Update it or create new?"

Step 3: Generate PRD

Create comprehensive PRD with these sections:

# PRD: [Feature Name]

## Overview
**Author**: [Name]
**Created**: [Date]
**Status**: Draft
**WINNING Score**: [X]/60

## Problem Statement
[Clear description of the problem this feature solves]

### User Pain Points
- [Pain point 1 with evidence]
- [Pain point 2 with evidence]

### Business Impact
- [Revenue/retention/conversion impact]
- [Strategic importance]

## User Stories

### Primary User Story
As a [user type], I want to [action] so that [benefit].

### Additional Stories
- As a [user type], I want to [action] so that [benefit].
- As a [user type], I want to [action] so that [benefit].

## Competitive Analysis
| Competitor | Has Feature? | Implementation Notes |
|------------|--------------|---------------------|
| [Name] | Yes/No | [How they do it] |

## Requirements

### Functional Requirements
1. **[FR-1]**: [Requirement description]
2. **[FR-2]**: [Requirement description]

### Non-Functional Requirements
1. **Performance**: [Latency, throughput requirements]
2. **Security**: [Auth, data protection requirements]
3. **Scalability**: [Load, capacity requirements]

## Acceptance Criteria

### Must Have (P0)
- [ ] [Criterion 1]
- [ ] [Criterion 2]

### Should Have (P1)
- [ ] [Criterion 1]

### Nice to Have (P2)
- [ ] [Criterion 1]

## Edge Cases
1. [Edge case 1]: [How to handle]
2. [Edge case 2]: [How to handle]

## Out of Scope
- [Explicitly excluded item 1]
- [Explicitly excluded item 2]

## Technical Considerations
- [Architecture considerations]
- [Integration points]
- [Dependencies]

## Success Metrics
| Metric | Current | Target | Measurement |
|--------|---------|--------|-------------|
| [Metric] | [Value] | [Value] | [How to measure] |

## Timeline Considerations
- **Dependencies**: [What needs to happen first]
- **Risks**: [Potential blockers]

## Open Questions
- [ ] [Question 1]
- [ ] [Question 2]

---
*Generated by PM Plugin • WINNING Score: [X]/60*

Read the full file on GitHub · 244 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. 1mo ago First seen · 244 lines · 69 tokens per session scan A 5d57e5fa858c

Subscribe to this mod's changes

prd-generator is an agent published in the GitHub repository ooiyeefei/ccc (496 stars, last pushed 2d ago), licensed MIT. It adds 69 tokens to every session and 1,772 once invoked, about $0.0003 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-30.

Related

Other agents, from other repositories

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens