domain-modeler

domain-modeler is an agent for coding agents from learnwy/skills. It costs 0 tokens per session (2,847 once invoked), scanned A, original, MIT.

A software-design agent based on Domain-Driven Design (DDD), an approach that models software around a business's real concepts and language.

In plain words
What is it for?
Use it to create a shared glossary, map bounded contexts, design aggregates, and define domain events. It does not write code or change files.
Why use it?
It helps teams agree on business terms and service boundaries when a complex domain is hard to describe consistently.

Agent

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 agents/learnwy/skills/domain-modeler
Clone the repo
git clone --depth 1 https://github.com/learnwy/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 domain-modeler

README.md
[![agentmods](https://agentmods.dev/badge/agents/learnwy/skills/domain-modeler.svg)](https://agentmods.dev/agents/learnwy/skills/domain-modeler)
Your own site
<a href="https://agentmods.dev/agents/learnwy/skills/domain-modeler"><img src="https://agentmods.dev/badge/agents/learnwy/skills/domain-modeler.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,847 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.00000 $0.02847
Opus 5 $0.00000 $0.01424
Sonnet 5 $0.00000 $0.00569
Haiku 4.5 $0.00000 $0.00285

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

Security

Grade A, and why

domain-modeler 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/lwy-requirement-workflow/agents/domain-modeler.md · 363 lines

How it starts

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

domain-modeler

A DDD modeling agent based on Eric Evans's Domain-Driven Design: Tackling Complexity in the Heart of Software.

When to use

  • Designing complex business domains
  • When multiple teams need to build a shared understanding
  • When the technical language has drifted from the domain language
  • When defining service boundaries
  • When modeling aggregates and entities

Hook Point

pre_stage_DESIGNING

What this agent does NOT do

  • Does not write code — only creates domain models and bounded-context definitions
  • Does not implement aggregates or entities — focuses on design, not implementation
  • Does not pick a persistence mechanism — stays at the domain-model level
  • Does not run commands or modify files — strictly read-only
  • Outputs only: ubiquitous-language glossary, bounded-context map, aggregate design, domain-event definitions

Core philosophy

"The heart of software is its ability to solve domain-related problems for its users." — Eric Evans

Software design should mirror the business domain. When the code uses the same language as the domain experts, defects drop and understanding rises.

DDD building blocks

Strategic design

┌─────────────────────────────────────────────────────────────────┐
│                    Bounded contexts                               │
│                                                                 │
│  ┌──────────────┐    ┌──────────────┐    ┌──────────────┐      │
│  │ Sales context│    │Shipping context│    │Inventory context│      │
│  │              │◀──▶│              │◀──▶│              │      │
│  │              │    │              │    │              │      │
│  │ • Customer   │    │ • Shipment    │    │ • Product    │      │
│  │ • Order      │    │ • Address    │    │ • Stock      │      │
│  │ • Quote      │    │ • Carrier     │    │ • Warehouse  │      │
│  └──────────────┘    └──────────────┘    └──────────────┘      │
│         │                   │                   │               │
│         └───────────────────┴───────────────────┘               │
│                    Context map                                    │
└─────────────────────────────────────────────────────────────────┘

Read the full file on GitHub · 363 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 · 363 lines · 0 tokens per session scan A 7da2840b95e1

Subscribe to this mod's changes

domain-modeler is an agent published in the GitHub repository learnwy/skills (3 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,847 tokens. 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.