sdk: Command for Claude Code

.claude/commands/plan.md

plan is a command for Claude Code from WaniWani-AI/sdk. It costs 10 tokens per session (493 once invoked), scanned A, original, MIT.

A command that starts planning work for a Linear ticket, a task tracked in the Linear project-management system, without creating a code branch.

In plain words
What is it for?
Use it with a Linear ticket ID to review its description, status, priority, related tickets, affected files, dependencies, and testing approach.
Why use it?
It gathers the ticket's details and marks the work as started before breaking the implementation into steps.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md.

This is WaniWani-AI/sdk's own configuration. It tells Claude Code how to work on sdk 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 sdk configures →

Reuse

Borrowing it

Nothing to install: this file belongs to WaniWani-AI/sdk. 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/WaniWani-AI/sdk/main/.claude/commands/plan.md
Clone the repo
git clone --depth 1 https://github.com/WaniWani-AI/sdk

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 plan

README.md
[![agentmods](https://agentmods.dev/badge/commands/waniwani-ai/sdk/plan.svg)](https://agentmods.dev/commands/waniwani-ai/sdk/plan)
Your own site
<a href="https://agentmods.dev/commands/waniwani-ai/sdk/plan"><img src="https://agentmods.dev/badge/commands/waniwani-ai/sdk/plan.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 493 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00493
Opus 5 $0.00005 $0.00246
Sonnet 5 $0.00002 $0.00099
Haiku 4.5 $0.00001 $0.00049

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

Security

Grade A, and why

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

.claude/commands/plan.md · 66 lines

What it actually says

Start planning the Linear ticket specified in $ARGUMENTS.

Steps

  1. Fetch the Linear ticket using mcp__linear__get_issue with the ticket ID from $ARGUMENTS (e.g., "WAN-123")

    • If the ticket doesn't exist, inform the user and stop
  2. Mark the ticket as "In Progress" using mcp__linear__update_issue:

    • Set the state to "In Progress"
    • This signals to the team that work has started on this ticket
  3. Display ticket information to the user:

    • Title
    • Description
    • Status
    • Priority
    • Any linked issues or parent tickets
  4. Enter plan mode using the EnterPlanMode tool to start planning the implementation:

    • The plan should be based on the ticket description and acceptance criteria
    • Consider the project's architecture and coding standards (from CLAUDE.md)
    • Break down the work into concrete implementation steps

Planning Guidelines

When entering plan mode, focus on:

  1. Understanding the scope - What exactly needs to be built?
  2. Identifying affected files - Which files need to be created or modified?
  3. Dependencies - What needs to happen first? (schema → types → API → UI)
  4. Testing approach - How will the implementation be verified?
  5. Edge cases - What could go wrong?

Structure the plan following the project's layered approach:

  1. Database changes (if any)
  2. Type definitions and Zod schemas
  3. API endpoints
  4. Backend logic
  5. UI components

Example Usage

/plan WAN-123

This will:

  1. Fetch WAN-123 from Linear
  2. Mark the ticket as "In Progress"
  3. Enter plan mode with the ticket context

When to Use /plan vs /implement

  • Use /plan when you want to plan the work on an existing branch or without branch management
  • Use /implement when you want to create a dedicated feature branch for the ticket

Error Handling

  • If the ticket ID is not provided, ask the user for it
  • If the ticket doesn't exist in Linear, inform the user
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 · 66 lines · 10 tokens per session scan A 857cb9df85aa

Subscribe to this mod's changes

plan is a command published in the GitHub repository WaniWani-AI/sdk (17 stars, last pushed 2d ago), licensed MIT. It adds 10 tokens to every session and 493 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.