domain-modeling

domain-modeling is a skill for Claude Code from HECer/yoke. It costs 57 tokens per session (395 once invoked), scanned A, original, MIT.

A software design practice for defining the words, relationships, and lasting decisions used in a project’s business area.

In plain words
What is it for?
It helps create a shared glossary, test business scenarios, compare the model with code and data, and record settled design decisions.
Why use it?
It removes confusion when the same term means different things, when requirements conflict, or when the code does not match the intended model.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the yoke plugin — 34 skills, 1 hook shipped together

Good fit It helps create a shared glossary, test business scenarios, compare the model with code and data, and record settled design decisions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hecer/yoke/domain-modeling
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 HECer/yoke --skill domain-modeling
Clone the repo
git clone --depth 1 https://github.com/HECer/yoke

Made for: Claude Code.

Or install yoke, the plugin that ships this one along with the rest of its 34 skills, 1 hook.

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 domain-modeling

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hecer/yoke/domain-modeling"><img src="https://agentmods.dev/badge/skills/hecer/yoke/domain-modeling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 395 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.00057 $0.00395
Opus 5.5 $0.00023 $0.00158
Sonnet 5.5 $0.00011 $0.00079
Haiku 4.5 $0.00006 $0.00040

Measured 1mo ago against content hash eedfee989f0a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

domain-modeling 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 1mo 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.

canon/skills/domain-modeling/SKILL.md · 36 lines

What it actually says

Domain modeling

Build the model actively: challenge terms, test relationships with concrete scenarios, compare the stated behavior with code, and record a term when it becomes settled.

Yoke stores durable context under .yoke/context/:

  • GLOSSARY.md is the canonical language for a single domain context.
  • CONTEXT-MAP.md is optional and maps multiple domain contexts plus their relationships.
  • DECISIONS.md records durable outcomes and ADR-class trade-offs.

Read the existing files before proposing vocabulary. Merely consuming their terms is a normal context habit, not a reason to run this skill.

Workflow

  1. Identify overloaded, vague, conflicting, or missing terms in the request and current glossary.
  2. Propose one canonical term and name avoidable aliases. Ask when the distinction changes behavior.
  3. Stress-test relationships with specific scenarios, especially partial, repeated, failed, and cross-context cases.
  4. Compare the model with public interfaces, persistence shapes, and relevant tests. Surface a contradiction instead of silently choosing one side.
  5. When a term is settled, update GLOSSARY.md immediately using CONTEXT-FORMAT.md. Preserve unrelated entries.
  6. Update CONTEXT-MAP.md only when the repository contains more than one genuine domain context.
  7. Record an ADR-class decision only when all three thresholds in ADR-FORMAT.md pass.

Glossary definitions describe the domain, not its implementation. General programming concepts do not belong there.

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. 1mo ago First seen · 36 lines · 57 tokens per session scan A eedfee989f0a

Subscribe to this mod's changes

domain-modeling is a skill published in the GitHub repository HECer/yoke (2 stars, last pushed 12d ago), licensed MIT. It adds 57 tokens to every session and 395 once invoked, about $0.0002 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-08-31.

Related

Other skills, from other repositories

neo4j-getting-started-skill

Orchestrates zero-to-running-app in 8 stages — prerequisites → context → provision → model → load → explore → query → build. Each stage reads its own reference file. Supports HITL and fully autonomous operation. Use when starting a new Neo4j project from scratch, provisioning Aura, generating synthetic data, building…

neo4j-contrib/neo4j-skills · 157 tokens

neo4j-graphql-skill

Build and configure a GraphQL API backed by Neo4j using @neo4j/graphql v7 (current) or v5 (LTS). Covers Neo4jGraphQL constructor, getSchema(), assertIndexesAndConstraints(), type definitions with @node, @relationship (IN/OUT/UNDIRECTED), @cypher for custom resolvers, @authorization/@authentication for JWT/JWKS…

neo4j-contrib/neo4j-skills · 169 tokens

neo4j-kafka-skill

Configure and operate the Neo4j Connector for Kafka (sink + source) and the native Neo4j CDC API. Covers Cypher/Pattern/CUD sink strategies, CDC-based and query-based source, exactly-once semantics, DLQ error handling, Confluent Cloud managed connector, schema registry (Avro/JSON), and native db.cdc.query cursor-loop…

neo4j-contrib/neo4j-skills · 178 tokens

astronomer-airflow

Work with Airflow 3.x on Astronomer. Start/stop, create/trigger DAGs, read logs, run tests. Triggers on "astro", "airflow", "start airflow", "trigger dag", "dag logs".

wsauret/flywheel · 56 tokens

qauthtrailingslash

Audit API routes for the trailing-slash / 307-redirect auth bug — where a missing or extra trailing slash makes the server issue an HTTP 307 redirect and the client silently drops the Authorization header, causing intermittent 401s. Use when reviewing or debugging FastAPI/Starlette (or similar) routes, auth-token loss…

3awny/qship · 80 tokens

nestjs-guards-auth

NestJS guards, authentication, and authorization best practices. Use when implementing or reviewing auth in NestJS — guards, JWT/Passport strategies, RBAC, route protection. Triggers on CanActivate, AuthGuard, JwtStrategy, @Roles, @Public, or Reflector.

dkmqflx/nestjs-best-practices-plugin · 61 tokens