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 custom-widgetsgit 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/custom-widgets)<a href="https://agentmods.dev/skills/mendixlabs/mxcli/custom-widgets"><img src="https://agentmods.dev/badge/skills/mendixlabs/mxcli/custom-widgets/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/custom-widgets"><img src="https://agentmods.dev/badge/skills/mendixlabs/mxcli/custom-widgets.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.00142 | $0.08158 |
| Opus 5.5 | $0.00057 | $0.03263 |
| Sonnet 5.5 | $0.00028 | $0.01632 |
| Haiku 4.5 | $0.00014 | $0.00816 |
Grade A, and why
custom-widgets 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 8d 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 — 721 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 |
|---|---|
| 27-151 | Any installed widget is named by its own name |
| 152-253 | Built-in Pluggable Widgets |
| 254-342 | Charts (Mendix Charts.mpk) |
| 343-490 | Adding a Third-Party Widget |
| 491-516 | Authoring over MCP (live Studio Pro) |
| 517-619 | .def.json Reference |
| 620-680 | Engine Internals |
| 681-696 | Verify & Debug |
| 697-708 | Common Mistakes |
| 709-720 | Key Source Files |
Custom & Pluggable Widgets in MDL
Any installed widget is named by its own name
If a widget is installed in widgets/, MDL names it directly — no keyword list,
no widget id:
htmlelement frame (tagName: 'div', tagContentMode: 'container') {
attribute a1 (attributeName: 'data-testid', attributeValueType: 'expression')
tagcontentcontainer body {
dynamictext caption (Content: 'Inside the element')
}
}
Three things there are read from the widget's definition, not from anything
hardcoded: the keyword (htmlelement, the last segment of the widget id),
the properties (the widget's own spelling — tagName, not TagName), and
the body containers — attribute is an object list (one entry per
repetition), tagcontentcontainer a child slot (holds widgets).
Ask the widget rather than guessing. describe widget type <name> lists every
property with its type, default and enumeration members; every body container
and whether MDL can express it; and a complete example that parses AND checks as
written:
mxcli widget describe htmlelement -p app.mpr
Do this first when placing an unfamiliar widget. It is faster than reading this
file and it cannot go stale, because it reads the .mpk the project actually
has.
The id form is the fallback
What ships with it
1 file 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.
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.
- 8d ago Changed 6d25a4f88e87
- 1mo ago Changed 787a216a3f94
- 1mo ago Changed · +3 lines 2f060622a0f1
- 1mo ago Changed · +19 lines 26751f45e93d
- 1mo ago Changed 9106cdf5c2cf
- 2mo ago Changed · +5 lines a9c4d04b5242
- 2mo ago Changed · +11 lines 46ac73a17fc1
- 2mo ago Changed · +61 lines 275505213e76
- 2mo ago Changed · +23 lines add5c492f737
- 2mo ago First seen · 599 lines · 142 tokens per session scan A cdd0d37a69bb
custom-widgets is a skill published in the GitHub repository mendixlabs/mxcli (146 stars, last pushed yesterday), licensed Apache-2.0. It adds 142 tokens to every session and 8,158 once invoked, about $0.0006 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.
custom-widgets compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| custom-widgetsmendixlabs/mxcli | Skill | 146 | yesterday | Apache-2.0 | A | 142 | Claude Code |
| stuckQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | A | 57 | Claude Code |
| e2e-testingQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | A | 94 | Claude Code, Codex |
| structured-debuggingQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | A | 85 | Claude Code, Codex |
| desktop-brand-builderQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | A | 68 | Claude Code, Codex |
| batch-apiQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | A | 51 | Claude Code |
| workflow-creatorQwenLM/qwen-code | Skill | 31k | today | Apache-2.0 | A | 49 | Claude Code, Codex |