write-data-prd

write-data-prd is a command for Claude Code from hollandkevint/data-product-operator. It costs 11 tokens per session (1,103 once invoked), scanned A, original, MIT.

A command that creates a requirements document for a data product, such as a dataset, data service, or data-driven API. It covers data lineage, quality targets, user agreements, and ethical concerns that ordinary software plans may miss.

In plain words
What is it for?
Use it to gather product context and write a named Markdown PRD covering the problem, consumers, data sources, quality requirements, and related planning details.
Why use it?
It helps teams define what the data product must provide, who depends on it, and how its quality will be measured before development begins.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the data-product-operator plugin — 36 skills, 7 commands, 1 hook, 1 MCP server shipped together

Good fit Use it to gather product context and write a named Markdown PRD covering the problem, consumers, data sources, quality requirements, and related planning details.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/hollandkevint/data-product-operator/write-data-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.

Clone the repo
git clone --depth 1 https://github.com/hollandkevint/data-product-operator

Made for: Claude Code.

Or install data-product-operator, the plugin that ships this one along with the rest of its 36 skills, 7 commands, 1 hook, 1 MCP server.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/hollandkevint/data-product-operator/write-data-prd"><img src="https://agentmods.dev/badge/commands/hollandkevint/data-product-operator/write-data-prd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,103 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00011 $0.01103
Opus 5.5 $0.00004 $0.00441
Sonnet 5.5 $0.00002 $0.00221
Haiku 4.5 $0.00001 $0.00110

Measured 26d ago against content hash 42482a1f3bd4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

write-data-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 26d 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.

Strips warnings and disclaimerslowAnti-refusal

Omitting safety caveats hides risk from the user and is a common jailbreak preamble.

If none of these apply, state "No ethical considerations identified" with a brief justification.

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

commands/write-data-prd.md · 123 lines

How it starts

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

Write a Data Product PRD

Generate a requirements document for a data product. This is not a standard software PRD. Data products require sections for data lineage, quality SLAs, consumer contracts, and ethical considerations that typical PRDs skip.

Gather Context

If $ARGUMENTS provides a product name or description, use it. Otherwise, ask:

Question 1: What data product are you building? Describe the problem it solves.

Question 2: Who consumes the output? Options: analysts, clinicians, executives, data scientists, external API consumers, end users.

Question 3: What data sources are involved? List the databases, APIs, files, or systems this product depends on.

Question 4: What are the quality requirements? Consider: maximum acceptable latency, accuracy threshold, data freshness SLA, uptime requirement.

Write the PRD

Write the document to data-prd-<name>.md where <name> is a kebab-case version of the product name.

Use this structure:

1. Problem Statement

State the problem in one paragraph. Include:

  • Who has this problem (specific role, not "users")
  • What they currently do (the workaround)
  • Evidence the problem is real (customer quotes, usage data, support tickets)
  • What success looks like (measurable outcome)

Never write a problem statement without evidence. "We think users want X" is not a problem statement.

2. Data Sources and Lineage

For each data source:

  • Source system name and type (database, API, file, stream)
  • Refresh frequency (real-time, hourly, daily, batch)
  • Volume estimate (rows/day, GB)
  • Known quality issues
  • Access method and credentials needed

Include a lineage diagram showing source -> transformation -> output flow.

3. Consumer Contracts

For each consumer of this data product:

  • Who they are (role or system name)
  • What format they need (API, file, dashboard, embedded)
  • What SLA they expect (latency, freshness, uptime)
  • What schema/fields they require
  • How they access it (pull vs push, auth method)

Read the full file on GitHub · 123 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. 26d ago Changed 42482a1f3bd4
  2. 3mo ago First seen · 123 lines · 11 tokens per session scan A 02de93e61f30

Subscribe to this mod's changes

write-data-prd is a command published in the GitHub repository hollandkevint/data-product-operator (5 stars, last pushed 8d ago), licensed MIT. It adds 11 tokens to every session and 1,103 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

write-data-prd compared with commands from other repositories

write-data-prd next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
write-data-prdhollandkevint/data-product-operatorCommand58d agoMITA11Claude Code
promptfusengine/agentsCommand341mo agoMITA7Claude Code
format-convertersigistry/marketplaceCommand33d agoMITA29Claude Code
briefing-claudeimsaif/design-with-claudeCommand1113d agoMITA46Claude Code
model-cardHabitat-Thinking/ai-literacy-superpowersCommand12414d agononeA44Claude Code
ds-packageStamKavid/last-ds-mileCommand31mo agoMITA12Claude Code
ds-explainStamKavid/last-ds-mileCommand31mo agoMITA15Claude Code