mdl-entities

mdl-entities is a skill for Claude Code from mendixlabs/mxcli. It costs 39 tokens per session (3,019 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,019 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.03019
Opus 5.5 $0.00016 $0.01208
Sonnet 5.5 $0.00008 $0.00604
Haiku 4.5 $0.00004 $0.00302

Measured 5d ago against content hash df4ac636d696, 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 5d 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 · 429 lines

How it starts

The opening of the file, as written. The whole thing — 429 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-127 Attribute Modifiers
128-173 Generalization (Inheritance)
174-222 Associations
223-239 Enumerations
240-281 View Entity (OQL)
282-305 Entity with Index
306-367 Complete Domain Model Example
368-385 Changing an Existing Domain Model
386-428 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 · 429 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. 5d ago Changed · +22 lines df4ac636d696
  2. 6d ago Changed · +11 lines 7051f3ee486e
  3. 14d ago Changed fed9ad3e6c1f
  4. 15d ago Changed · -5 lines 7f24c7b4c6b1
  5. 16d ago Changed · +23 lines 0cf7cb4b152c
  6. 1mo 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 (131 stars, last pushed yesterday), licensed Apache-2.0. It adds 39 tokens to every session and 3,019 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

Other skills, from other repositories

hatch3r-migration

Plans and executes migrations for databases, frameworks, and dependencies. Covers breaking change analysis, phased rollout, and rollback procedures.

hatch3r/hatch3r · 31 tokens

nosql-database-design

Designs a NoSQL data model by leading with access pattern analysis. Covers DynamoDB single-table design (PK/SK/GSI) and MongoDB embedding vs referencing, consistency models, and capacity planning. Invoked when the user asks to design a DynamoDB schema, MongoDB data model, or NoSQL data model.

soulcodex/agentic · 71 tokens

relational-database-design

Designs or reviews a relational database schema for a given domain. Covers table structure, normalization, indexes, constraints, and migration strategy. Invoked when the user asks to design a schema, review a database structure, or optimize a data model.

soulcodex/agentic · 55 tokens

sql-query-optimization

Diagnoses and optimises slow SQL queries using EXPLAIN ANALYZE. Covers identifying bottlenecks (sequential scans, bad estimates, heap fetches), index strategy, query rewrites, and verification. Invoked when the user asks to optimize a query, fix a slow database query, or improve database performance.

soulcodex/agentic · 70 tokens

sql-database

Safe schema-aware SQL querying against CSV/Parquet/JSON files, SQLite databases, and live Postgres. Use when querying structured data, profiling a schema, or building data pipelines.

jnotsknab/mux-swarm · 41 tokens

airtable

Airtable REST API via curl. Records CRUD, filters, upserts.

StarryCod/cogitum · 19 tokens