spae-plan

spae-plan is a skill for Claude Code from mystilleef/spae-framework. It costs 36 tokens per session (1,772 once invoked), scanned C, original, MIT.

A planning step for the SPAE framework that turns a requirements file called SPEC.md into a dependency-ordered task plan in PLAN.md. A dependency-ordered plan lists small tasks in an order where each task's prerequisites come first.

In plain words
What is it for?
Use it when SPEC.md exists and STATE.json says the project is in the planning phase, to extract requirements, testing plans, assumptions, and out-of-scope items into executable tasks.
Why use it?
It gives coding work a clear sequence and records task tracking in STATE.json. It also checks that planning is being run in the correct SPAE phase before changing files.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

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

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/mystilleef/spae-framework/spae-plan.svg)](https://agentmods.dev/skills/mystilleef/spae-framework/spae-plan)
Your own site
<a href="https://agentmods.dev/skills/mystilleef/spae-framework/spae-plan"><img src="https://agentmods.dev/badge/skills/mystilleef/spae-framework/spae-plan.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,772 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.1 $0.00036 $0.01772
Opus 5 $0.00018 $0.00886
Sonnet 5 $0.00007 $0.00354
Haiku 4.5 $0.00004 $0.00177

Measured 5d ago against content hash 3aa7ad6b6da8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade C, and why

spae-plan scanned grade C with 1 finding 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 5d 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- prettier-ignore-start -->
skills/spae-plan/SKILL.md · 173 lines

How it starts

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

Plan (SPAE)

When to use

  • SPEC.md exists and needs an execution plan.
  • STATE.json reports phase: plan.
  • A revision cycle re-enters planning after /spec reprocesses findings.

Goal

  • Convert normalized requirements into a concise, acyclic, atomic task graph while preserving strict phase and write boundaries.
  • Produce .spae/current/PLAN.md, initialize task tracking in .spae/current/STATE.json, and advance the workstream to phase: inspect.

Input

Use only relevant context from:

  • .spae/current/SPEC.md.
  • .spae/current/STATE.json (consult references/STATE.md for field reference, directives, and phase snapshots).
  • Repository source patterns, read only for codebase fit.

Never read .spae/current/VERIFY.md—not an input to this phase. Reading qualifies as content-blocking.

Workflow

  1. GATE—Confirm .spae/current/SPEC.md exists and .spae/current/STATE.json reports phase: plan. Halt immediately with a clear result on failure. Make no changes.
  2. ORIENT—Extract goal, requirements, testing strategy, out-of-scope items, and assumptions from SPEC.md. Capture every R-NNN item into an in-memory coverage checklist. Gather only the source patterns needed for codebase fit; never edit repository files.
  3. PLAN—Decompose work to cover the spec without over-splitting.
  4. ACT—Delete .spae/current/PLAN.md (ignore if absent) and clear the tasks registry in .spae/current/STATE.json to empty — unconditionally. Read the template from references/PLAN.md; consult references/prose-protocol.md before drafting task prose. Decompose work into atomic tasks numbered from T-001. Set each task's Satisfies to the R-NNN IDs it implements and its Intent to a one-line distillation of the goal those requirements serve—or, for an enabling task, the structural purpose it serves toward the plan ## Goal. Sort tasks by dependency, risk, and vertical value; each task must leave the system working.
  5. VERIFY—Loop over every plan validity criterion:
    • For any R-NNN gap: return to ACT, add the missing task, then re-enter VERIFY. Treat Satisfies: none as intentional; flag empty or missing Satisfies as a scope-creep observation.
    • For any graph violation—cycle or forward-order failure: return to ACT, correct it, then re-enter VERIFY.
    • Exit only when all R-NNN items map to tasks and the graph has no violations.
    • Fail only for out-of-scope conditions.
  6. PERSIST—Write .spae/current/PLAN.md. Initialize all task IDs as todo in .spae/current/STATE.json. Clear cursor to {}. Set phase: inspect. Write once, atomically. Re-read STATE.json after writing; on a field mismatch, rewrite and re-read before REPORT.
  7. REPORT—Emit the result following the result directives and using the result template.

Read the full file on GitHub · 173 lines

Files

What ships with it

3 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. 5d ago First seen · 173 lines · 36 tokens per session scan C 3aa7ad6b6da8

Subscribe to this mod's changes

spae-plan is a skill published in the GitHub repository mystilleef/spae-framework (1 stars, last pushed 1mo ago), licensed MIT. It adds 36 tokens to every session and 1,772 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.