writing-plans-codex

writing-plans-codex is a skill for Claude Code from mzored/superpowers-cc-to-codex. It costs 30 tokens per session (875 once invoked), scanned A, original, MIT.

A planning aid for turning an approved software specification into a detailed implementation plan before code changes begin. It requires checking the scope, drafting the plan with Codex, reviewing it, and recording tasks, files, tests, and commit boundaries.

In plain words
What is it for?
Use it to create and save implementation plans for features or other changes that span several coding steps, including their tests and commit structure.
Why use it?
It reduces the risk of starting a multi-step coding task without agreeing on the work, affected files, or verification steps. It also flags specifications that should be split into separate plans.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents; mentions Codex.

Part of the superpowers-cc-to-codex plugin — 11 skills, 2 commands shipped together

Good fit Use it to create and save implementation plans for features or other changes that span several coding steps, including their tests and commit structure.

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

Made for: Claude Code.

Or install superpowers-cc-to-codex, the plugin that ships this one along with the rest of its 11 skills, 2 commands.

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-codex

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mzored/superpowers-cc-to-codex/writing-plans-codex"><img src="https://agentmods.dev/badge/skills/mzored/superpowers-cc-to-codex/writing-plans-codex.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 875 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.00030 $0.00875
Opus 5 $0.00015 $0.00438
Sonnet 5 $0.00006 $0.00175
Haiku 4.5 $0.00003 $0.00088

Measured 9d ago against content hash 56f4b8bd2f40, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

writing-plans-codex 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 9d 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-codex/SKILL.md · 76 lines

How it starts

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

Writing Plans

Announce at start: "I'm using the writing-plans skill to create the implementation plan."

Save plans to: docs/superpowers/plans/YYYY-MM-DD-<feature-name>.md

  • (User preferences for plan location override this default)

Checklist

You MUST create a task for each of these items and complete them in order:

  1. Scope check — if the spec covers multiple independent subsystems, suggest breaking into separate plans (one per subsystem, each producing working testable software)
  2. Dispatch Codex plan drafter — call the codex_plan MCP tool. Pass the approved spec verbatim as the prompt body; do not summarize it. Start the prompt with:
{
  "tool": "codex_plan",
  "arguments": {
    "prompt": "Turn this approved spec into a detailed implementation plan.\n\nPaste the full approved spec below this line with no omissions or paraphrasing.\n\n<spec goes here>",
    "workspaceRoot": "/absolute/path/to/your/repo"
  }
}
  1. Handle the response:

    • Success (result populated): the draft conforms to schemas/plan-draft.schema.json (plan_markdown, files, tasks, test_commands, commit_boundaries). Proceed to review (Step 4).
    • Partial / missing fields: treat as a draft to refine — re-dispatch codex_plan with a sharper prompt naming the missing pieces, or address the gaps inline during review.
    • Error (no result): inspect stderrTail and the resume hint in the error message; resume with codex_resume(taskId="…") once the cause is resolved.
  2. Review the draft — Claude reviews the returned plan against the spec (see Self-Review below)

  3. Fix issues — edit the plan inline to fix any gaps found in review

  4. Save plan — write to docs/superpowers/plans/YYYY-MM-DD-<feature-name>.md using plan-template.md header; commit

  5. Offer execution — present the plan to the user and offer to execute via superpowers-cc-to-codex:subagent-driven-development-codex

Read the full file on GitHub · 76 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. 9d ago First seen · 76 lines · 30 tokens per session scan A 56f4b8bd2f40

Subscribe to this mod's changes

writing-plans-codex is a skill published in the GitHub repository mzored/superpowers-cc-to-codex (7 stars, last pushed 4mo ago), licensed MIT. It adds 30 tokens to every session and 875 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

claude-code-session-broker

Use when running Arcgentic V2 in Claude Code and fixed Planner, Developer, and Auditor role sessions must be coordinated through a broker.

Arch1eSUN/Arcgentic · 35 tokens

arcgentic

Use when the user says Arcgentic, asks to use Arcgentic, or wants an idea taken through a complete plan → development → self-audit → external audit workflow in Codex.

Arch1eSUN/Arcgentic · 43 tokens

espalier-migrate

Migrate an existing harness/espalier install to the current Espalier version — auto-detects which of v0.1→v0.2, v0.3→v0.4, v0.4→v0.5, the v0.5.3 coder-agent patch, v0.5→v0.6 (Stage 1 grill), v0.6→v0.7 (read-only /espalier-ask lane), v0.7→v0.8 (requirements approval gate), the v0.8.1 impact-analysis agent patch, the…

Junhanliu-dev/espalier-engineering · 0 tokens

verify-gates

Runs the mechanical quality gates that the arcgentic state machine requires for state transitions. Invoked indirectly by transition.sh OR directly by orchestrator agent before declaring a state transition. Use when about to call transition.sh OR when manually verifying that a round artifact meets the gate criteria.…

Arch1eSUN/Arcgentic · 75 tokens

session-mode

Use when a project has not yet stored session mode, when a user asks for complete arcgentic workflow execution, or when role identity handoff prompts are needed.

Arch1eSUN/Arcgentic · 36 tokens

cross-session-handoff

Read, write, snapshot, and lock .arcgentic/state.yaml across planner, dev, audit, and optional test sessions.

Arch1eSUN/Arcgentic · 31 tokens