plan

plan is a skill for Claude Code, Codex from anilcancakir/claude-code. It costs 223 tokens per session (9,130 once invoked), scanned A, original, MIT.

An interactive planning skill for Claude Code that researches a task and writes a structured implementation plan.

In plain words
What is it for?
It investigates referenced files, asks about important choices, checks the plan for reuse and quality, and saves the result under .ac/plans/.
Why use it?
It helps turn an unclear request into agreed decisions and an actionable plan before code changes begin.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the ac plugin — 8 skills, 3 commands, 11 agents, 3 hooks, 1 MCP server shipped together

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.

agentmods
npx agentmods add skills/anilcancakir/claude-code/plan
Any agent
npx skills add anilcancakir/claude-code --skill plan
Clone the repo
git clone --depth 1 https://github.com/anilcancakir/claude-code

Made for: Claude Code, Codex.

Or install ac, the plugin that ships this one along with the rest of its 8 skills, 3 commands, 11 agents, 3 hooks, 1 MCP server.

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/skills/anilcancakir/claude-code/plan.svg)](https://agentmods.dev/skills/anilcancakir/claude-code/plan)
Your own site
<a href="https://agentmods.dev/skills/anilcancakir/claude-code/plan"><img src="https://agentmods.dev/badge/skills/anilcancakir/claude-code/plan.svg" alt="Measured on agentmods" height="20"></a>
Per session 223 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,130 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 $0.00223 $0.09130
Opus 5 $0.00112 $0.04565
Sonnet 5 $0.00045 $0.01826
Haiku 4.5 $0.00022 $0.00913

Measured 3d ago against content hash 7aa9a3c509ff, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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/ac/skills/plan/SKILL.md · 513 lines

How it starts

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

/ac:plan

Interactive planner that runs entirely on the main thread (Opus 5). Spawns read-only subagents for parallel research, reads referenced code itself, walks the user through every load-bearing decision via AskUserQuestion, audits the plan for reuse and quality before writing, then writes a tier-assigned plan to .ac/plans/<slug>/plan.md.

Request: $ARGUMENTS

Standing rules

These hold for the whole run, including after a compaction. Everything below this block is procedure; these are the bounds. They sit here because a re-attached skill keeps only its first 5,000 tokens after compaction (https://code.claude.com/docs/en/skills.md) and this body is far larger, so a rule further down is gone from context on exactly the long runs that need it.

Turn termination. Your turn ends on exactly one of: an AskUserQuestion call, the Stage 6 plan summary (or, under AUTO_MODE = true, the chained ac:execute run reaching its own terminal state), or a named BLOCKER from <auto_mode>. Nothing else ends it. Never end a turn by describing what you would do next.

Context. Auto-compaction summarizes older turns and the run continues. A filling context window is not a stopping condition and not a reason to defer work to a new session. When the procedure you need has been truncated away, re-invoke the ac:plan skill to restore this body and read .ac/plans/<slug>/checkpoint.json for where the run was.

Loop bounds come from disk, never from working memory. A counter you hold in context drifts across a long run; a file does not, and neither does a shell command's answer. Stage 5.5 reads its iteration number, its previous issue count, and both its gate verdicts out of LOG_PATH via the review-counters call in 5.5c. Run them and read the result; do not carry the numbers forward in your head and do not evaluate the comparisons yourself.

Progress surface. Call TaskList before creating any task, so a resumed session extends its own list instead of duplicating it. One task per stage, never one per decision.

Read the full file on GitHub · 513 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. 3d ago First seen · 513 lines · 223 tokens per session scan A 7aa9a3c509ff

Subscribe to this mod's changes

plan is a skill published in the GitHub repository anilcancakir/claude-code (3 stars, last pushed 14d ago), licensed MIT. It adds 223 tokens to every session and 9,130 once invoked, about $0.0011 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-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens