code-plan

code-plan is a skill for Claude Code, Codex from alexeyshishin/as-skill. It costs 61 tokens per session (522 once invoked), scanned A, original, MIT.

A planning process for software features before code is written. It asks a planner and a skeptic to inspect the project's memory and produce a reviewed plan for work that affects multiple files or has unclear scope.

In plain words
What is it for?
Use it to plan a feature, compare the plan with project conventions, identify blockers, and prepare work for a later coding step.
Why use it?
It exposes missing details and risks early, before implementation makes them more expensive to fix.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/alexeyshishin/as-skill/code-plan.svg)](https://agentmods.dev/skills/alexeyshishin/as-skill/code-plan)
Your own site
<a href="https://agentmods.dev/skills/alexeyshishin/as-skill/code-plan"><img src="https://agentmods.dev/badge/skills/alexeyshishin/as-skill/code-plan.svg" alt="Measured on agentmods" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 522 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.00061 $0.00522
Opus 5 $0.00030 $0.00261
Sonnet 5 $0.00012 $0.00104
Haiku 4.5 $0.00006 $0.00052

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

Security

Grade A, and why

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

domains/code/skills/code-plan/SKILL.md · 43 lines

What it actually says

Skill: /code-plan

You are the ORCHESTRATOR. You do not design the plan yourself — you run two subagents and merge their output. No code edits here.

Invocation

/code-plan "<one-sentence feature>"

Steps

  1. Slugify the feature → <slug> (kebab-case, short).

  2. Read context yourself (cheap, keeps subagents focused): .memory-bank/index.md if it exists. If it does not, tell the user: "No Memory Bank found — plan will rest only on your description." and continue.

  3. Spawn 2 subagents in parallel — one message, two Task calls, subagent_type: general-purpose. Prefix EACH prompt with:

    Answer TERSE: terse, drop filler, keep all technical substance.

    • planner — "Read .claude/agents/planner.md and follow it exactly. Feature: ."
    • skeptic — "Read .claude/agents/skeptic.md and follow it exactly. Feature: ."

    (Sharper, slightly pricier variant: run planner first, then pass its YAML into the skeptic prompt so it critiques the concrete plan. One extra round-trip. Use it when the feature is risky.)

  4. Merge (orchestrator only): take the planner's plan, apply the skeptic's HIGH/MED fixes, and list anything unresolved under Blockers.

  5. Write swarm-report/<slug>-plan.md:

    # Plan: <feature>   (slug: <slug>)
    ## TL;DR
    ## Acceptance criteria  — observable "done" conditions; /code-review checks these
    ## Plan                 — merged steps + affected files + tests
    ## Blockers             — skeptic HIGH not yet resolved (human decides)
    ## Out of scope
    ## Assumptions
    
  6. Report to user: TL;DR + any Blockers. If Blockers exist, ask the user to resolve them before /code-build.

Files

What ships with it

1 file 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. 3d ago First seen · 43 lines · 61 tokens per session scan A d84170afefa6

Subscribe to this mod's changes

code-plan is a skill published in the GitHub repository alexeyshishin/as-skill (4 stars, last pushed 15d ago), licensed MIT. It adds 61 tokens to every session and 522 once invoked, about $0.0003 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

review-loop

Iterative code review — fix all P1/P2/P3 findings until clean.

swDomass/AI_orchestrator · 19 tokens

plannotator-annotate

Open Plannotator's annotation UI for a file, folder, or URL, then address the returned annotations.

backnotprop/plannotator · 29 tokens

golang-testing

Production-ready Golang tests — table-driven tests, testify suites and mocks, parallel tests, fuzzing, fixtures, goroutine leak detection with goleak, snapshot testing, code coverage, integration tests, idiomatic test naming. Use when writing or reviewing Go tests, choosing a testing approach, setting up Go test CI…

samber/cc-skills-golang · 115 tokens

obsidian-bases

Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries. Use when working with .base files, creating database-like views of notes, or when the user mentions Bases, table views, card views, filters, or formulas in Obsidian.

kepano/obsidian-skills · 63 tokens

livecodes/sdk-methods

Use SDK methods to interact with playgrounds: run, getCode, setConfig, getConfig, watch, runTests, format, getShareUrl, show, destroy. Load this skill when programmatically controlling embedded playgrounds, reacting to code changes, or retrieving compiled output.

live-codes/livecodes · 62 tokens

livecodes/language-support

Work with 90+ supported languages, compilers, CSS processors, and WASM-compiled languages for markup, style, and script editors. Load this skill when configuring languages, setting up CSS processors, or working with WASM-based languages like Python, Ruby, or Go.

live-codes/livecodes · 62 tokens