writing-plans

writing-plans is a skill for Claude Code from KhaledSaeed18/dotclaude. It costs 68 tokens per session (1,128 once invoked), scanned A, original, MIT.

A guide for turning requirements into a step-by-step coding plan, including the files to change, the code to write, and how to check the result.

In plain words
What is it for?
Use it to plan multi-step features, bug fixes, or refactors before coding. It also helps another engineer or coding agent continue the work without extra background.
Why use it?
It removes guesswork when working in an unfamiliar codebase or on a large change. Each step is small enough to carry out and verify on its own.

Skill for Claude Code

Written for Claude Code: a Claude Code plugin manifest. Also seen: mentions subagents.

Part of the engineering plugin — 22 skills, 2 commands, 7 agents shipped together

Good fit Use it to plan multi-step features, bug fixes, or refactors before coding. It also helps another engineer or coding agent continue the work without extra background.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/khaledsaeed18/dotclaude/writing-plans
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 KhaledSaeed18/dotclaude --skill writing-plans
Clone the repo
git clone --depth 1 https://github.com/KhaledSaeed18/dotclaude

Made for: Claude Code.

Or install engineering, the plugin that ships this one along with the rest of its 22 skills, 2 commands, 7 agents.

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 writing-plans

README.md
[![agentmods](https://agentmods.dev/badge/skills/khaledsaeed18/dotclaude/writing-plans/github.svg)](https://agentmods.dev/skills/khaledsaeed18/dotclaude/writing-plans)
Your own site
<a href="https://agentmods.dev/skills/khaledsaeed18/dotclaude/writing-plans"><img src="https://agentmods.dev/badge/skills/khaledsaeed18/dotclaude/writing-plans/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 writing-plans

Your own site · 80×15
<a href="https://agentmods.dev/skills/khaledsaeed18/dotclaude/writing-plans"><img src="https://agentmods.dev/badge/skills/khaledsaeed18/dotclaude/writing-plans.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,128 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.00068 $0.01128
Opus 5.5 $0.00027 $0.00451
Sonnet 5.5 $0.00014 $0.00226
Haiku 4.5 $0.00007 $0.00113

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

Security

Grade A, and why

writing-plans 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 4d 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-plugin/plugins/engineering/skills/writing-plans/SKILL.md · 70 lines

How it starts

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

Write the implementation plan as if the engineer executing it has strong general skills but zero knowledge of this codebase, this domain, or your intentions. Everything they need to act has to be on the page: which files to touch, the actual code, how to test it, what "done" looks like for each step. Vagueness in a plan becomes wasted work or wrong work at execution time.

A good plan is a sequence of small, verifiable tasks: each one producing a self-contained change that makes sense on its own and leaves the project working.

Step 1: Orient before planning

Read the spec or requirements fully, then look at the codebase the plan will touch, existing patterns, conventions, the files involved. Plan with the grain of the code that's there, not against an idealised version of it. If the spec spans several independent subsystems, say so and propose splitting it into one plan per subsystem; each plan should produce working, testable software on its own.

Step 2: Map the files first

Before writing any task, list the files the work will create or modify and the single responsibility of each. This is where the decomposition gets decided.

  • Give each file one clear job. Prefer smaller, focused files over large ones that do several things; they're easier to reason about and edit reliably.
  • Keep things that change together in the same place; split by responsibility, not by technical layer.
  • In an existing codebase, follow the established structure. Don't unilaterally restructure, but if a file you're already modifying has grown unwieldy, a scoped split can be part of the plan.

Step 3: Write bite-sized tasks

Each task is a coherent unit of work; each step inside it is one action of two to five minutes. Following test-driven development, a typical task reads:

  • Write the failing test (show the test code).
  • Run it, confirm it fails (give the command and the expected failure).
  • Write the minimal implementation (show the code).
  • Run the test, confirm it passes (give the command and expected result).
  • Commit (give the exact git add paths and message).

Read the full file on GitHub · 70 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. 4d ago Changed · +1 lines 17c58bac028f
  2. 2mo ago Changed · +4 lines 787fd6c71ad1
  3. 3mo ago First seen · 65 lines · 68 tokens per session scan A 7e22b007e306

Subscribe to this mod's changes

writing-plans is a skill published in the GitHub repository KhaledSaeed18/dotclaude (8 stars, last pushed today), licensed MIT. It adds 68 tokens to every session and 1,128 once invoked, about $0.0003 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-08-31.

Related

writing-plans compared with skills from other repositories

writing-plans next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
writing-plansKhaledSaeed18/dotclaudeSkill8todayMITA68Claude Code
gueter-genehmigung-bearbeitenKlotzkette/claude-fuer-deutsches-rechtSkill2.0ktodayApache-2.0A62Claude Code
rolle-anwendungsbereich-bearbeitenKlotzkette/claude-fuer-deutsches-rechtSkill2.0ktodayApache-2.0A54Claude Code
agb-rechtswahl-schweizer-recht-rom-iKlotzkette/claude-fuer-deutsches-rechtSkill2.0ktodayApache-2.0A69Claude Code
ermittlungsverfahren-und-eingriffe-bearbeitenKlotzkette/claude-fuer-deutsches-rechtSkill2.0ktodayApache-2.0A56Claude Code
cbam-bearbeitenKlotzkette/claude-fuer-deutsches-rechtSkill2.0ktodayApache-2.0A61Claude Code
haftungsdeckel-fuer-daten-und-modelldienste-pruefenKlotzkette/claude-fuer-deutsches-rechtSkill2.0ktodayApache-2.0A77Claude Code