write-a-prd

write-a-prd is a skill for Claude Code, Codex from craigcossairt/trellis. It costs 51 tokens per session (82 once invoked), scanned A, a copy of write-a-prd, MIT.

A product requirements document (PRD) writing workflow that turns a feature idea into a documented, agreed plan.

In plain words
What is it for?
It is for planning new features, identifying the modules to build or change, deciding what needs tests, and submitting the finished PRD to an issue tracker.
Why use it?
It removes guesswork by examining the existing code, asking detailed questions, and resolving design decisions before implementation begins.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; installed under .agents/ (shared by several agents).

Good fit It is for planning new features, identifying the modules to build or change, deciding what needs tests, and submitting the finished PRD to an issue tracker.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/craigcossairt/trellis/write-a-prd
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.

Any agent
npx skills add craigcossairt/trellis --skill write-a-prd
Clone the repo
git clone --depth 1 https://github.com/craigcossairt/trellis

Made for: Claude Code, Codex.

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 write-a-prd

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

agentmods 80×15 button for write-a-prd

Your own site · 80×15
<a href="https://agentmods.dev/skills/craigcossairt/trellis/write-a-prd"><img src="https://agentmods.dev/badge/skills/craigcossairt/trellis/write-a-prd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 82 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 84% copy Near-identical to another mod 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.00051 $0.00082
Opus 5.5 $0.00020 $0.00033
Sonnet 5.5 $0.00010 $0.00016
Haiku 4.5 $0.00005 $0.00008

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

Security

Grade A, and why

write-a-prd 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.

Origin

This is a copy

84% identical to write-a-prd — 72 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/write-a-prd/SKILL.md · 7 lines

What it actually says

Read and follow .claude/skills/write-a-prd/SKILL.md. Resolve repository paths from the Git root.

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 Changed · -76 lines 0a7f26c875c1
  2. 3mo ago First seen · 83 lines · 51 tokens per session scan A 53985ca6fa61

Subscribe to this mod's changes

write-a-prd is a skill published in the GitHub repository craigcossairt/trellis (5 stars, last pushed 5d ago), licensed MIT. It adds 51 tokens to every session and 82 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 84% identical to write-a-prd, differing in 72 lines, and is treated as a copy.

Related

write-a-prd compared with skills from other repositories

write-a-prd next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
write-a-prdcraigcossairt/trellisSkill55d agoMITA51Claude Code, Codex
implementation-loopKingEmma7/cursor-osSkill22mo agoMITA33Cursor
debugging-loopKingEmma7/cursor-osSkill22mo agoMITA37Cursor
adr-reviewahamedzoha/atelierSkill35mo agoMITA47Claude Code
lessonahamedzoha/atelierSkill35mo agoMITA56Claude Code
milestoneahamedzoha/atelierSkill35mo agoMITA47Claude Code
modeahamedzoha/atelierSkill35mo agoMITA69Claude Code