Borrowing it
Nothing to install: this file belongs to tam159/next-role. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/tam159/next-role/main/.agents/skills/write-prd/SKILL.mdgit clone --depth 1 https://github.com/tam159/next-roleWrote 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/skills/tam159/next-role/write-prd)<a href="https://agentmods.dev/skills/tam159/next-role/write-prd"><img src="https://agentmods.dev/badge/skills/tam159/next-role/write-prd/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/skills/tam159/next-role/write-prd"><img src="https://agentmods.dev/badge/skills/tam159/next-role/write-prd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00084 | $0.02295 |
| Opus 5.5 | $0.00034 | $0.00918 |
| Sonnet 5.5 | $0.00017 | $0.00459 |
| Haiku 4.5 | $0.00008 | $0.00230 |
Grade A, and why
write-prd scanned grade A 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 2mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- Verification steps you ran (curl, browser checks, tests) — these become *How to verify end-to-end*. How it starts
The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Write a PRD that captures the feature implemented in the current session, in the house style of docs/prd/. That folder is an OKF (Open Knowledge Format) knowledge bundle — see docs/prd/README.md — so every PRD is a markdown concept document with YAML frontmatter, and the relative links between PRDs draw the edges of the bundle's knowledge graph.
The audience is a future developer or AI agent reading the file cold — months later, after the code has drifted. The point is not to restate what the diff shows; it is to capture the why and the non-obvious decisions that the code alone can't explain. The frontmatter description doubles as the PRD's one line in docs/prd/index.md — it is what an AI agent reads to decide whether to open the file at all, so make it carry the feature's essence.
Workflow
-
Anchor on the existing style. Read at least one existing PRD in
docs/prd/(e.g.10_print_file_as_pdf.mdor03_jd_url_extraction.md) before writing. Match its tone, density, and section order. Do not invent new sections. -
Mine the session for content. The conversation history is your source material — pull from:
- The user's original requirement (becomes the Why).
- Approach choices made during planning, especially ones where you considered alternatives and picked one. These are the Decisions worth remembering.
- The actual files touched (use
git diff/git statusif needed to be precise) — these populate Files of interest. - User corrections and "no, do it this way" moments — these are usually the most valuable decisions to record.
- Verification steps you ran (curl, browser checks, tests) — these become How to verify end-to-end.
-
Propose a filename and version, then confirm. Filename is
NN_snake_case.md—NNis the zero-padded next number in sequence (ls docs/prd/for the current highest; e.g.28_feature_name.md). Version isv1for a new feature,v2etc. if extending one — check whether a related PRD already exists. Briefly tell the user the proposed path and version in one line, then write it. Don't block on a long confirmation cycle; the user can rename if needed. -
Write the PRD using the template below. Save to
docs/prd/NN_<name>.md. -
Update the bundle indexes. Add the PRD's line to
docs/prd/index.mdunder# PRD— title-alphabetical order, format* [Title](NN_name.md) - <description from frontmatter>— then regeneratedocs/prd/viz.html(commands live indocs/prd/README.md→ "Adding or updating a PRD"; expect the reported concept count to go up by one). -
Show the user the path and a one-line summary of what was written. Don't dump the PRD back into chat — they can open the file.
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.
- 2mo ago First seen · 115 lines · 84 tokens per session scan A 2a3716ad30d9
write-prd is a skill published in the GitHub repository tam159/next-role (65 stars, last pushed 2d ago), licensed MIT. It adds 84 tokens to every session and 2,295 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
write-prd compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| write-prdtam159/next-role | Skill | 65 | 2d ago | MIT | A | 84 | Claude Code, Codex |
| ai-dev-jobs-mcp-v2diegosouzapw/awesome-omni-skills | Skill | 170 | 4mo ago | MIT | A | 78 | Claude Code, Codex |
| ai-dev-jobs-mcpdiegosouzapw/awesome-omni-skills | Skill | 170 | 4mo ago | MIT | A | 76 | Claude Code, Codex |
| openspec-verify-changeFission-AI/OpenSpec | Skill | 74k | yesterday | MIT | A | 51 | Claude Code |
| schema-explorationlangchain-ai/deepagents | Skill | 31k | yesterday | MIT | A | 57 | Claude Code, Codex |
| cli-resiliencediegosouzapw/OmniRoute | Skill | 83k | 5d ago | MIT | A | 35 | Claude Code, Codex |
| merge-batchdiegosouzapw/OmniRoute | Skill | 83k | 5d ago | MIT | A | 46 | Claude Code |