writing-plans

writing-plans is a skill for Claude Code from GanyuanRan/Aegis. It costs 44 tokens per session (2,686 once invoked), scanned A, original, MIT.

A guide for writing a lasting implementation plan before starting a multi-step coding task. It covers requirements, affected files, small work steps, and checks for correctness.

In plain words
What is it for?
Use it when an approved specification requires coordinated changes across files, interfaces, data structures, or compatibility boundaries.
Why use it?
It gives a project a clear record of what will change and how the work will be verified before coding begins.

Skill for Claude Code

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

Part of the aegis plugin — 23 skills, 1 hook shipped together

Good fit Use it when an approved specification requires coordinated changes across files, interfaces, data structures, or compatibility boundaries.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ganyuanran/aegis/writing-plans
About the project

Aegis is a method pack that guides coding agents to inspect a project's baseline, make bounded changes, and verify their work with fresh evidence. It is for people using coding-agent hosts who want fewer unverified changes and less unnecessary process. The catalogue add-ons implement this method through skills, instructions, commands, a hook, and a plugin.

GanyuanRan/Aegis · 1,460 stars · on GitHub · autoloom.codes

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 GanyuanRan/Aegis --skill writing-plans
Clone the repo
git clone --depth 1 https://github.com/GanyuanRan/Aegis

Made for: Claude Code.

Or install aegis, the plugin that ships this one along with the rest of its 23 skills, 1 hook.

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/ganyuanran/aegis/writing-plans/github.svg)](https://agentmods.dev/skills/ganyuanran/aegis/writing-plans)
Your own site
<a href="https://agentmods.dev/skills/ganyuanran/aegis/writing-plans"><img src="https://agentmods.dev/badge/skills/ganyuanran/aegis/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/ganyuanran/aegis/writing-plans"><img src="https://agentmods.dev/badge/skills/ganyuanran/aegis/writing-plans.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,686 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 450
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00044 $0.02686
Opus 5.5 $0.00018 $0.01074
Sonnet 5.5 $0.00009 $0.00537
Haiku 4.5 $0.00004 $0.00269

Measured 19d ago against content hash b9fb755f67ae, 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 19d 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.

skills/writing-plans/SKILL.md · 233 lines

How it starts

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

Execute

→ Existing parent plan/spec and a tiny execution slice? → Use Planless Slice Lane. → Mechanical or bounded change with no durable boundary (no new owner, contract, schema, public API, migration, or compat surface)? → Use Planless Slice Lane without a parent document. → Approved spec/requirements for a new workstream or an escalation trigger? → Write an implementation plan for an engineer with no prior task context.

For a durable plan: confirm scope and acceptance, map current owners/files, record the TDD route, decompose into executable tasks, define verification and retirement, self-review, save, then select the execution route. Proceed unless a real authorization or safety boundary requires the user.

Bind tasks to the requested user outcomes: object, actions, conditions, and deliverables. Include the final delivery step and evidence at the user-visible seam, not only implementation/tests. Keep unmet needs and dependencies explicit; project-wide goals do not authorize work outside this request. Reuse the existing scope/acceptance slots; no extra goal artifact is required.

This plan is method-pack guidance, not authoritative completion.

TDD Route Guard

Before task decomposition, record TDD Route with mode (off | auto), decision (strict | light | skipped), authority, test posture, reason, and verification.

Strict RED / GREEN steps belong only to an explicit user/project TDD request or TDD Route: strict. In off, use skipped unless explicit strict authority overrides it. An approved plan or a risk label alone is not strict authority.

Read the full file on GitHub · 233 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 19d ago Changed · -30 lines b9fb755f67ae
  2. 1mo ago Changed · +6 lines 74a0fd6109b6
  3. 2mo ago Changed · +4 lines 491529dbd918
  4. 2mo ago Changed · -255 lines 003711eeb5ab
  5. 2mo ago Changed · +9 lines badb1daa6854
  6. 3mo ago Changed · +9 lines 91771c98e105
  7. 3mo ago First seen · 490 lines · 44 tokens per session scan A e0794871f909

Subscribe to this mod's changes

writing-plans is a skill published in the GitHub repository GanyuanRan/Aegis (1,460 stars, last pushed yesterday), licensed MIT. It adds 44 tokens to every session and 2,686 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-08-30.

Related

writing-plans compared with skills from other repositories

writing-plans next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
writing-plansGanyuanRan/AegisSkill1.5kyesterdayMITA44Claude Code
refocusingmvschwarz/openrigSkill9.0ktodayApache-2.0A59Claude Code
rulesyncdyoshikawa/rulesyncSkill1.7ktodayMITA64Claude Code, Codex
gitnexushashgraph-online/awesome-codex-pluginsSkill1.6ktodayApache-2.0A58Codex
animateericrisco/rsc-harnessSkill701todayMITA75Claude Code, Codex
gamedev-shadersericrisco/rsc-harnessSkill701todayMITA102Claude Code, Codex
no-code-appericrisco/rsc-harnessSkill701todayMITA87Claude Code, Codex