ai-prd-workflow: Command for Claude Code

.claude/commands/extract-features.md

extract-features is a command for Claude Code from nurettincoban/ai-prd-workflow. It costs 10 tokens per session (558 once invoked), scanned A, original, MIT.

A command for turning a Product Requirements Document (PRD) into a structured FEATURES.md file. It identifies individual features, groups them, assigns IDs and user personas where relevant, and labels priorities using Must, Should, Could, or Won't have.

In plain words
What is it for?
Use it to extract and organize product requirements into an actionable feature list. It helps teams categorize features, assign priorities, and prepare them for development planning.
Why use it?
It makes a large product description easier to plan and track. The result distinguishes essential work from optional or out-of-scope work before implementation starts.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is nurettincoban/ai-prd-workflow's own configuration. It tells Claude Code how to work on ai-prd-workflow itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ai-prd-workflow configures →

Reuse

Borrowing it

Nothing to install: this file belongs to nurettincoban/ai-prd-workflow. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/nurettincoban/ai-prd-workflow/main/.claude/commands/extract-features.md
Clone the repo
git clone --depth 1 https://github.com/nurettincoban/ai-prd-workflow

Made for: Claude Code.

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 extract-features

README.md
[![agentmods](https://agentmods.dev/badge/commands/nurettincoban/ai-prd-workflow/extract-features.svg)](https://agentmods.dev/commands/nurettincoban/ai-prd-workflow/extract-features)
Your own site
<a href="https://agentmods.dev/commands/nurettincoban/ai-prd-workflow/extract-features"><img src="https://agentmods.dev/badge/commands/nurettincoban/ai-prd-workflow/extract-features.svg" alt="Measured on agentmods" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 558 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.00010 $0.00558
Opus 5 $0.00005 $0.00279
Sonnet 5 $0.00002 $0.00112
Haiku 4.5 $0.00001 $0.00056

Measured 8d ago against content hash 3230fac9e2ff, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

extract-features 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 8d 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.

.claude/commands/extract-features.md · 50 lines

What it actually says

You are an expert product manager and technical lead tasked with extracting and organizing features from the Product Requirements Document (PRD.md, or the PRD provided in the conversation).

Create a comprehensive FEATURES.md file that clearly outlines all features, organized by priority and category. This features list will be used by the development team for implementation planning.

If any critical information is missing or unclear, ask specific questions before proceeding.

Extract and organize the features by:

  1. FEATURE IDENTIFICATION AND CATEGORIZATION:

    • Extract all explicit and implicit features from the PRD
    • Ensure each feature is discrete, specific, and implementable
    • Assign a unique identifier (e.g., F1, F2, F3)
    • Group by logical category (e.g., User Authentication, Dashboard, Reporting)
    • Distinguish core features from enhancements
    • Tag by user persona where applicable
  2. PRIORITIZATION:

    • Apply MoSCoW prioritization to each feature:
      • Must have: Critical for the minimum viable product
      • Should have: Important but not critical for initial release
      • Could have: Desirable but can be deferred
      • Won't have: Out of scope for current release but noted for future
    • Consider dependencies between features when prioritizing
  3. FEATURE DETAILING:

    • Clear, concise description for each feature
    • Acceptance criteria
    • Technical considerations or constraints
    • Potential edge cases or special handling requirements
  4. IMPLEMENTATION COMPLEXITY:

    • Relative complexity for each feature (Low, Medium, High)
    • Features requiring third-party integrations or special expertise
    • Features that may present significant technical challenges

First, provide a brief overview of the product based on the PRD. Then create the FEATURES.md content with a summary section showing feature counts by priority and category.

Feature IDs are permanent. If FEATURES.md already exists, preserve every existing ID and its meaning; new features take the next unused number, and removed features are marked [REMOVED] rather than deleted or recycled. Never renumber -- the RFCs cite these IDs by number.

SELF-CHECK BEFORE FINISHING

  • Recount every summary table from the actual content. Never carry a count forward from earlier in your own output.
  • Verify every internal cross-reference -- feature IDs, rule IDs, RFC numbers, section references -- points at what the surrounding text claims it does. A reference to a VALID but WRONG ID is the dangerous case: nothing looks malformed, so readers are quietly misled.
  • Confirm no two tables in the document disagree with each other.
  • State that you ran this check and what it turned up.
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. 8d ago First seen · 50 lines · 10 tokens per session scan A 3230fac9e2ff

Subscribe to this mod's changes

extract-features is a command published in the GitHub repository nurettincoban/ai-prd-workflow (284 stars, last pushed 1mo ago), licensed MIT. It adds 10 tokens to every session and 558 once invoked, about $0.0001 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-08-30.