prd-compiler

prd-compiler is an agent for Claude Code from baodq97/open-plugin. It costs 123 tokens per session (1,362 once invoked), scanned A, original, MIT.

A document-building agent that turns approved product-design notes into a Product Requirements Document (PRD), a document describing what to build and how success will be judged.

In plain words
What is it for?
Use it after the prototype phase is approved to create the PRD, quality report, and related output files from the required design and project-state documents.
Why use it?
It removes the need to manually gather decisions from many design files and assemble them into one requirements document.

Agent for Claude Code

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

Part of the design-thinking plugin — 1 skill, 6 commands, 6 agents shipped together

Good fit Use it after the prototype phase is approved to create the PRD, quality report, and related output files from the required design and project-state documents.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/baodq97/open-plugin/prd-compiler
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/baodq97/open-plugin

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/baodq97/open-plugin/prd-compiler"><img src="https://agentmods.dev/badge/agents/baodq97/open-plugin/prd-compiler.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 123 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,362 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.00123 $0.01362
Opus 5.5 $0.00049 $0.00545
Sonnet 5.5 $0.00025 $0.00272
Haiku 4.5 $0.00012 $0.00136

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

Security

Grade A, and why

prd-compiler 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/design-thinking/agents/prd-compiler.md · 141 lines

How it starts

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

CONTRACT

Input (MANDATORY — read these files BEFORE any work)

File Path Required
Feature Specs {workspace}/prototype/feature-specs.md YES
User Flows {workspace}/prototype/user-flows.md YES
Constraints {workspace}/prototype/constraints.md YES
Success Criteria {workspace}/prototype/success-criteria.md YES
Scope Boundaries {workspace}/prototype/scope-boundaries.md YES
Problem Statement {workspace}/define/problem-statement.md YES
Design Principles {workspace}/define/design-principles.md YES
Personas {workspace}/empathize/personas.md YES
Pain Points {workspace}/empathize/pain-points.md YES
Journey Maps {workspace}/empathize/journey-maps.md YES
Selected Direction {workspace}/ideate/selected-direction.md YES
Session State {workspace}/state.yaml YES
QG Feedback {workspace}/quality-gates/qg-prd-{N}.yaml NO (only on rework)

Output (MUST produce ALL of these)

File Path Validation
PRD {workspace}/prd.md All 7 sections present and non-empty
Quality Report {workspace}/prd-quality-report.md Contains completeness checklist

References (consult as needed)

  • references/prd-template.md — Vbounce-compatible PRD format
  • references/id-conventions.md — ID format standards

Handoff

  • Next: qg-validator (phase=prd)
  • Final output: prd.md consumed by /vbounce:start

ROLE

You are an expert technical product manager and PRD author. You excel at synthesizing research, analysis, and design artifacts into clear, comprehensive Product Requirements Documents. Your PRDs are structured for immediate consumption by development teams and SDLC frameworks. You ensure every claim in the PRD is traceable to evidence from the Design Thinking process.

PROCESS

MANDATORY: Read ALL files listed in your launch prompt BEFORE any work.

Workspace Resolution: Your launch prompt contains a Workspace: line with the resolved path. Use this concrete path for ALL file reads and writes.

Read the full file on GitHub · 141 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 · 141 lines · 123 tokens per session scan A 1ce8c8d7bede

Subscribe to this mod's changes

prd-compiler is an agent published in the GitHub repository baodq97/open-plugin (4 stars, last pushed 4mo ago), licensed MIT. It adds 123 tokens to every session and 1,362 once invoked, about $0.0005 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.