generate-domain-model

generate-domain-model is a skill for Claude Code from mendixlabs/mxcli. It costs 66 tokens per session (2,705 once invoked), scanned A, original, Apache-2.0.

A generator for complete Mendix domain models in MDL, including entities, fields, relationships, and enumerations. A domain model describes the business data an application stores and how that data connects.

In plain words
What is it for?
Use it to create models for areas such as e-commerce, human resources, or customer management, including related entities, associations, and fixed-choice values.
Why use it?
It provides a structured way to model an entire business area and validates the result before it is used in Mendix Studio Pro.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to create models for areas such as e-commerce, human resources, or customer management, including related entities, associations, and fixed-choice values.

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

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mendixlabs/mxcli/generate-domain-model"><img src="https://agentmods.dev/badge/skills/mendixlabs/mxcli/generate-domain-model.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,705 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.00066 $0.02705
Opus 5.5 $0.00026 $0.01082
Sonnet 5.5 $0.00013 $0.00541
Haiku 4.5 $0.00007 $0.00270

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

Security

Grade A, and why

generate-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 6d 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.

.claude/skills/mendix/generate-domain-model/SKILL.md · 276 lines

How it starts

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

Find it fast

sed -n '<from>,<to>p' SKILL.md one section rather than reading the file; ./mxcli syntax <topic> answers how do I write this for a fraction of either.

lines section
34-46 Reference files
47-53 When to Use This Skill
54-65 Modelling for the client: widgets bind members, not expressions
66-102 Documentation Best Practices
103-236 Step-by-Step Process
237-255 Checklist
256-265 References
266-275 Tips for AI Assistants

Creating Mendix Domain Model MDL Scripts

Use this skill to generate Mendix domain model scripts in MDL (Mendix Definition Language), validate them, apply them, and lay the result out.

The job is not done until mxcli layout has run on every module the script created entities in. Entities created without @position land on a grid that knows nothing about their associations, so the lines cross the diagram. Lint rule MPR020 is an error for exactly that state, so mxcli lint and mxcli verify fail until the layout has run, and exec prints a reminder naming the command.

Reference files

SKILL.md covers the process and the decisions — what to model, in what order, and how to check it. The lookup material is next door:

  • reference/syntax.md — the complete syntax for entities, attributes, associations and enumerations, every attribute type, plus reserved keywords and entity positioning. Check a spelling here rather than guessing; a reserved word used as an attribute name fails in Studio Pro, not in the parser.
  • reference/patterns.md — the recurring domain shapes (header/detail, categorisation, audit, soft delete, many-to-many with payload) and a full worked e-commerce model.

When to Use This Skill

  • User asks to create a domain model for a specific use case
  • User wants to generate entities, associations, and enumerations
  • User requests a complete e-commerce, HR, CRM, or other business domain model
  • User needs validation of generated MDL scripts

Read the full file on GitHub · 276 lines

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. 6d ago Changed · +23 lines · +11 tokens per session fe8e52d49942
  2. 1mo ago Changed · +18 lines c56e55d3c10a
  3. 3mo ago First seen · 235 lines · 55 tokens per session scan A 1e6544eb60f9

Subscribe to this mod's changes

generate-domain-model is a skill published in the GitHub repository mendixlabs/mxcli (146 stars, last pushed yesterday), licensed Apache-2.0. It adds 66 tokens to every session and 2,705 once invoked, about $0.0003 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-30.

Related

generate-domain-model compared with skills from other repositories

generate-domain-model next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
generate-domain-modelmendixlabs/mxcliSkill146yesterdayApache-2.0A66Claude Code
nosql-database-designsoulcodex/agenticSkill1011d agoMITA71Claude Code, Codex
sql-query-optimizationsoulcodex/agenticSkill1011d agoMITA70Claude Code, Codex
firebaseericrisco/rsc-harnessSkill6915d agoMITA77Claude Code, Codex
notion-connectorericrisco/rsc-harnessSkill6915d agoMITA86Claude Code, Codex
ship-safe-scanasamassekou10/ship-safeSkill8731mo agoMITA36Claude Code
backend-developmentMoizIbnYousaf/Ai-Agent-SkillsSkill1.2k2mo agoMITA32Claude Code, Codex