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.
npx agentmods add skills/mystilleef/spae-framework/spae-specnpx skills add mystilleef/spae-framework --skill spae-specgit clone --depth 1 https://github.com/mystilleef/spae-frameworkWrote 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.
[](https://agentmods.dev/skills/mystilleef/spae-framework/spae-spec)<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="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00023 | $0.02289 |
| Opus 5 | $0.00012 | $0.01144 |
| Sonnet 5 | $0.00005 | $0.00458 |
| Haiku 4.5 | $0.00002 | $0.00229 |
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 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 --> How it starts
The opening of the file, as written. The whole thing — 226 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. - Resume interrupted spec work (
phase: spec,status: active). - Rewrite requirements from scratch after a failed
/verify(status: revision_required).
Goal
- Distill user requests, verification findings, and codebase context
into concise, testable requirements while preserving
SPAEphase boundaries. - Generate
.spae/[workstream]/SPEC.mdand advanceSTATE.jsontophase: plan.
Input
Determine scope by the first available source:
- proposal or task from user
- Existing
STATE.json(consultreferences/STATE.mdfor field reference, directives, and phase snapshots) andVERIFY.mdin.spae/currentwhen present.
Workflow
Select sub-workflow by .spae/current symlink state:
- New (symlink absent):
New spec workflow - Revision (symlink present):
Revision spec workflow
New spec workflow
If absent symlink follow this workflow.
- GATE—
.spae/currentabsent. Halt if symlink exists (revision path). - ORIENT—Produce
SPEC.mdandSTATE.jsonfor[workstream]. Codebase unmodified. - PLAN—Derive
[workstream]slug fromargsor auto-generate. Identify codebase sections to read. - ACT—Execute:
- Initialize
.spae/[workstream]/; point.spae/currentsymlink; createSTATE.json(phase: spec,status: active). - If
AGENTS.mdexists at the project root, read it in full before any codebase sections; treat its constraints, conventions, and gates as non-negotiable spec inputs. - Read codebase sections narrowly; widen only on uncertainty.
- Consult
references/prose-protocol.mdbefore drafting. - Derive goal, requirements, testing strategy, out-of-scope
boundaries, and assumptions; reflect all
AGENTS.mdconstraints. - Assess derived requirements against
YAGNI; discardunrequestedscope, speculative features, or theoretical complexity.
- Initialize
- VERIFY—Loop over spec completeness criteria:
- For each failure: return to
ACT, fix, then re-enterVERIFY. - Exit only when spec complete and structure matches
references/SPEC.md. - Fail only for out-of-scope conditions.
- For each failure: return to
- PERSIST—Write
SPEC.md. UpdateSTATE.json(phase: plan,status: active,cursor: {},tasks: {}). Re-readSTATE.jsonafter writing; on a field mismatch, rewrite and re-read beforeREPORT. - REPORT—Emit result using the Result template.
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.
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.
- 5d ago First seen · 226 lines · 23 tokens per session scan C 98223df5987a
spae-spec is a skill published in the GitHub repository mystilleef/spae-framework (1 stars, last pushed 1mo ago), licensed MIT. It adds 23 tokens to every session and 2,289 once invoked, about $0.0001 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.
Other skills, from other repositories
architecture
Project architecture and file structure conventions for all process types. Use when: (1) Creating new files or modules, (2) Deciding where code should go, (3) Converting single-file components to directories, (4) Reviewing code for structure compliance, (5) Adding new bridges, services, agents, or workers.
testing
Testing workflow and quality standards for writing and running tests. Use when: (1) Writing new tests, (2) Adding a new feature that needs tests, (3) Modifying logic that has existing tests, (4) Before claiming a task is complete.
ahk-test
Design, write, and run behavior-focused tests for an objective or existing code. Writes test files only and reports evidence. No tasks created, no harness tracking.
ahk-review
Preview a code review against ticket/objective alignment, with deep semantic (name-vs-behavior) analysis. No tasks created, no harness tracking.
ahk-use-cases
Define or refine a feature, change, refactor, or user journey as an approved non-technical use-case specification.
ahk-triage
Triage a bug or unexpected behavior. Deep diagnostic analysis with structured report. No tasks created, no harness tracking.