plan-feature

plan-feature is a skill for Claude Code from smartwhale8/claude-playbook. It costs 36 tokens per session (509 once invoked), scanned A, original, MIT.

A feature-planning workflow that turns a rough idea into a written specification after asking the user about important decisions. It writes the result to SPEC.md in the repository root.

In plain words
What is it for?
Planning substantial features, interviewing the user about requirements, and documenting the agreed behaviour and verification criteria.
Why use it?
It reduces the risk of building the wrong thing or leaving behaviour, scope, data, failures, and completion checks undefined. It first reads the codebase so questions can focus on decisions rather than facts.

Skill for Claude Code

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

Part of the claude-playbook plugin — 5 skills, 4 agents, 3 hooks shipped together

Good fit Planning substantial features, interviewing the user about requirements, and documenting the agreed behaviour and verification criteria.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/smartwhale8/claude-playbook/plan-feature
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 smartwhale8/claude-playbook --skill plan-feature
Clone the repo
git clone --depth 1 https://github.com/smartwhale8/claude-playbook

Made for: Claude Code.

Or install claude-playbook, the plugin that ships this one along with the rest of its 5 skills, 4 agents, 3 hooks.

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-feature

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/smartwhale8/claude-playbook/plan-feature"><img src="https://agentmods.dev/badge/skills/smartwhale8/claude-playbook/plan-feature.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 509 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.00036 $0.00509
Opus 5.5 $0.00014 $0.00204
Sonnet 5.5 $0.00007 $0.00102
Haiku 4.5 $0.00004 $0.00051

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

Security

Grade A, and why

plan-feature 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.

.claude/skills/plan-feature/SKILL.md · 69 lines

What it actually says

Plan a feature

The idea: $ARGUMENTS

Claude solving the wrong problem well is the most expensive failure in an agentic session. This skill spends a few minutes preventing it.

1. Read before asking

Find how the codebase already does the nearest equivalent thing. Identify the files a change like this would touch and the patterns it should follow. Bring that to the interview, so the questions are about the decisions rather than the facts.

2. Interview

Use AskUserQuestion to work through what is genuinely undecided. Skip anything you can answer by reading the code.

Cover:

  • Behaviour. What happens in the normal case, and at each edge the user cares about.
  • Scope. What is explicitly not part of this.
  • Data. What is stored, what is derived, what migrates.
  • Interface. The endpoints, the screens, or the commands involved.
  • Failure. What happens when the dependency is down, the input is bad, or the operation is repeated.
  • Verification. What has to be true for this to be finished.

Keep going until the hard parts are decided. Stop asking about things that have one obvious answer.

3. Write the specification

Write SPEC.md in the repository root:

# <Feature>

## Goal
One paragraph. What this enables and for whom.

## Out of scope
The explicit list.

## Files and interfaces
Each file to add or change, and what changes in it.

## Behaviour
Numbered cases, each with its expected result.

## Data
Schema changes, migrations, derived values.

## Failure modes
Each one and the intended handling.

## Acceptance criteria
A numbered list, each item verifiable by a command or an observation.

## Verification
The end-to-end check that proves the feature works.

4. Hand over

Tell the user to start a fresh session to implement it, pointing that session at SPEC.md. A clean context that reads a good specification outperforms a long context that wrote one.

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 · 69 lines · 36 tokens per session scan A f4b6dda3be34

Subscribe to this mod's changes

plan-feature is a skill published in the GitHub repository smartwhale8/claude-playbook (43 stars, last pushed 1mo ago), licensed MIT. It adds 36 tokens to every session and 509 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-09-21.

Related

Other skills, from other repositories

rust-skills

Comprehensive Rust coding guidelines with 265 rules across 26 categories. Use when writing, reviewing, or refactoring Rust code. Covers ownership, error handling, async patterns, concurrency, unsafe code, API design, memory optimization, performance, numeric safety, conversions, serde, pattern matching, macros…

leonardomso/rust-skills · 84 tokens

investigate

Manage structured investigations with multi-agent evidence collection, synthesis, tagging, and PHI sanitization. Use when user says "start an investigation", "root cause analysis", or "collect evidence about X". Subcommands: new, run, collect, synthesize, close, status, list, search. Do NOT use for casual debugging or…

john-wilmes/claude-agentic-coding-playbook · 82 tokens

playbook

Analyze your Claude Code configuration and suggest improvements based on the agentic coding playbook. Use when user says "audit my config", "check my setup", or "improve my CLAUDE.md". Works on both global and project-level CLAUDE.md files. Do NOT use for application configuration — only for Claude Code setup.

john-wilmes/claude-agentic-coding-playbook · 70 tokens

checkpoint

Save all work, update memory, commit, push, and prepare to end the session. Use when user says "save my work", "wrap up", or "I'm done for now". Use at natural breakpoints or when context is getting large.

john-wilmes/claude-agentic-coding-playbook · 52 tokens

create-project

Scaffold a new project with git, .gitignore, CLAUDE.md, AGENTS.md, GitHub repo, and memory directory. Use when user says "start a new project", "create a repo", or "scaffold an app". Creates the project as a sibling to the .claude/ config directory.

john-wilmes/claude-agentic-coding-playbook · 69 tokens

learn

Capture a lesson as a structured knowledge entry. Use when you discover a non-obvious bug, workaround, or pattern worth preserving for future sessions. Use when user says "remember this", "save this lesson", or "this is worth noting".

john-wilmes/claude-agentic-coding-playbook · 51 tokens