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 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/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.
<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>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.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 |
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 --> 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
/verifyroutes back (status: revision_required).
Goal
- Distill user requests, verification findings, and codebase context into
concise, testable requirements, correcting proven proposal defects, while
preserving
SPAEphase boundaries. - Generate
.spae/[workstream]/SPEC.mdand advanceSTATE.jsontophase: plan.
Input
Resolve target workstream by first matching rule:
- Explicit:
workstreamname argument →.spae/[name]/. - Implicit active: no name, no proposal →
.spae/currenttarget. - Implicit new: no name, proposal → the
.spae/currenttarget when the link exists and its target lacksSTATE.jsonor readsphase: spec,status: active, else—.spae/currentmissing included—a new kebab-case slug unused under.spae/.
Sources:
Draft: proposal or task argument.Revision:.spae/[workstream]/VERIFY.md.- Both:
AGENTS.mdat project root, plus the codebase.- Project-root testing guides (
TESTING*.md) covering the files under test, when present, for test commands and prerequisites:TESTING.mdcovers the main language,TESTING-<LANG>.mdthe named one (TESTING-LUA.mdfor*.lua).
.spae/[workstream]/STATE.jsonwhen present, with field reference, directives, and snapshots inreferences/STATE.md.
Workflow
Select path by target state:
Draft: target directory absent, lacksSTATE.json, orSTATE.jsonreadsphase: spec,status: active.Revision:STATE.jsonreadsstatus: revision_required.
- GATE—Make no writes:
- Parse
STATE.jsonwhen present and self-heal missing metadata:version("1.0"),workstream(target directory name),status("active").PERSISTwrites the healed fields. - Select
DraftorRevision. - Halt on any Halt conditions entry.
- Parse
- ORIENT—State goal and path in one sentence:
- Source code and
SPAEartifacts stay unmodified untilPERSIST. - Read
AGENTS.mdat project root in full when present. Revision: readVERIFY.mdin full.
- Source code and
- 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 eachVERIFY.mdfinding 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 strategyrung.
- ACT—Draft
SPEC.mdcontent:- Read codebase sections narrowly, widening only on uncertainty.
Draft:- Per
references/aspect-sweep.md, seed the aspect ledger from an existingSPEC.mdwhen 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.
- Per
Revision:- Convert each non-spec-defect hard block into a spec item, carrying its
Guidanceinto## Guidanceunder that item only after it passes thereferences/outcome-guide.mdpremise test (stripping or replacing unconfirmed hints). - For a spec-defect hard block (an
R-NNNlacking practical automated evidence or a confirmed observable host discriminator), narrow it to the closest confirmed observable, provable boundary or retire it toOut of scopeas a residual risk—never carry an infeasibleR-NNNforward. - Assess soft findings against
YAGNI, discarding those addingunrequestedscope or theoretical complexity. - Treat observations as context, not spec items:
- Re-classify an observation naming a clear
SPEC.mddeviation 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
unrequestedscope. - Otherwise, drop after noting context.
- Re-classify an observation naming a clear
- Inspect source files to ground new requirements.
- Write from scratch with fresh
R-NNNidentifiers, never reusing the priorSPEC.md.
- Convert each non-spec-defect hard block into a spec item, carrying its
- Apply Directives and Constraints, following
references/SPEC.mdstructure.
- VERIFY—Loop over Verification criteria for
SPEC.md:- For each failure: return to
ACT, fix, then re-enterVERIFY. - Exit only when every criterion passes.
- Halt only on a Halt conditions entry.
- For each failure: return to
- PERSIST—Write in order:
- Create
.spae/[workstream]/when absent. - Write
SPEC.md, replacing any prior version. - Write
STATE.jsonperreferences/STATE.mdexit snapshot. - Point
.spae/currentsymlink to.spae/[workstream]. - Re-read
STATE.jsonand.spae/current. On a mismatch against Verification state criteria, rewrite and re-read beforeREPORT.
- Create
- REPORT—Emit result following result directives and using result template.
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.
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.
- 3d ago Changed · +16 lines 9356e8db3afe
- 4d ago Changed · +37 lines 0ae3429973ba
- 9d ago Changed · -12 lines d432f2cd8b44
- 11d ago Changed · +1 lines 3d69a0809748
- 12d ago Changed · +3 lines d94b8ef106bd
- 15d ago Changed 2502b77f62db
- 16d ago Changed · +51 lines 2ccb4c731653
- 20d ago Changed · +22 lines 218ec93a8455
- 23d ago Changed · -73 lines · +15 tokens per session b78c2571524a
- 1mo ago First seen · 324 lines · 23 tokens per session scan C da2e1e4b35fe
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.
spae-spec compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| spae-specmystilleef/spae-framework | Skill | 2 | 3d ago | MIT | C | 38 | Claude Code |
| anywhere-uianywhere-labs/Agents-Anywhere | Skill | 3.9k | yesterday | Apache-2.0 | A | 46 | Claude Code, Codex |
| ahk-reviewenmanuelmag/agent-harness-kit | Skill | 183 | 1mo ago | Apache-2.0 | A | 35 | Claude Code |
| ahk-testenmanuelmag/agent-harness-kit | Skill | 183 | 1mo ago | Apache-2.0 | A | 36 | Claude Code |
| ahk-triageenmanuelmag/agent-harness-kit | Skill | 183 | 1mo ago | Apache-2.0 | A | 29 | Claude Code |
| model-routingverivus-oss/llm-cli-gateway | Skill | 19 | 7d ago | MIT | A | 59 | Claude Code |
| agent-codex-gateverivus-oss/llm-cli-gateway | Skill | 19 | 7d ago | MIT | A | 50 | Claude Code |