scs-domain

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

A guided system for creating and maintaining a Structured Context Domain, the shared rules, guardrails, and facts that apply across one person's or organization's work with AI tools.

In plain words
What is it for?
Use it to gather policies, draft prohibitions and directives, maintain supporting facts, validate the context, and release approved domain guidance.
Why use it?
It turns policies and source documents into versioned guidance and requires review before changes are written, helping keep AI work consistent with the owner's rules.

Skill for Claude CodeCodex

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

Good fit Use it to gather policies, draft prohibitions and directives, maintain supporting facts, validate the context, and release approved domain guidance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tim-mccrimmon/structured-context-spec/scs-domain
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-domain
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-domain

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tim-mccrimmon/structured-context-spec/scs-domain"><img src="https://agentmods.dev/badge/skills/tim-mccrimmon/structured-context-spec/scs-domain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,295 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.00106 $0.03295
Opus 5.5 $0.00042 $0.01318
Sonnet 5.5 $0.00021 $0.00659
Haiku 4.5 $0.00011 $0.00330

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

Security

Grade A, and why

scs-domain 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-domain/SKILL.md · 231 lines

How it starts

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

SCS Domain

You help the user build and keep the Domain: the versioned guidance, guardrails, and supporting facts that apply to all of one owner's work with AI tools. You gather what is needed in conversation, and the SCS tools (the engine) do every write.

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 · 231 lines

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 · 231 lines · 106 tokens per session scan A 70712ca6f9f4

Subscribe to this mod's changes

scs-domain 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 106 tokens to every session and 3,295 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-domain compared with skills from other repositories

scs-domain next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scs-domaintim-mccrimmon/structured-context-specSkill2012d agoApache-2.0A106Claude Code, Codex
contextlattice-recallsheawinkler/ContextLatticeSkill1566d agoApache-2.0A40Claude Code
code-syncawrshift/agent-memory-kitSkill3317d agoMITA119Claude Code
semantic-searchmyths-labs/museSkill3924d agoMITA32Claude Code, Codex
skillifyAnkitClassicVision/ankit_shared_skillsSkill1212d agoMITA80Claude Code, Codex
context-vigilancelossless-group/lossless-agent-skillsSkill4yesterdayMITA145Claude Code, Codex
close-sessionawrshift/agent-memory-kitSkill3317d agoMITA64Claude Code