scs-validate

scs-validate is a skill for Claude Code, Codex from tim-mccrimmon/structured-context-spec. It costs 90 tokens per session (1,467 once invoked), scanned A, original, Apache-2.0.

A validator for Structured Context, a versioned package of schemas, rules, records, and source history. It runs the project's validator and explains the reported results in plain language.

In plain words
What is it for?
It checks Structured Context repositories, including tags, manifests, digests, intake records, and provenance, and proposes fixes while requiring approval before writes.
Why use it?
It helps distinguish a valid context package from one with broken schemas, rules, records, provenance, or versioned-bundle integrity. It also prevents unsupported claims by treating the validator as the authority.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It checks Structured Context repositories, including tags, manifests, digests, intake records, and provenance, and proposes fixes while requiring approval before writes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tim-mccrimmon/structured-context-spec/scs-validate
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 tim-mccrimmon/structured-context-spec --skill scs-validate
Clone the repo
git clone --depth 1 https://github.com/tim-mccrimmon/structured-context-spec

Made for: Claude Code, Codex.

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 scs-validate

README.md
[![agentmods](https://agentmods.dev/badge/skills/tim-mccrimmon/structured-context-spec/scs-validate/github.svg)](https://agentmods.dev/skills/tim-mccrimmon/structured-context-spec/scs-validate)
Your own site
<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.

agentmods 80×15 button for scs-validate

Your own site · 80×15
<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>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,467 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00090 $0.01467
Opus 5.5 $0.00036 $0.00587
Sonnet 5.5 $0.00018 $0.00293
Haiku 4.5 $0.00009 $0.00147

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

Security

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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/scs_engine.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/scs-validate/SKILL.md · 98 lines

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

  1. Call the engine only through scripts/scs_engine.py run scs ... (or run scs-validate ...). Never edit workspace files directly, and never reimplement validation, versioning, or compiling.
  2. Before any write, run the command with --dry-run, show the user the planned changes (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.
  3. Report success only when the envelope says "ok": true. Otherwise say what failed, using the diagnostics.
  4. Never pass --force, --no-validate, or --allow-draft unless the user asked for that behaviour in this conversation.
  5. 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>.
  6. Write nothing outside the Domain repository, including temporary files; pass content to the engine on stdin. Source documents go nowhere but this conversation.
  7. 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.
  8. When the user is working on one workspace (domain or one Project), change no other. A Project session never changes domain/.
  9. Commit only with scs commit, never git 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 by scs bundle release or scs bundle version.
  10. 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.
  11. 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.
  12. 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).

Read the full file on GitHub · 98 lines

Files

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.

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. 12d ago First seen · 98 lines · 90 tokens per session scan A 0771245c2419

Subscribe to this mod's changes

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.

Related

scs-validate compared with skills from other repositories

scs-validate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scs-validatetim-mccrimmon/structured-context-specSkill2012d agoApache-2.0A90Claude Code, Codex
gsd-debugopen-gsd/gsd-coreSkill12ktodayMITA13Claude Code
gsd-ns-reviewopen-gsd/gsd-coreSkill12ktodayMITA16Claude Code
ccccocoindex-io/cocoindex-codeSkill3.0k5d agoApache-2.0A80Claude Code
forensicsopen-gsd/gsd-piSkill1.4k2d agoMITA112Claude Code, Codex
lintopen-gsd/gsd-piSkill1.4k2d agoMITA41Claude Code, Codex
observabilityopen-gsd/gsd-piSkill1.4k2d agoMITA76Claude Code, Codex