spae-fix

spae-fix is a skill for Claude Code from mystilleef/spae-framework. It costs 41 tokens per session (2,669 once invoked), scanned C, original, MIT.

A controlled repair step in the SPAE workflow that addresses only the gaps listed in FIX.md for the active task. Test-driven changes are changes guided and checked by tests.

In plain words
What is it for?
It is for making minimal fixes, running the required tests, and returning the task to the checking phase.
Why use it?
It prevents unrelated edits and keeps repairs focused on the problems already identified by the checking phase.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit It is for making minimal fixes, running the required tests, and returning the task to the checking phase.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mystilleef/spae-framework/spae-fix"><img src="https://agentmods.dev/badge/skills/mystilleef/spae-framework/spae-fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,669 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.00041 $0.02669
Opus 5.5 $0.00016 $0.01068
Sonnet 5.5 $0.00008 $0.00534
Haiku 4.5 $0.00004 $0.00267

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

Security

Grade C, and why

spae-fix 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-fix/SKILL.md · 232 lines

How it starts

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

Fix (SPAE)

When to use

  • STATE.json reads phase: fix: close the gaps FIX.md lists for the active task.

Goal

  • Close exactly the FIX.md ## Gaps items for the active task by correcting each gap's root cause with the smallest change, proving each behavior gap closed through a test.
  • Advance the workstream to phase: check.

Input

Read only what the ## Gaps items require:

  • .spae/current/STATE.json, with field reference, directives, and snapshots in references/STATE.md.
  • .spae/current/FIX.md, carrying all task context: the task ID and title in its heading, ## Intent, ## Scope, an optional ## Context, ## Gaps items with File, Expected, Actual, Evidence, and optional Guidance, plus an optional ## Guidance—both advisory.
  • Repository source, tests, docs, and configuration along each gap's causal chain.

Testing

See references/testing-guide.md for test structure, isolation, mocking, assertion, and performance standards, and for selecting project testing guides (TESTING*.md at the project root). Project guides override it on conflict.

Cleanup

See references/cleanup-guide.md for the Self-cleanup checklist and diff-only audit scope.

Workflow

  1. GATE—Make no writes:
    • Parse .spae/current/STATE.json and self-heal missing metadata: version ("1.0"), workstream (target directory name), status ("active"). PERSIST writes the healed fields.
    • Self-heal state drift: treat a "todo" or missing tasks[active_task_id] as "in_progress" until PERSIST.
    • Halt on any Halt conditions entry.
  2. ORIENT—State goal in one sentence:
    • FIX.md stays unmodified until PERSIST deletes it, and the task diff stays within the root-cause corrections the ## Gaps items require, inside the task ## Scope.
    • Read FIX.md in full.
    • Capture the pre-task baseline per references/cleanup-guide.md.
  3. PLAN—Declare the remediation path:
    • Read references/testing-guide.md, each project testing guide covering the files under test, and references/shell-command-guide.md.
    • Trace each ## Gaps item from its Actual and Evidence to its root cause—the earliest defect in its causal chain. Its File locates the gap, never the proven cause. Scale tracing to the gap: a leftover artifact or prose gap needs none.
    • Group gaps sharing one root cause, then map each root cause to the smallest edit correcting it at its site. For a behavior gap, map the test surface: expected behavior, failure modes, and edge cases.
    • Weigh the advisory Guidance—per gap and in ## Guidance—by fit to each gap's Expected and root cause, never following it blindly: accept, partially accept, or ignore it. Gap lines and the repository win on conflict.
    • Halt on any Halt conditions entry.
  4. ACT—Per root cause, repeat until it stands corrected and re-checking each affected gap's Evidence shows its Expected result:
    • Behavior gap—runtime behavior misses Expected: the smallest code correcting its root cause and tests covering its test surface, including an existing or new test that fails on the pre-task state.
    • Any other gap—a leftover artifact, diff bloat, a defective test, a static-check failure, or prose: the smallest edit closing it, with prose proven closed by reading per references/verification-guide.md.
    • Apply Directives and Constraints.
  5. VERIFY—Loop over Verification criteria for the ## Gaps items:
    • Audit task edits against the pre-task baseline using the Self-cleanup checklist in references/cleanup-guide.md, removing every self-introduced artifact before proceeding.
    • 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:
    • Write STATE.json per references/STATE.md exit snapshot.
    • Re-read STATE.json. On a mismatch against Verification state criteria, rewrite and re-read before REPORT.

Read the full file on GitHub · 232 lines

Files

What ships with it

5 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 Changed · +21 lines · +4 tokens per session ba9513760a55
  2. 9d ago Changed · -6 lines 6fda1d00ddef
  3. 13d ago Changed · +4 lines f03ca17eee5a
  4. 16d ago Changed · +1 lines 0ff7611f562a
  5. 17d ago Changed · +3 lines 97170119917d
  6. 21d ago Changed · +7 lines c8adca5a3707
  7. 23d ago Changed · +7 lines · +5 tokens per session 9e0b3f478aa2
  8. 1mo ago Changed 2af651b675d1
  9. 1mo ago Changed · +7 lines ad1b862ab1b7
  10. 3mo ago First seen · 188 lines · 32 tokens per session scan C a119345e188e

Subscribe to this mod's changes

spae-fix is a skill published in the GitHub repository mystilleef/spae-framework (2 stars, last pushed 4d ago), licensed MIT. It adds 41 tokens to every session and 2,669 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-fix compared with skills from other repositories

spae-fix next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
spae-fixmystilleef/spae-frameworkSkill24d agoMITC41Claude Code
ahk-triageenmanuelmag/agent-harness-kitSkill1831mo agoApache-2.0A29Claude Code
ahk-askenmanuelmag/agent-harness-kitSkill1831mo agoApache-2.0A37Claude Code
windows-encoding-fixesoleg494/coding-kitSkill313d agoMITA109Claude Code, Codex
fix-and-verifyRyosukeSAMA/github-aiSkill621d agoMITA38Codex
systematic-debuggingRobinBeraud/hermes-skillsSkill11todaynoneA16Claude Code, Codex
sitemap-link-checkerRobinBeraud/hermes-skillsSkill11todaynoneA46Claude Code, Codex