domain-modeling-skill

domain-modeling-skill is a skill for Claude Code, Codex from darellchua2/opencode-config-template. It costs 38 tokens per session (2,531 once invoked), scanned A, original, Apache-2.0.

A method for defining a project's core concepts, terminology, and architectural decisions. It keeps a shared glossary and records important decisions in files such as CONTEXT.md and ADRs.

In plain words
What is it for?
Use it while designing a domain model, settling terminology, exploring edge cases, checking code against agreed concepts, and recording hard-to-reverse decisions.
Why use it?
It exposes vague or conflicting terms before they cause misunderstandings in code and documentation. It also keeps the written model aligned with how the software actually works.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions OpenCode.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is - [Ordering](./src/ordering/CONTEXT.md) — receives and tracks customer orders.

Good fit Use it while designing a domain model, settling terminology, exploring edge cases, checking code against agreed concepts, and recording hard-to-reverse decisions.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/darellchua2/opencode-config-template
agentmods
npx agentmods add skills/darellchua2/opencode-config-template/domain-modeling-skill

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/domain-modeling-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/domain-modeling-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,531 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00038 $0.02531
Opus 5.5 $0.00015 $0.01012
Sonnet 5.5 $0.00008 $0.00506
Haiku 4.5 $0.00004 $0.00253

Measured 2mo ago against content hash fe0316ba3baf, 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-skill 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 2mo 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/domain-modeling-skill/SKILL.md · 262 lines

How it starts

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

What I do

I actively build and sharpen the project's domain model as you design. This is the active discipline — challenging terms, inventing edge-case scenarios, and writing the glossary and decisions down the moment they crystallise.

Merely reading CONTEXT.md for vocabulary is NOT this skill — that's a one-line habit any skill can do. I am for when you're changing the model, not just consuming it.

  1. Challenge terms against the existing glossary and surface contradictions immediately
  2. Sharpen fuzzy language by proposing precise canonical terms
  3. Stress-test with scenarios that probe edge cases and force precision about concept boundaries
  4. Cross-reference with code — when the user states how something works, verify the code agrees
  5. Update CONTEXT.md inline — capture resolved terms immediately, never batch them
  6. Offer ADRs sparingly — only when a decision is hard-to-reverse, surprising, and a real trade-off

I am the docs engine (model-invoked). grilling-skill --docs mode inlines a compact copy of my capture convention (glossary + three-criteria ADR gate) so the interview captures docs directly; I remain the canonical full engine.

When to use me

Use this skill when:

  • The user introduces or disputes domain terminology
  • A ubiquitous language needs to be established or sharpened
  • An architectural decision has just been made and may warrant an ADR
  • Another skill (e.g. grilling-skill --docs mode) captures docs inline during a session
  • Code contradicts the user's stated understanding of how the system works

Trigger phrases:

  • "let's define our terms"
  • "that should be an ADR"
  • "update CONTEXT.md"
  • "is that the right word for"
  • "capture this decision"
  • "ubiquitous language"

File Structure

Single-context repos (most repos)

/
├── CONTEXT.md
├── docs/
│   └── adr/
│       ├── 0001-event-sourced-orders.md
│       └── 0002-postgres-for-write-model.md
└── src/

Multi-context repos

Read the full file on GitHub · 262 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. 2mo ago Changed · -1 lines fe0316ba3baf
  2. 3mo ago First seen · 263 lines · 38 tokens per session scan A 0407f47e7cc1

Subscribe to this mod's changes

domain-modeling-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 38 tokens to every session and 2,531 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-09-03.

Related

domain-modeling-skill compared with skills from other repositories

domain-modeling-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
domain-modeling-skilldarellchua2/opencode-config-templateSkill62mo agoApache-2.0A38Claude Code, Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill333k7d agoMITA21Claude Code