create-domain-model

create-domain-model is a skill for Claude Code, Codex from tomzx/agents. It costs 90 tokens per session (1,274 once invoked), scanned A, original, MIT.

A structured description of a problem area, covering its important things, relationships, terms, rules, and quantities. A domain is the real-world subject a software system deals with, such as banking or shipping.

In plain words
What is it for?
Use it during design or architecture work to identify entities, relationships, definitions, rules that must always hold, and important measurements.
Why use it?
It helps the team understand an unfamiliar subject and agree on what important terms mean before designing a solution.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/tomzx/agents/create-domain-model
Any agent
npx skills add tomzx/agents --skill create-domain-model
Clone the repo
git clone --depth 1 https://github.com/tomzx/agents

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 create-domain-model

README.md
[![agentmods](https://agentmods.dev/badge/skills/tomzx/agents/create-domain-model.svg)](https://agentmods.dev/skills/tomzx/agents/create-domain-model)
Your own site
<a href="https://agentmods.dev/skills/tomzx/agents/create-domain-model"><img src="https://agentmods.dev/badge/skills/tomzx/agents/create-domain-model.svg" alt="Measured on agentmods" 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,274 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00090 $0.01274
Opus 5 $0.00045 $0.00637
Sonnet 5 $0.00018 $0.00255
Haiku 4.5 $0.00009 $0.00127

Measured 3d ago against content hash 08f0fbe2be20, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

create-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 3d 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/create-domain-model/SKILL.md · 84 lines

How it starts

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

Create Domain Model

Captures the structure of a domain: the entities that matter, how they relate, the precise meaning of each term, the rules that always hold, and the quantities the problem turns on. It makes an unfamiliar domain legible before solutioning, and gives requirements and specifications a shared vocabulary. It is a one-off skill, most useful when entering an unfamiliar domain during the design or architecture process. It is richer than the project-level .sdlc/context/vocabulary.md, which it reuses rather than redefines.

Prerequisites

  • Apply the shared SDLC conventions in skills/sdlc/references/shared.md.
  • If working within a feature, locate its directory under .sdlc/features/N-<slug>/.
  • Read .sdlc/context/vocabulary.md if present, and reuse its terms instead of redefining them
  • Read any relevant requirements, specification, or architecture documents for context

Steps

  1. Read available context (requirements, specification, architecture, vocabulary) to identify the domain.
  2. Read .sdlc/context/vocabulary.md if present. Reuse existing project terms; only add terms that are specific to this domain and not already defined.
  3. Identify the core entities: the nouns in the domain that carry meaning (people, things, events, records, concepts). Capture each with a short description and the attributes that matter.
  4. Identify the relationships between entities, with cardinality (one-to-one, one-to-many, many-to-many) and any constraint or rule that governs the relationship. Render the entity model as a Mermaid classDiagram: one class per entity with its key attributes, edges carrying cardinality, and each invariant attached as a note on the entity it constrains.
  5. Build a glossary: give each term a precise definition, and disambiguate any overloaded term (one word used two ways). Note where a term differs from general usage.
  6. State invariants: rules that always hold in this domain (business rules, constraints, identities). These are testable truths, not implementation details.
  7. Identify the key quantities and metrics the domain turns on, why each matters, and its current value if known.
  8. Define boundaries: what is in this domain versus adjacent domains it touches but does not model.
  9. Record open questions where the model is uncertain.
  10. Write the output to domain-model.md under the relevant feature directory (.sdlc/features/N-<slug>/domain-model.md), or to a path provided by the user.

Read the full file on GitHub · 84 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. 3d ago First seen · 84 lines · 90 tokens per session scan A 08f0fbe2be20

Subscribe to this mod's changes

create-domain-model is a skill published in the GitHub repository tomzx/agents (5 stars, last pushed today), licensed MIT. It adds 90 tokens to every session and 1,274 once invoked, about $0.0005 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-31.

Related

Other skills, from other repositories

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

agent-platform-model-registry

Agent Platform Model Registry Management. Use when you need to upload, list, describe, update, or delete machine learning models (and their versions) in the Agent Platform Model Registry. Don't use for model training, model deployment to endpoints, or managing non-Agent Platform models.

google/skills · 60 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

auditing-subgroup-fairness

Audit an OpenMed NER or de-identification model for performance disparities across demographic subgroups (sex, age band, race/ethnicity when available) using openmed.eval.fairnessreport. Use when the user wants per-subgroup recall and leakage, wants to check whether de-identification under-protects a group, wants to…

maziyarpanahi/openmed · 148 tokens

aatmf-t10-confidentiality-breach

AATMF T10 — Integrity & Confidentiality Breach. System prompt extraction, training-data extraction, model-weight leakage, private-key recovery.

PurpleAILAB/Decepticon · 39 tokens

neuron-evaluation-engineer

Create and run AI evaluations with datasets, assertions, and output drivers in Neuron AI. Use this skill whenever the user mentions evaluation, testing AI systems, creating evaluators, dataset-driven testing, assertion-based validation, or wants to measure AI system performance. Also trigger for tasks involving…

neuron-core/neuron-ai · 77 tokens