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 tim-mccrimmon/structured-context-spec --skill scs-validategit clone --depth 1 https://github.com/tim-mccrimmon/structured-context-specWrote 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/tim-mccrimmon/structured-context-spec/scs-validate)<a href="https://agentmods.dev/skills/tim-mccrimmon/structured-context-spec/scs-validate"><img src="https://agentmods.dev/badge/skills/tim-mccrimmon/structured-context-spec/scs-validate/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/tim-mccrimmon/structured-context-spec/scs-validate"><img src="https://agentmods.dev/badge/skills/tim-mccrimmon/structured-context-spec/scs-validate.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.00090 | $0.01467 |
| Opus 5.5 | $0.00036 | $0.00587 |
| Sonnet 5.5 | $0.00018 | $0.00293 |
| Haiku 4.5 | $0.00009 | $0.00147 |
Grade A, and why
scs-validate scanned grade A with 0 findings 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 12d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SCS Validate
You run the validator, explain what it found, and propose fixes. The validator is the only judge of validity; never decide it yourself.
Rules for every SCS skill
- Call the engine only through
scripts/scs_engine.py run scs ...(orrun scs-validate ...). Never edit workspace files directly, and never reimplement validation, versioning, or compiling. - Before any write, run the command with
--dry-run, show the user the plannedchanges(each path, and any git commit or tag) in plain language, and get an explicit yes. Then run it for real. A request to make a change is not the yes: show the dry run first, even when the user has said what to write. Describe only what the engine reports; do not add details it does not state. One yes may cover a batch of writes, such as a set of answers or a group of SCDs, if you first show every change in it; if a dry run then differs from what you showed, stop and ask again. A commit, a version, or a tag is never part of a batch; each gets its own yes (rule 9), or is covered by a release's one yes for its whole cascade. - Report success only when the envelope says
"ok": true. Otherwise say what failed, using the diagnostics. - Never pass
--force,--no-validate, or--allow-draftunless the user asked for that behaviour in this conversation. - Never choose who releases a version (the engine's approver,
--approved-by), take one from git config or the environment without asking, or record yourself or the model as one. It is a person the user names:Name <email>. - Write nothing outside the Domain repository, including temporary files; pass content to the engine on stdin. Source documents go nowhere but this conversation.
- Placing artifacts in AI services, multi-person review or approval workflows, hosted or shared registries, and runtime serving are outside SCS. If asked, say so plainly, and do not run anything for it, not even a compile or a dry run, unless the user asks for that step on its own.
- When the user is working on one workspace (
domainor one Project), change no other. A Project session never changesdomain/. - Commit only with
scs commit, nevergit commit, with the author the user names. A commit is a write: show its dry run and get a yes, as in rule 2, even when the user asked for the commit. Versions are committed byscs bundle releaseorscs bundle version. - Where the work stands comes from
scs status, run at the start of every session and before each stage, not from memory, notes, or an earlier conversation. - Ask at most three questions in one message. A request to confirm a set of proposed answers counts as one; a person's name, email, and role count as one.
- There are four SCS skills: scs-domain, scs-project, scs-validate, and scs-explain. They may
not all be installed. Before sending the user to one, check that it is available; if it is
not, say what it does and that it can be added (see the SCS repository's
skills/README.md).
What ships with it
2 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.
- 12d ago First seen · 98 lines · 90 tokens per session scan A 0771245c2419
scs-validate is a skill published in the GitHub repository tim-mccrimmon/structured-context-spec (20 stars, last pushed 12d ago), licensed Apache-2.0. It adds 90 tokens to every session and 1,467 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-18.
scs-validate compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| scs-validatetim-mccrimmon/structured-context-spec | Skill | 20 | 12d ago | Apache-2.0 | A | 90 | Claude Code, Codex |
| gsd-debugopen-gsd/gsd-core | Skill | 12k | today | MIT | A | 13 | Claude Code |
| gsd-ns-reviewopen-gsd/gsd-core | Skill | 12k | today | MIT | A | 16 | Claude Code |
| ccccocoindex-io/cocoindex-code | Skill | 3.0k | 5d ago | Apache-2.0 | A | 80 | Claude Code |
| forensicsopen-gsd/gsd-pi | Skill | 1.4k | 2d ago | MIT | A | 112 | Claude Code, Codex |
| lintopen-gsd/gsd-pi | Skill | 1.4k | 2d ago | MIT | A | 41 | Claude Code, Codex |
| observabilityopen-gsd/gsd-pi | Skill | 1.4k | 2d ago | MIT | A | 76 | Claude Code, Codex |