forge-prd

forge-prd is a skill for Claude Code, Codex from ForgeyClap/claude-forge. It costs 87 tokens per session (1,005 once invoked), scanned A, original, MIT.

A tool for writing a structured product requirements document, or PRD, before a substantial software feature is built. A PRD records the goal, users, scope, acceptance conditions, and test plan.

In plain words
What is it for?
Use it to scope larger builds and create a trackable ticket for each acceptance condition.
Why use it?
It turns an unclear feature request into an agreed plan and makes it easier to check whether the finished work meets the requirements.

Skill for Claude CodeCodex

Part of the forge plugin — 11 skills shipped together

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 skills/forgeyclap/claude-forge/forge-prd
Any agent
npx skills add ForgeyClap/claude-forge --skill forge-prd
Clone the repo
git clone --depth 1 https://github.com/ForgeyClap/claude-forge

Made for: Claude Code, Codex.

Or install forge, the plugin that ships this one along with the rest of its 11 skills.

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 forge-prd

README.md
[![agentmods](https://agentmods.dev/badge/skills/forgeyclap/claude-forge/forge-prd.svg)](https://agentmods.dev/skills/forgeyclap/claude-forge/forge-prd)
Your own site
<a href="https://agentmods.dev/skills/forgeyclap/claude-forge/forge-prd"><img src="https://agentmods.dev/badge/skills/forgeyclap/claude-forge/forge-prd.svg" alt="Measured on agentmods" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,005 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.00087 $0.01005
Opus 5 $0.00044 $0.00502
Sonnet 5 $0.00017 $0.00201
Haiku 4.5 $0.00009 $0.00101

Measured yesterday against content hash 8a689781bc2f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

forge-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 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/forge/skills/forge-prd/SKILL.md · 47 lines

How it starts

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

Forge PRD generator (WP3)

A Forge PRD is a structured product-requirements document the Lead writes before a non-trivial build — it forces the scope, acceptance criteria, and test plan to be explicit before agents start touching files. It is rendered to markdown by .claude/forge-bin/forge-prd.cjs, a zero-dependency writer that stores both the markdown and its structured JSON meta under .claude/forge-prd/.

When the Lead generates one

  • Before a non-trivial feature/build (new module, new integration, anything touching 3+ files) — not for a 1-2 line fix.
  • Typically right after Deep Learn Mode (forge-deeplearn skill) so the PRD's risks/architecture sections are grounded in the real codebase, not guesswork.
  • Not needed when the task is a small, well-understood change or a PRD for this exact scope already exists — check .claude/forge-prd/index.jsonl first.

How

  1. The Lead produces the PRD content itself — real analysis, not filler — as a JSON object:
    {
      "prd_id": "prd-<short-slug>",
      "title": "…", "project": "…",
      "sections": {
        "goal": "…", "users": ["…"], "problem": "…", "solution": "…", "modules": ["…"],
        "user_stories": ["…"], "mvp_scope": "…", "non_goals": "…", "architecture": "…",
        "risks": ["…"], "test_plan": "…", "roadmap": "…",
        "acceptance_criteria": [
          { "id": "ac-1", "text": "…", "owner": "coder", "required_tests": ["…"] }
        ]
      }
    }
    
    Each section value may be a plain string or an array of strings (rendered as bullets). A section the Lead genuinely has nothing for is simply omitted — it renders honestly as _(not specified)_, never invented.
  2. Write it:
    node .claude/forge-bin/forge-prd.cjs write '<prd-json>' --run <run_id> --tickets
    
    • --tickets auto-creates one ticket per acceptance_criteria entry (.claude/forge-tickets/tk-<prd_id>-<n>, status: "open") — these feed the Ticket Board and the review gates the same as any other ticket.
    • --run <run_id> logs prd_generated (and one ticket_created per ticket) to that run's dashboard events.
    • Dry-run a preview without writing anything: node .claude/forge-bin/forge-prd.cjs render '<prd-json>'.

Read the full file on GitHub · 47 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 · 47 lines · 87 tokens per session scan A 8a689781bc2f

Subscribe to this mod's changes

forge-prd is a skill published in the GitHub repository ForgeyClap/claude-forge (2 stars, last pushed 1mo ago), licensed MIT. It adds 87 tokens to every session and 1,005 once invoked, about $0.0004 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-09-03.