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.
npx skills add mendixlabs/mxcli --skill cheatsheet-variablesgit clone --depth 1 https://github.com/mendixlabs/mxcliWrote 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.
[](https://agentmods.dev/skills/mendixlabs/mxcli/cheatsheet-variables)<a href="https://agentmods.dev/skills/mendixlabs/mxcli/cheatsheet-variables"><img src="https://agentmods.dev/badge/skills/mendixlabs/mxcli/cheatsheet-variables/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.
<a href="https://agentmods.dev/skills/mendixlabs/mxcli/cheatsheet-variables"><img src="https://agentmods.dev/badge/skills/mendixlabs/mxcli/cheatsheet-variables.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00050 | $0.01384 |
| Opus 5.5 | $0.00020 | $0.00554 |
| Sonnet 5.5 | $0.00010 | $0.00277 |
| Haiku 4.5 | $0.00005 | $0.00138 |
Grade A, and why
cheatsheet-variables 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.
How it starts
The opening of the file, as written. The whole thing — 132 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 |
|---|---|
| 25-37 | Declaration Syntax |
| 38-45 | Key Rules |
| 46-88 | Common Mistakes |
| 89-97 | Special Values |
| 98-117 | Parameter vs Variable |
| 118-131 | Variable Scope |
MDL Variable Cheatsheet
Quick reference for variable declarations in MDL microflows.
Declaration Syntax
| Type | Syntax | Example |
|---|---|---|
| String | declare $name string = 'value'; |
declare $message string = ''; |
| Integer | declare $name integer = 0; |
declare $count integer = 0; |
| Boolean | declare $name boolean = true; |
declare $IsValid boolean = true; |
| Decimal | declare $name decimal = 0.0; |
declare $Amount decimal = 0; |
| DateTime | declare $name datetime = [%CurrentDateTime%]; |
declare $Now datetime = [%CurrentDateTime%]; |
| Enumeration | declare $name Enumeration(Module.Enum) = Module.Enum.Value; |
declare $s Enumeration(Sales.Status) = Sales.Status.Open; |
| Object (Entity) | Do not declare — use a parameter, retrieve, create, or loop iterator |
$Customer = create Sales.Customer (Name = $n); |
| List | Do not declare — use a parameter, retrieve, or create list |
$Orders = create list of Sales.Order; |
Key Rules
- Primitives (String/Integer/Long/Decimal/Boolean/DateTime/Enumeration): Use
declare $var type = value;— these are the only typesdeclare(a Create Variable activity) accepts. - Objects (entities): Never
declarean object. Mendix forbids the Create Variable activity from holding an object (CE0053/CE0038, plus CE7247 on a laterset; flagged as MDL043 bymxcli check) — bare or initialized. Get the object from a microflow parameter, aretrieve … first,$var = create Module.Entity(...), or a loop iterator. There is no "empty object variable" and no aliasing activity — reuse the variable you already have. - Lists: Never
declarea list — same Create Variable restriction (CE0053/CE0038, flagged as MDL040). Get the list from a microflow parameter, aretrieve, or$var = create list of Module.Entity; - SET requires DECLARE: Always declare primitive variables before using SET.
- Parameters are pre-declared: Microflow parameters don't need DECLARE (and a parameter may be an object/list type — that restriction is only on
declare).
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.
- 5d ago Changed · +15 lines 33cfd74dd3fe
- 14d ago Changed a6dabc9b2a8f
- 15d ago Changed 66d40abfd928
- 1mo ago First seen · 117 lines · 50 tokens per session scan A e2e8315c8ecd
cheatsheet-variables is a skill published in the GitHub repository mendixlabs/mxcli (130 stars, last pushed yesterday), licensed Apache-2.0. It adds 50 tokens to every session and 1,384 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.
Other skills, from other repositories
hatch3r-learn
Captures learnings from completed development sessions into reusable knowledge files for future consultation. Invoke manually, from board-pickup after PR merge, or with a specific issue number for targeted reflection.
baoyu-comic
A tool for creating educational comics from supplied text, files, links, or topics. It can cover explanations, biographies, and tutorials in different visual styles, tones, layouts, sizes, and languages.
manim-video
Manim CE animations: 3Blue1Brown math/algo videos.
batch-api
Prepare a many-file, single-turn transform (translate, rewrite, extract) as a plan and submit it to the asynchronous, half-price DashScope Batch API; results are delivered as new files hours later. Invoke explicitly with /batch-api.
test-failure-explorer
Import and query an existing Vitest 3.2 JSON report to explore test failures, file-level errors and original diagnostic evidence.
coordinate
Coordinate a small team of Qwen Code teammates with enforced read-only workers, an optional worktree-pinned writer, shared tasks, peer messages, and existing Agent View tabs. Invoke explicitly with /coordinate.