ccc-plan

ccc-plan is a skill for Claude Code, Codex from KevinZai/commander. It costs 34 tokens per session (3,623 once invoked), scanned A, original, MIT.

A feature-planning workflow that asks a structured set of questions and then creates a written implementation plan before coding begins. The plan appears in the coding environment's native planning view.

In plain words
What is it for?
Use it to clarify a feature, record its specification, and prepare a plan for work that may take several days.
Why use it?
It turns an early idea into agreed requirements and a concrete plan before time is spent writing code.

Skill for Claude CodeCodex

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/kevinzai/commander/ccc-plan
Any agent
npx skills add KevinZai/commander --skill ccc-plan
Clone the repo
git clone --depth 1 https://github.com/KevinZai/commander

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/kevinzai/commander/ccc-plan.svg)](https://agentmods.dev/skills/kevinzai/commander/ccc-plan)
Your own site
<a href="https://agentmods.dev/skills/kevinzai/commander/ccc-plan"><img src="https://agentmods.dev/badge/skills/kevinzai/commander/ccc-plan.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,623 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.00034 $0.03623
Opus 5 $0.00017 $0.01811
Sonnet 5 $0.00007 $0.00725
Haiku 4.5 $0.00003 $0.00362

Measured 3d ago against content hash 03c1eb6c03eb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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

commander/cowork-plugin-codex/skills/ccc-plan/SKILL.md · 314 lines

How it starts

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

$ccc-plan — Feature Planning Flow

User has an idea. Job: turn it into a structured plan file before any code gets written. We cascade through a spec interview, then fire the planner agent in the background to produce the plan at the session-bound path returned by EnterPlanMode — so it renders in Claude Code Desktop's native Plan pane. Return a one-line summary + path.

This is the "evals before specs before code" gate. Every multi-day feature routes through here.

Step 0 — Detect and enter plan mode (ALWAYS first)

Before showing any UI, determine the session plan file path:

If "Plan File Info" block is present in the system-reminder context (Desktop already activated plan mode for this session, surfacing a path like ~/.claude/plans/<whimsy-name>.md):

  • Capture that path as PLAN_PATH
  • Do NOT call EnterPlanMode again — it is already active

If NO "Plan File Info" block is detected:

  • Call the EnterPlanMode tool — this switches the session into plan mode
  • EnterPlanMode returns the session-bound path (e.g., ~/.claude/plans/spirited-oak-forest.md)
  • Capture that returned path as PLAN_PATH

PLAN_PATH is the canonical write target for the rest of this skill. Do not write to any other path under ~/.claude/plans/.

Why this matters: Desktop's native Plan pane only reads the session-bound path it created. Writing to a fixed ~/.claude/plans/ccc-<date>-<slug>.md path produces a plan the pane cannot find — it shows "no plan yet" even after the skill runs.

Step 1 — Mark chapter

Call mcp__ccd_session__mark_chapter with:

  • title: "Feature planning"
  • summary: one-line summary of what the user wants to plan (infer from any argument passed, or use "Structured feature plan" if unknown yet)

Response shape (EVERY time, after steps 0-1)

Output exactly these three sections in order:

1. Brand header (one line, markdown)

**CC Commander** · v{VERSION} · Planner · spec-first, plan-before-code

Read VERSION from ${CLAUDE_PLUGIN_ROOT}/.codex-plugin/plugin.json.

Read the full file on GitHub · 314 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 · 314 lines · 34 tokens per session scan A 03c1eb6c03eb

Subscribe to this mod's changes

ccc-plan is a skill published in the GitHub repository KevinZai/commander (6 stars, last pushed today), licensed MIT. It adds 34 tokens to every session and 3,623 once invoked, about $0.0002 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