requirements

requirements is a skill for Claude Code from pitimon/8-habit-ai-dev. It costs 48 tokens per session (2,711 once invoked), scanned A, original, MIT.

A requirements-writing step that turns a request into a product requirements document (PRD): a written description of what to build, why it matters, who needs it, its limits, and how success will be judged.

In plain words
What is it for?
Use it before developing a feature, changing an existing system, integrating with another system, or shaping an early product idea.
Why use it?
It prevents coding from starting before everyone agrees what “done” means and separates known facts from assumptions.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; names the AskUserQuestion tool; positional $N argument.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the 8-habit-ai-dev plugin — 24 skills, 2 agents, 1 hook shipped together

Good fit Use it before developing a feature, changing an existing system, integrating with another system, or shaping an early product idea.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add pitimon/8-habit-ai-dev
Claude Code
/plugin install 8-habit-ai-dev

Made for: Claude Code.

Or install 8-habit-ai-dev, the plugin that ships this one along with the rest of its 24 skills, 2 agents, 1 hook.

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 requirements

README.md
[![agentmods](https://agentmods.dev/badge/skills/pitimon/8-habit-ai-dev/requirements.svg)](https://agentmods.dev/skills/pitimon/8-habit-ai-dev/requirements)
Your own site
<a href="https://agentmods.dev/skills/pitimon/8-habit-ai-dev/requirements"><img src="https://agentmods.dev/badge/skills/pitimon/8-habit-ai-dev/requirements.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,711 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.00048 $0.02711
Opus 5 $0.00024 $0.01355
Sonnet 5 $0.00010 $0.00542
Haiku 4.5 $0.00005 $0.00271

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

Security

Grade A, and why

requirements 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.

plugin/skills/requirements/SKILL.md · 159 lines

How it starts

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

Step 1: Requirements (คิดก่อนทำ)

Habit: H2 — Begin with End in Mind | Anti-pattern: Starting to code without knowing what "done" looks like

Process

  1. Choose requirements intake mode: Before drafting the PRD, classify the request as one of two modes and state the mode in the PRD notes.

    Mode Use when Discipline
    Existing-system mode The user is changing, extending, integrating with, or debugging a real codebase, workflow, deployment, or documented system Cite source evidence where available: files, docs, commands, issue links, logs, or user-provided facts. Mark anything not verified from the system as an assumption or open question.
    Idea-mode The user is shaping a raw product, feature, or system idea before implementation exists Preserve user intent, label assumptions before treating them as constraints, and ask architecture-impacting questions before presenting speculative details as requirements.

    If the request mixes both, use Existing-system mode for the known system boundary and Idea-mode for new proposed behavior. Do not let proposed behavior masquerade as confirmed system fact.

  2. Discover requirements: Before writing EARS criteria, follow the Interview Protocol (loaded below) to discover requirements through structured conversation. Use adaptive depth — Quick (3 questions) for small scope, Standard (5) by default, Deep (7+) for complex features.

Read the full file on GitHub · 159 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. 8d ago First seen · 159 lines · 48 tokens per session scan A b6e9db67663e

Subscribe to this mod's changes

requirements is a skill published in the GitHub repository pitimon/8-habit-ai-dev (3 stars, last pushed 1mo ago), licensed MIT. It adds 48 tokens to every session and 2,711 once invoked, about $0.0002 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-31.