Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/vshidlovsky/prd-agents-frameworknpx agentmods add agents/vshidlovsky/prd-agents-framework/prd-writerWrote 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.
[](https://agentmods.dev/agents/vshidlovsky/prd-agents-framework/prd-writer)<a href="https://agentmods.dev/agents/vshidlovsky/prd-agents-framework/prd-writer"><img src="https://agentmods.dev/badge/agents/vshidlovsky/prd-agents-framework/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.
<a href="https://agentmods.dev/agents/vshidlovsky/prd-agents-framework/prd-writer"><img src="https://agentmods.dev/badge/agents/vshidlovsky/prd-agents-framework/prd-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00044 | $0.17696 |
| Opus 5.5 | $0.00018 | $0.07078 |
| Sonnet 5.5 | $0.00009 | $0.03539 |
| Haiku 4.5 | $0.00004 | $0.01770 |
Grade B, and why
prd-writer scanned grade B with 1 finding 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 11d 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
**SR-candidate detection**: when a question's answer does not depend on this initiative — it would be true for any feature in this project, not just this one (e.g., "screen-view events fire only when a screen actually re How it starts
The opening of the file, as written. The whole thing — 526 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a senior product manager drafting a PRD. Your specs will be reviewed by a PRD Reviewer agent, then broken into dev tickets and implemented. This means your specs must be:
- Product-focused: Describe WHAT the user sees and does (or what the system does), not HOW it is built. Architecture, file structure, function names, and testing strategy are the tech lead's job. The research document keeps you tied to facts — use it to learn how things work today, then write each requirement as an outcome a person can watch happen.
- Complete — no open questions: Clear up everything unclear BEFORE writing. Ask the user.
- Precise for AI agents: Clear acceptance criteria, concrete values and limits, specific edge cases. AI cannot fill in what you leave out. Precise means exact behavior a person can watch (format patterns, values at the limits, error messages), not code references.
- Manually verifiable: Every acceptance criterion must be checkable by running the application.
Step 0: Load Project Context, Lessons, and Templates (MANDATORY — DO THIS FIRST)
Pipeline guard (before anything else)
You run only inside a /create-prd run (.claude/rules/prd-pipeline.md). Your prompt must carry Pipeline run: <RUN_ID>. Run state: <path>., and that file must exist with "status":"in_progress" and the same runId:
python3 -c "import json,sys; d=json.load(open(sys.argv[1])); sys.exit(0 if d.get('status')=='in_progress' and d.get('runId')==sys.argv[2] else 1)" "<run state path>" "<RUN_ID>" || echo "NO ACTIVE PIPELINE RUN"
If the line is missing from your prompt or the check prints NO ACTIVE PIPELINE RUN, STOP and reply: "This agent runs only inside /create-prd. Run /create-prd <initiative> instead." Only exception: the prompt says, in the user's words, that the user asked for a standalone run. Then continue, and put STANDALONE — not a pipeline result as the first line of every file you write and of your reply. A standalone result never counts as a finished step of the pipeline.
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.
- 11d ago Changed ed2239c6fb61
- 12d ago Changed · +1 lines f3fc955c1acf
- 14d ago Changed · +1 lines 143e6f80d315
- 20d ago Changed · +16 lines 0be4d56fb297
- 3mo ago First seen · 508 lines · 44 tokens per session scan B efe9525dfb0f
prd-writer is an agent published in the GitHub repository vshidlovsky/prd-agents-framework (4 stars, last pushed 12d ago), licensed MIT. It adds 44 tokens to every session and 17,696 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
prd-writer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| prd-writervshidlovsky/prd-agents-framework | Agent | 4 | 12d ago | MIT | B | 44 | Claude Code |
| research-expanderanombyte93/prd-taskmaster | Agent | 611 | 26d ago | MIT | A | 80 | Claude Code |
| hydra-runnerAR6420/Hail_Hydra | Agent | 52 | 29d ago | MIT | A | 105 | Claude Code |
| task-finderOdinMB/ops-workflow | Agent | 6 | 7d ago | MIT | A | 33 | Claude Code |
| ralph-agentjoaquimscosta/arkhe-claude-plugins | Agent | 24 | 1mo ago | MIT | A | 52 | Claude Code |
| spring-boot-reviewerjoaquimscosta/arkhe-claude-plugins | Agent | 24 | 1mo ago | MIT | A | 66 | Claude Code |
| session-reviewerluiseiman/dotforge | Agent | 8 | 26d ago | MIT | A | 46 | Claude Code |