plan

plan is a skill for Claude Code, Codex from wsauret/flywheel. It costs 47 tokens per session (885 once invoked), scanned A, original, MIT.

A planning workflow for creating, reviewing, and combining implementation plans. It chooses the appropriate planning phase based on a feature description, design document, or existing planning session.

In plain words
What is it for?
Use it with a feature request, a design document, or an existing session slug to create or review a plan. It is planning-only and does not edit code.
Why use it?
It structures research and validation before implementation, reducing the chance of starting from an incomplete or outdated plan.

Skill for Claude CodeCodex

Part of the flywheel plugin — 15 skills, 15 agents 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/wsauret/flywheel/plan
Any agent
npx skills add wsauret/flywheel --skill plan
Clone the repo
git clone --depth 1 https://github.com/wsauret/flywheel

Made for: Claude Code, Codex.

Or install flywheel, the plugin that ships this one along with the rest of its 15 skills, 15 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 plan

README.md
[![agentmods](https://agentmods.dev/badge/skills/wsauret/flywheel/plan.svg)](https://agentmods.dev/skills/wsauret/flywheel/plan)
Your own site
<a href="https://agentmods.dev/skills/wsauret/flywheel/plan"><img src="https://agentmods.dev/badge/skills/wsauret/flywheel/plan.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 885 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.00047 $0.00885
Opus 5 $0.00023 $0.00443
Sonnet 5 $0.00009 $0.00177
Haiku 4.5 $0.00005 $0.00089

Measured 3d ago against content hash 3555f25c7be8, 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.

flywheel/skills/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.

Full Planning Workflow

MANDATORY FIRST ACTION — You MUST use the Skill tool to invoke the correct skill below BEFORE doing anything else. Do NOT read files, search code, or respond to the user first.

Determine which skill to invoke first based on the input:

  • If the input is a slug (lowercase kebab, e.g. feat-user-auth) that matches an existing session under .flywheel/plugin/sessions/<slug>-* whose spec.json exists: invoke plan-review (skip creation)
  • Otherwise (feature description, or a path to a design document ending in -design.md): invoke plan-creation

Invoke the first skill NOW using the Skill tool:

skill: plan-creation

OR if the input resolves to an existing session with spec.json:

skill: plan-review

#$ARGUMENTS

Note: The current year is 2026.


IMPORTANT: Planning Mode Only

DO NOT WRITE OR EDIT ANY CODE DURING PLANNING!

This workflow is for research and planning only. Implementation happens in /work.


After the First Skill Completes

This orchestrator runs three skills in sequence. After each skill completes, immediately invoke the next one using the Skill tool. Do NOT stop between phases — select "continue" options when presented and invoke the next skill.

Full sequence:

[Input] → plan-creation → plan-review → plan-consolidation → [Present]

After plan-creation, the session dir at .flywheel/plugin/sessions/<session-id>/ contains the spec.json and session.json that subsequent skills read. The active pointer .flywheel/plugin/active.json is the connecting glue — no explicit path-passing between phases.

  1. plan-creation → writes spec.json, session.json into the session dir; updates active.json
  2. plan-review → reads the active session's spec.json, writes review.findings.json
  3. plan-consolidation → merges review.findings.json into spec.json; backs up pre-consolidation spec to spec.json.pre-consolidation

If the input was a slug that resolved to an existing session (review mode), start at step 2.

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. 3d ago First seen · 102 lines · 47 tokens per session scan A 3555f25c7be8

Subscribe to this mod's changes

plan is a skill published in the GitHub repository wsauret/flywheel (14 stars, last pushed 6d ago), licensed MIT. It adds 47 tokens to every session and 885 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-30.