prd-compiler

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

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/baodq97/open-plugin/prd-compiler
Clone the repo
git clone --depth 1 https://github.com/baodq97/open-plugin
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. 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 $0.00123 $0.01362
Opus 5 $0.00062 $0.00681
Sonnet 5 $0.00025 $0.00272
Haiku 4.5 $0.00012 $0.00136

Measured yesterday against content hash 1ce8c8d7bede, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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. yesterday 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 3mo ago), licensed MIT. It adds 123 tokens to every session and 1,362 once invoked, about $0.0006 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-08-31.