mdl-entities

mdl-entities is a skill for Claude Code from mendixlabs/mxcli. It costs 39 tokens per session (3,370 once invoked), scanned A, original, Apache-2.0.

A complete syntax reference for Mendix Domain Language, the language used to define data entities, their fields, and relationships. It covers stored, temporary, and calculated data models.

In plain words
What is it for?
Use it when creating or changing Mendix domain models, including business data, temporary data, calculated views, attributes, and associations.
Why use it?
It reduces errors when exact entity types, field formats, names, or relationship syntax are required.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it when creating or changing Mendix domain models, including business data, temporary data, calculated views, attributes, and associations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mendixlabs/mxcli/mdl-entities
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 mdl-entities
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 mdl-entities

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mendixlabs/mxcli/mdl-entities"><img src="https://agentmods.dev/badge/skills/mendixlabs/mxcli/mdl-entities.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,370 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.00039 $0.03370
Opus 5.5 $0.00016 $0.01348
Sonnet 5.5 $0.00008 $0.00674
Haiku 4.5 $0.00004 $0.00337

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

Security

Grade A, and why

mdl-entities 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 23d 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/mdl-entities/SKILL.md · 448 lines

How it starts

The opening of the file, as written. The whole thing — 448 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
32-39 Entity Types
40-77 Persistent Entity
78-94 Non-Persistent Entity
95-109 Attribute Types
110-129 Attribute Modifiers
130-177 Generalization (Inheritance)
178-226 Associations
227-243 Enumerations
244-300 View Entity (OQL)
301-324 Entity with Index
325-386 Complete Domain Model Example
387-404 Changing an Existing Domain Model
405-447 Quick Reference

MDL Entity Syntax Reference

Complete syntax reference for creating entities, attributes, and associations.

Entity Types

Type Keyword Stored in DB Use Case
Persistent create persistent entity Yes Business data
Non-Persistent create non-persistent entity No Temporary/view data
View create view entity No (OQL query) Aggregated/computed data

Persistent Entity

mdl 1;
/**
 * Customer entity for storing customer data
 */
create persistent entity Module.Customer (
  -- String attributes
  Name: string(100) not null,
  Email: string(200),
  Code: string(20) unique,

  -- Numeric attributes
  Age: integer,
  CreditLimit: decimal,

  -- Boolean
  IsActive: boolean default true,

  -- Date/Time
  -- There is no date-only type (`date` is deprecated, MDL-DEPR160). A calendar
  -- date that must not shift with the user's time zone is `not localized`.
  BirthDate: datetime not localized,
  LastLogin: datetime,   -- localized: shown in the user's time zone (default)
  -- Use autocreateddate (not datetime) to record when the object was created.
  -- 'CreatedDate' as a plain datetime triggers lint error MDL020.
  CreatedDate: autocreateddate,

  -- Enumeration
  status: Module.CustomerStatus default Active,

  -- Auto-number (REQUIRES a seed via `default N` — without it the build fails
  -- CE7247 "Value cannot be empty")
  CustomerNumber: autonumber default 1
);

Read the full file on GitHub · 448 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. 23d ago Changed · +2 lines fd20bf818dcf
  2. 1mo ago Changed · +15 lines c5bc1e5aa627
  3. 1mo ago Changed · +2 lines debb3f6798c1
  4. 1mo ago Changed · +22 lines df4ac636d696
  5. 1mo ago Changed · +11 lines 7051f3ee486e
  6. 1mo ago Changed fed9ad3e6c1f
  7. 2mo ago Changed · -5 lines 7f24c7b4c6b1
  8. 2mo ago Changed · +23 lines 0cf7cb4b152c
  9. 3mo ago First seen · 378 lines · 39 tokens per session scan A 1a640a0aa99f

Subscribe to this mod's changes

mdl-entities is a skill published in the GitHub repository mendixlabs/mxcli (146 stars, last pushed yesterday), licensed Apache-2.0. It adds 39 tokens to every session and 3,370 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-30.

Related

mdl-entities compared with skills from other repositories

mdl-entities next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mdl-entitiesmendixlabs/mxcliSkill146yesterdayApache-2.0A39Claude Code
nosql-database-designsoulcodex/agenticSkill1011d agoMITA71Claude Code, Codex
relational-database-designsoulcodex/agenticSkill1011d agoMITA55Claude Code, Codex
sql-query-optimizationsoulcodex/agenticSkill1011d agoMITA70Claude Code, Codex
hatch3r-migrationhatch3r/hatch3rSkill262mo agoMITA31Claude Code
sql-databasejnotsknab/mux-swarmSkill99d agoGPL-3.0A41Claude Code, Codex
airtableStarryCod/cogitumSkill126mo agoMITA19Claude Code, Codex