plan-definition

plan-definition is a command for Claude Code from theam/claude-dev-kit. It costs 55 tokens per session (843 once invoked), scanned A, original, Apache-2.0.

A guided command that turns a rough product idea into a clear product definition. It asks questions and produces a definition document, not a task list or tickets.

In plain words
What is it for?
Use it to clarify users, problems, outcomes, constraints, success measures, and possible solution directions from a sentence, document, URL, or design link.
Why use it?
It gives an unclear idea structure before implementation planning begins, while leaving decisions to the product owner. It also marks the source of claims instead of presenting guesses as facts.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions subagents.

Part of the fullstack-dev-kit plugin — 1 skill, 5 commands, 9 agents, 3 hooks, 3 MCP servers, 1 plugin shipped together

Good fit Use it to clarify users, problems, outcomes, constraints, success measures, and possible solution directions from a sentence, document, URL, or design link.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/theam/claude-dev-kit/plan-definition
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/theam/claude-dev-kit

Made for: Claude Code.

Or install fullstack-dev-kit, the plugin that ships this one along with the rest of its 1 skill, 5 commands, 9 agents, 3 hooks, 3 MCP servers, 1 plugin.

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 plan-definition

README.md
[![agentmods](https://agentmods.dev/badge/commands/theam/claude-dev-kit/plan-definition/github.svg)](https://agentmods.dev/commands/theam/claude-dev-kit/plan-definition)
Your own site
<a href="https://agentmods.dev/commands/theam/claude-dev-kit/plan-definition"><img src="https://agentmods.dev/badge/commands/theam/claude-dev-kit/plan-definition/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 plan-definition

Your own site · 80×15
<a href="https://agentmods.dev/commands/theam/claude-dev-kit/plan-definition"><img src="https://agentmods.dev/badge/commands/theam/claude-dev-kit/plan-definition.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 843 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.00055 $0.00843
Opus 5.5 $0.00022 $0.00337
Sonnet 5.5 $0.00011 $0.00169
Haiku 4.5 $0.00006 $0.00084

Measured 6d ago against content hash 0c60ccc0c4a2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-29, from the pricing page.

Security

Grade A, and why

plan-definition 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 6d 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.

commands/plan-definition.md · 24 lines

What it actually says

Turn the spark given in the arguments into a product definition: $ARGUMENTS

Follow the plan-definition skill. This is the most upstream step — it defines the problem before plan-backlog turns it into a backlog. It produces a definition doc, never tickets.

Rules:

  • If the arguments contain no idea or source, ask for one — but a one-liner is a valid start (this step is for vague sparks; you draw the rest out with questions). Accept pasted text, a path to a file (PDF / Word / Markdown), or a URL / artifact / Figma design link.
  • Facilitate, never decide. Ask, propose candidate answers, and let the PO confirm or adjust at each step.
  • Ground it. Generating options for the PO to choose is the job; asserting unverifiable facts (market/novelty/prior-art claims, invented metrics) as established is not. The skill's Grounding & provenance rule governs — mark each claim [PO]/[spark]/[proposed]/[unverified], and there's no research step, so market/novelty claims are [unverified] unless the PO supplies a source.

Run it in THIS conversation (guided, interactive)

The definition flow is interactive, so conduct it in the main conversation — the PO makes a decision at each step (do not hand it to a context-isolated subagent, whose output the user can't see mid-run). You may delegate intake reading (e.g. a large PDF/Figma fetch) to the plan-definer subagent to keep this context clean.

  1. Intake — read the spark in whatever form it arrives (§1 of the skill). If it references a Figma design, run figma-fetch for context (FigJam /board/ URLs aren't fetched yet — take a board's content as pasted text).
  2. Frame the problem (zoom-out) — draw out users, problem/outcome, why-now, constraints, success metrics, risks/unknowns, non-goals through guided questions with proposed answers. Work them conversationally, a few at a time — don't interrogate all seven at once. Leave genuinely-undecided items as open questions.
  3. Directions & trade-offs (zoom-in) — propose 2–4 solution directions with trade-offs, recommend one, and wait for the PO to choose or refine.
  4. Definition + approval gate: assemble the definition (problem statement, users, goals & non-goals, success metrics or "not established", chosen direction + alternatives, key decisions, risks/unknowns, open questions), each line carrying its provenance marker. Before the OK, walk the [unverified]/[proposed] claims — ask "what in here rests on something nobody has verified?" — then ask the PO to approve, adjust, or cancel. When the host supports artifacts, also render it as a navigable artifact (see the skill's review step) — but the approval still happens in the chat.
  5. Handoff: on approval, tell the PO the definition is ready and hand it to /plan-backlog (whose framing is then lighter). Say plainly whether it's backlog-ready — if core must-haves are "not established" or it leans on [unverified] claims, flag that so plan-backlog re-derives rather than just confirming. If the backlog won't be built in the same sitting, offer to save it to docs/definitions/<slug>.md so plan-backlog can read it later. Create no tickets here.
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. 6d ago First seen · 24 lines · 55 tokens per session scan A 0c60ccc0c4a2

Subscribe to this mod's changes

plan-definition is a command published in the GitHub repository theam/claude-dev-kit (14 stars, last pushed yesterday), licensed Apache-2.0. It adds 55 tokens to every session and 843 once invoked, about $0.0002 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-09-24.