spae-spec

spae-spec is a skill for Claude Code from mystilleef/spae-framework. It costs 38 tokens per session (4,539 once invoked), scanned C, original, MIT.

A requirements-writing step for SPAE, a structured workflow for taking a coding task from request to verified change. It creates a specification and records the workflow state.

In plain words
What is it for?
Use it to start a new SPAE workstream, resume interrupted specification work, or rewrite requirements after verification finds problems.
Why use it?
It turns a broad proposal into concise, testable requirements and preserves where the work stands. This reduces confusion before planning or coding begins.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions AGENTS.md.

Good fit Use it to start a new SPAE workstream, resume interrupted specification work, or rewrite requirements after verification finds problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mystilleef/spae-framework/spae-spec
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 mystilleef/spae-framework --skill spae-spec
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-spec

README.md
[![agentmods](https://agentmods.dev/badge/skills/mystilleef/spae-framework/spae-spec/github.svg)](https://agentmods.dev/skills/mystilleef/spae-framework/spae-spec)
Your own site
<a href="https://agentmods.dev/skills/mystilleef/spae-framework/spae-spec"><img src="https://agentmods.dev/badge/skills/mystilleef/spae-framework/spae-spec/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 spae-spec

Your own site · 80×15
<a href="https://agentmods.dev/skills/mystilleef/spae-framework/spae-spec"><img src="https://agentmods.dev/badge/skills/mystilleef/spae-framework/spae-spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,539 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00038 $0.04539
Opus 5.5 $0.00015 $0.01816
Sonnet 5.5 $0.00008 $0.00908
Haiku 4.5 $0.00004 $0.00454

Measured 3d ago against content hash 9356e8db3afe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

spae-spec 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 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.

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-spec/SKILL.md · 369 lines

How it starts

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

Spec (SPAE)

When to use

  • Initialize a new SPAE workstream.
  • Finish an interrupted draft (phase: spec, status: active).
  • Rewrite requirements from scratch when /verify routes back (status: revision_required).

Goal

  • Distill user requests, verification findings, and codebase context into concise, testable requirements, correcting proven proposal defects, while preserving SPAE phase boundaries.
  • Generate .spae/[workstream]/SPEC.md and advance STATE.json to phase: plan.

Input

Resolve target workstream by first matching rule:

  • Explicit: workstream name argument → .spae/[name]/.
  • Implicit active: no name, no proposal → .spae/current target.
  • Implicit new: no name, proposal → the .spae/current target when the link exists and its target lacks STATE.json or reads phase: spec, status: active, else—.spae/current missing included—a new kebab-case slug unused under .spae/.

Sources:

  • Draft: proposal or task argument.
  • Revision: .spae/[workstream]/VERIFY.md.
  • Both:
    • AGENTS.md at project root, plus the codebase.
    • Project-root testing guides (TESTING*.md) covering the files under test, when present, for test commands and prerequisites: TESTING.md covers the main language, TESTING-<LANG>.md the named one (TESTING-LUA.md for *.lua).
  • .spae/[workstream]/STATE.json when present, with field reference, directives, and snapshots in references/STATE.md.

Workflow

Select path by target state:

  • Draft: target directory absent, lacks STATE.json, or STATE.json reads phase: spec, status: active.
  • Revision: STATE.json reads status: revision_required.
  1. GATE—Make no writes:
    • Parse STATE.json when present and self-heal missing metadata: version ("1.0"), workstream (target directory name), status ("active"). PERSIST writes the healed fields.
    • Select Draft or Revision.
    • Halt on any Halt conditions entry.
  2. ORIENT—State goal and path in one sentence:
    • Source code and SPAE artifacts stay unmodified until PERSIST.
    • Read AGENTS.md at project root in full when present.
    • Revision: read VERIFY.md in full.
  3. PLAN—Identify codebase sections to read:
    • Draft: sections the proposal touches, plus direct dependents—callers, importers, configs, tests, and docs—of each interface or behavior it changes.
    • Revision: source files each VERIFY.md finding names.
    • Both:
      • Host or runtime API surfaces backing any runtime-state partition or event-reactive behavior, to confirm observable discriminators.
      • The tooling evidence—declared dependencies, configs, scripts, installed binaries—behind each candidate Testing strategy rung.
  4. ACT—Draft SPEC.md content:
    • Read codebase sections narrowly, widening only on uncertainty.
    • Draft:
      • Per references/aspect-sweep.md, seed the aspect ledger from an existing SPEC.md when present, sweep the proposal, then audit the ledger. Resolve each defect per Proposal fidelity.
      • Derive goal, requirements, testing strategy, out-of-scope boundaries, assumptions, and guidance from the ledger.
    • Revision:
      • Convert each non-spec-defect hard block into a spec item, carrying its Guidance into ## Guidance under that item only after it passes the references/outcome-guide.md premise test (stripping or replacing unconfirmed hints).
      • For a spec-defect hard block (an R-NNN lacking practical automated evidence or a confirmed observable host discriminator), narrow it to the closest confirmed observable, provable boundary or retire it to Out of scope as a residual risk—never carry an infeasible R-NNN forward.
      • Assess soft findings against YAGNI, discarding those adding unrequested scope or theoretical complexity.
      • Treat observations as context, not spec items:
        • Re-classify an observation naming a clear SPEC.md deviation as a hard block, then convert it.
        • Convert an observation to a spec item only when it names actionable scope reduction—simplify or remove an existing element—never to formalize or expand unrequested scope.
        • Otherwise, drop after noting context.
      • Inspect source files to ground new requirements.
      • Write from scratch with fresh R-NNN identifiers, never reusing the prior SPEC.md.
    • Apply Directives and Constraints, following references/SPEC.md structure.
  5. VERIFY—Loop over Verification criteria for SPEC.md:
    • For each failure: return to ACT, fix, then re-enter VERIFY.
    • Exit only when every criterion passes.
    • Halt only on a Halt conditions entry.
  6. PERSIST—Write in order:
    • Create .spae/[workstream]/ when absent.
    • Write SPEC.md, replacing any prior version.
    • Write STATE.json per references/STATE.md exit snapshot.
    • Point .spae/current symlink to .spae/[workstream].
    • Re-read STATE.json and .spae/current. On a mismatch against Verification state criteria, rewrite and re-read before REPORT.
  7. REPORT—Emit result following result directives and using result template.

Read the full file on GitHub · 369 lines

Files

What ships with it

6 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. 3d ago Changed · +16 lines 9356e8db3afe
  2. 4d ago Changed · +37 lines 0ae3429973ba
  3. 9d ago Changed · -12 lines d432f2cd8b44
  4. 11d ago Changed · +1 lines 3d69a0809748
  5. 12d ago Changed · +3 lines d94b8ef106bd
  6. 15d ago Changed 2502b77f62db
  7. 16d ago Changed · +51 lines 2ccb4c731653
  8. 20d ago Changed · +22 lines 218ec93a8455
  9. 23d ago Changed · -73 lines · +15 tokens per session b78c2571524a
  10. 1mo ago First seen · 324 lines · 23 tokens per session scan C da2e1e4b35fe

Subscribe to this mod's changes

spae-spec is a skill published in the GitHub repository mystilleef/spae-framework (2 stars, last pushed 3d ago), licensed MIT. It adds 38 tokens to every session and 4,539 once invoked, about $0.0002 per session on Opus 5.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.

Related

spae-spec compared with skills from other repositories

spae-spec next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
spae-specmystilleef/spae-frameworkSkill23d agoMITC38Claude Code
anywhere-uianywhere-labs/Agents-AnywhereSkill3.9kyesterdayApache-2.0A46Claude Code, Codex
ahk-reviewenmanuelmag/agent-harness-kitSkill1831mo agoApache-2.0A35Claude Code
ahk-testenmanuelmag/agent-harness-kitSkill1831mo agoApache-2.0A36Claude Code
ahk-triageenmanuelmag/agent-harness-kitSkill1831mo agoApache-2.0A29Claude Code
model-routingverivus-oss/llm-cli-gatewaySkill197d agoMITA59Claude Code
agent-codex-gateverivus-oss/llm-cli-gatewaySkill197d agoMITA50Claude Code