setting-up-domain-model

setting-up-domain-model is a skill for Claude Code from smixs/disruptor-skills. It costs 77 tokens per session (1,194 once invoked), scanned A, original, MIT.

A setup method for recording a repository's shared vocabulary, working conventions, and important technical decisions.

In plain words
What is it for?
Use it to create or maintain CONTEXT.md as a glossary and decision records in docs/adr/ when starting work or settling ambiguous design choices.
Why use it?
It prevents terms from drifting in meaning and keeps hard-to-reverse decisions documented instead of leaving them only in conversation or code.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Part of the disruptor plugin — 12 skills shipped together

Good fit Use it to create or maintain CONTEXT.md as a glossary and decision records in docs/adr/ when starting work or settling ambiguous design choices.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/smixs/disruptor-skills/setting-up-domain-model
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 smixs/disruptor-skills --skill setting-up-domain-model
Clone the repo
git clone --depth 1 https://github.com/smixs/disruptor-skills

Made for: Claude Code.

Or install disruptor, the plugin that ships this one along with the rest of its 12 skills.

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 setting-up-domain-model

README.md
[![agentmods](https://agentmods.dev/badge/skills/smixs/disruptor-skills/setting-up-domain-model/github.svg)](https://agentmods.dev/skills/smixs/disruptor-skills/setting-up-domain-model)
Your own site
<a href="https://agentmods.dev/skills/smixs/disruptor-skills/setting-up-domain-model"><img src="https://agentmods.dev/badge/skills/smixs/disruptor-skills/setting-up-domain-model/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 setting-up-domain-model

Your own site · 80×15
<a href="https://agentmods.dev/skills/smixs/disruptor-skills/setting-up-domain-model"><img src="https://agentmods.dev/badge/skills/smixs/disruptor-skills/setting-up-domain-model.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,194 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.00077 $0.01194
Opus 5 $0.00039 $0.00597
Sonnet 5 $0.00015 $0.00239
Haiku 4.5 $0.00008 $0.00119

Measured 12d ago against content hash deec81273d2a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

setting-up-domain-model 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.

skills/setting-up-domain-model/SKILL.md · 100 lines

How it starts

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

Setup and domain model

Stage contract

  • Stage: 0. Setup (once per repo) + cross-cutting upkeep · Kind: method
  • Inputs: the repo; whatever domain terms and decisions surface as the flow runs.
  • Outputs: CONTEXT.md (glossary) and docs/adr/ (decision records), created lazily and kept live.
  • Entry gate: first time through the flow in this repo (no CONTEXT.md / conventions recorded), or a term/decision needs pinning down mid-flow.
  • Done when: conventions are recorded; every term the flow relies on has one canonical definition; every hard-to-reverse decision is an ADR.
  • Next: the stage you were routed to — usually the designing-with-7w3 skill.
  • Maintains: it owns CONTEXT.md and docs/adr/; every other stage keeps them live.

Why this exists

The whole flow rests on the invariant the document is the source of truth — design, spec, and decisions are the record; code realizes them. That invariant needs a concrete home, or it stays a slogan. These two artifacts are that home:

  • CONTEXT.md keeps the vocabulary from drifting. When "user", "account", and "member" mean the same thing in three files, the design has already started to rot. One canonical term per concept keeps every later stage — spec, breakdown, reviews — talking about the same things.
  • docs/adr/ keeps the why of hard-to-reverse choices from evaporating. A decision that isn't recorded gets silently re-litigated or quietly reversed by an agent that never saw the trade-off.

Create both lazily — only when the first term or the first real decision appears. An empty CONTEXT.md on day one is ceremony; a stale one is worse than none.

Once-per-repo setup

Do this the first time the flow touches a repo. Keep it to what the flow actually needs:

  1. Decide where the artifacts live.
    • Single domain: CONTEXT.md + docs/adr/ at the repo root.
    • Multiple bounded contexts: a root CONTEXT-MAP.md pointing to src/<context>/CONTEXT.md + per-context docs/adr/.
  2. Record the conventions the flow assumes (a short block in CLAUDE.md / AGENTS.md, or a docs/agents/ note): where CONTEXT.md and ADRs live, and any project-specific rule the base invariants don't already cover.
  3. Don't scaffold empty files. Note the locations; create the files when the first term/decision actually lands (see below).

Read the full file on GitHub · 100 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 · 100 lines · 77 tokens per session scan A deec81273d2a

Subscribe to this mod's changes

setting-up-domain-model is a skill published in the GitHub repository smixs/disruptor-skills (18 stars, last pushed 2mo ago), licensed MIT. It adds 77 tokens to every session and 1,194 once invoked, about $0.0004 per session on Opus 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-08-30.

Related

Other skills, from other repositories

debug

Run /debug to find and fix a bug's root cause: a test failing for an unclear reason, /check verify finding a failure, or behavior being wrong. Runs a reproduce, localize, hypothesize, test, fix, verify loop, makes the minimal fix, and hands a regression test to /test. No features, no extra refactors.

jsmastery-pro/skills · 74 tokens

todos

This chat has a shared, live TODO plan — your tasks for the conversation, which the user also edits. Read this skill and reach for the todo tools whenever a request takes more than a couple of steps. It covers the plan model (group = task, items = its steps; loose items are the user's lane), how to work it: propose…

JetBrains/thinkrail · 127 tokens

writing-workflow-skills

Use when adding a new workflow skill to pi-thinkrail-workflow, changing an existing workflow skill's role, trigger, handoff, or structure, or checking a workflow skill against the workflow system's rules. Not for authoring general-purpose skills outside this package.

JetBrains/thinkrail · 60 tokens

setting-up-a-project

Use whenever asked to set up, onboard, initialize, or spec a project — the front door when the workspace has no spec graph yet (brand-new or an existing codebase); also seeded by the app's Set-up-project card (/skill:setting-up-a-project). Not for feature work in an already-specced project — use the brainstorming…

JetBrains/thinkrail · 76 tokens

writing-specs

Use when a workflow step drafts or revises a spec artifact — a goal-and-requirements, an architecture, or a module SPEC — or when a workflow skill names it at such a step. The shared quality bar for specs — not a workflow, nothing to execute.

JetBrains/thinkrail · 59 tokens

animate

Build a web animation: whether it should animate at all, the purpose, the tool, the properties, the easing curve, the duration, interruption and exit. Writes the CSS or Motion code for dropdowns, modals, toasts, tooltips, accordions, press feedback, stagger and scroll reveals. Use to animate something or make a…

ericrisco/rsc-harness · 75 tokens