write-plan

write-plan is a skill for Claude Code from fprochazka/claude-code-plugins. It costs 21 tokens per session (2,836 once invoked), scanned A, original, MIT.

A planning helper that writes an implementation plan for a software change and prepares it for execution through a Git workflow. Git is a tool for tracking code changes and their history.

In plain words
What is it for?
Use it to create a plan file, account for earlier design decisions, and organize the work into small, named changes for an implementation agent.
Why use it?
It turns an agreed piece of work into ordered steps and intended commits, so implementation and project history are easier to follow.

Skill for Claude Code

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

Part of the sdlc plugin — 8 skills shipped together

Good fit Use it to create a plan file, account for earlier design decisions, and organize the work into small, named changes for an implementation agent.

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

Made for: Claude Code.

Or install sdlc, the plugin that ships this one along with the rest of its 8 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/fprochazka/claude-code-plugins/write-plan"><img src="https://agentmods.dev/badge/skills/fprochazka/claude-code-plugins/write-plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,836 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.00021 $0.02836
Opus 5.5 $0.00008 $0.01134
Sonnet 5.5 $0.00004 $0.00567
Haiku 4.5 $0.00002 $0.00284

Measured 7d ago against content hash 64c7b257c98d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

write-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 7d 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.

plugins/sdlc/skills/write-plan/SKILL.md · 102 lines

How it starts

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

Write an Implementation Plan

Write a plan file for the work described below, then hand it off for execution. The plan must be shaped so that (a) the resulting git history is clean per the git-workflow rules, and (b) the implementation can be driven by one persistent implementation subagent that receives the plan file itself, not giant inlined excerpts.

This command is normally run after /sdlc:pre-plan and a design discussion, so most context should already be in hand — don't re-derive what's already been gathered or decided.

Scope

$ARGUMENTS

If the Scope is empty, use the current conversation context (e.g. a pre-plan briefing already produced in this session). If it's unclear what we're planning, ask the user before proceeding.

Step 1 — Load the git-workflow skill

Invoke the git:git-workflow skill first, and apply its rules to shape the plan around the ideal git history rather than the order code happens to get written. The concrete tie-in for this command: each step in the plan maps onto one intended atomic commit (or a small, named group), so the plan's structure already encodes the commit sequence.

Step 2 — Front-load every decision, before plan mode

Do not enter plan mode yet. Plan mode restricts what the permission system lets you run, and this phase may still need real work — subagent explorations, data checks, queries against external systems. Enter plan mode only in Step 3, when the only work left is writing.

The plan you write will be executed with minimal supervision — the user may not be at the keyboard while it runs. So the bar is not "do I know enough to start writing": it is "have I surfaced every decision the user would otherwise be asked mid-implementation". A question asked now costs one AskUserQuestion; the same question at step 7 stalls the whole run.

  • Walk the intended steps and hunt for the decisions hiding inside them: user-facing naming, product behavior at edge cases, scope trade-offs, anything irreversible. Ask about all of it now (AskUserQuestion) — the goal is that the executing agent never has to stop for a decision.
  • Genuine knowledge gaps in the code → fill with targeted, delegated exploration (subagents, not inline spelunking) — only for the gaps, not a fresh sweep.

Read the full file on GitHub · 102 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. 7d ago Changed 64c7b257c98d
  2. 25d ago Changed f12df4b203a2
  3. 1mo ago First seen · 102 lines · 21 tokens per session scan A 7e0c1dbd1a66

Subscribe to this mod's changes

write-plan is a skill published in the GitHub repository fprochazka/claude-code-plugins (15 stars, last pushed 7d ago), licensed MIT. It adds 21 tokens to every session and 2,836 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-12.

Related

Other skills, from other repositories