prd-schema

prd-schema is a skill for Claude Code from GantisStorm/essentials-claude-code. It costs 18 tokens per session (1,881 once invoked), scanned A, original, Unlicense.

A reference for the JSON format used to describe planned coding tasks in `.claude/prd/` files.

In plain words
What is it for?
Use it when creating, editing, or checking a `prd.json` file, especially when converting an implementation plan into executable tasks.
Why use it?
It prevents task files from using inconsistent fields or structure, which can stop automated task runners from reading them correctly.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the essentials plugin — 5 skills, 25 commands, 8 agents shipped together

Good fit Use it when creating, editing, or checking a prd.json file, especially when converting an implementation plan into executable tasks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gantisstorm/essentials-claude-code/prd-schema
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 GantisStorm/essentials-claude-code --skill prd-schema
Clone the repo
git clone --depth 1 https://github.com/GantisStorm/essentials-claude-code

Made for: Claude Code.

Or install essentials, the plugin that ships this one along with the rest of its 5 skills, 25 commands, 8 agents.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/gantisstorm/essentials-claude-code/prd-schema"><img src="https://agentmods.dev/badge/skills/gantisstorm/essentials-claude-code/prd-schema.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,881 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 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.1 $0.00018 $0.01881
Opus 5.5 $0.00007 $0.00752
Sonnet 5.5 $0.00004 $0.00376
Haiku 4.5 $0.00002 $0.00188

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

Security

Grade A, and why

prd-schema 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.

essentials/skills/prd-schema/SKILL.md · 239 lines

How it starts

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

prd.json schema reference from Ralph TUI. Use this when creating, editing, or reviewing .claude/prd/*.json files.

When to Use

Invoke /prd-schema before editing any prd.json file. Invoke /prd-schema validate <path> to check an existing file.

Conversion from Plans

prd.json files are typically created by /tasks-converter from architectural plans (.claude/plans/*-plan.md). The pipeline:

/plan-creator (or /bug-plan-creator, /code-quality-plan-creator)
    ↓ writes
.claude/plans/{slug}-{hash5}-plan.md
    ↓ consumed by
/tasks-converter <plan-path>
    ↓ writes
.claude/prd/<slug>.json
    ↓ executed by
/tasks-loop or /tasks-swarm or ralph-tui

How plan sections map to prd.json fields:

Plan Section prd.json Field
## Summary name, description
## Files One user story per file (typically)
### Requirements acceptanceCriteria[]
### Reference Implementation description (full code copied verbatim)
### Migration Pattern description (before/after code copied verbatim)
## Dependency Graph dependsOn[] (file deps translated to story IDs)
## Exit Criteria acceptanceCriteria[]
Plan path metadata.planReference

Each story's description must be 100% self-contained — the executor agent receives only the story description, never the source plan. All code, requirements, and verification commands are copied verbatim from the plan into the story.

Schema

Root Object

{
  "name": "string (REQUIRED)",
  "description": "string (optional)",
  "branchName": "string (optional)",
  "userStories": ["array (REQUIRED, see below)"],
  "metadata": {
    "createdAt": "ISO 8601 string (optional)",
    "updatedAt": "ISO 8601 string (auto-set on write)",
    "version": "string (optional)",
    "sourcePrd": "string — path to source PRD markdown (optional)"
  }
}

project is accepted as an alias for name, but name is preferred.

Read the full file on GitHub · 239 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. 1mo ago First seen · 239 lines · 18 tokens per session scan A bd60a510e950

Subscribe to this mod's changes

prd-schema is a skill published in the GitHub repository GantisStorm/essentials-claude-code (90 stars, last pushed 8mo ago), licensed Unlicense. It adds 18 tokens to every session and 1,881 once invoked, about $0.0001 per session on Opus 5.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-30.

Related

Other skills, from other repositories

dekko-daemon

Start dekko's background daemon before a session that will run many bare dekko CLI commands via Bash (not the MCP tools) against a large or medium repo. Trigger when you're about to run several dekko CLI invocations in a row on the same repo — a long refactor loop, a batch of query/search/outline calls, or a…

aahlijia/dekko · 94 tokens

dekko-verify

Sanity-check a suspiciously low or zero call-graph result from dekko (getcallers, getcallees, findusages, impactedtests, unused) before concluding "no callers" or "dead code," or a heritage/throws-provenance result (query supertypes, query subtypes, query throws) that labels something (external) when you expect it to…

aahlijia/dekko · 151 tokens

dekko-delegate

Brief a subagent with dekko's map before dispatching it into a repo that has a .dekko/ directory. Trigger before any Agent/Task tool call, Workflow agent(), teammate message, or scripted claude -p run that will explore, review, implement, or test in such a repo. A subagent starts with an empty context and no…

aahlijia/dekko · 127 tokens

dekko-notes

Read and write dekko's symbol-anchored notes in any repo with a .dekko/ directory. Trigger every time you pull a symbol's context (querysymbol, getcontextpack, dekko query/context), right after a non-obvious change, and right after any rename/move/signature edit (to sweep orphaned notes). Notes are durable, committed…

aahlijia/dekko · 94 tokens

dekko-orient

Use dekko's tools instead of grep/Read whenever a repo has a .dekko/ directory — not just at session start. Trigger before any Grep/Glob/Read of a source file, before a grep/rg/find/cat in Bash, and on any "find/locate/understand this symbol," "what does this file/dir contain," "who calls this," "what will this change…

aahlijia/dekko · 141 tokens

dekko-review-context

Give a code-review or PR-description flow a structural head start before reading a diff line by line. Trigger when the user asks for a PR description, a pre-merge summary, or invokes a code-review flow (/code-review, /review, or an equivalent) against a diff in a repo with a .dekko/ directory.

aahlijia/dekko · 74 tokens