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.
git 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/commands/mendixlabs/mxcli/lint)<a href="https://agentmods.dev/commands/mendixlabs/mxcli/lint"><img src="https://agentmods.dev/badge/commands/mendixlabs/mxcli/lint/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/commands/mendixlabs/mxcli/lint"><img src="https://agentmods.dev/badge/commands/mendixlabs/mxcli/lint.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00012 | $0.01892 |
| Opus 5.5 | $0.00005 | $0.00757 |
| Sonnet 5.5 | $0.00002 | $0.00378 |
| Haiku 4.5 | $0.00001 | $0.00189 |
Grade A, and why
lint 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 — 149 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Lint Project
Check a Mendix project for common issues like naming convention violations, security gaps, and best practice deviations.
Commands
# Basic lint
mxcli lint -p app.mpr
# With colored output
mxcli lint -p app.mpr --color
# JSON output
mxcli lint -p app.mpr --format json
# SARIF output (for CI/GitHub)
mxcli lint -p app.mpr --format sarif > results.sarif
# List available rules
mxcli lint -p app.mpr --list-rules
# Exclude modules
mxcli lint -p app.mpr --exclude System --exclude Administration
# Only findings not in a recorded baseline (record it once with --update-baseline)
mxcli lint -p app.mpr --baseline lint-baseline.json --update-baseline
mxcli lint -p app.mpr --baseline lint-baseline.json
Built-in Go Rules
| Rule | Category | Description |
|---|---|---|
| MPR001 | naming | NamingConvention - PascalCase with 21 microflow prefixes (ACT_, SUB_, DS_, VAL_, SCH_, IVK_, BCO_, ACO_, etc.) |
| MPR002 | quality | EmptyMicroflow - Microflows should have at least one activity |
| MPR003 | design | DomainModelSize - Max persistent entities per domain model |
| MPR004 | quality | ValidationFeedback - Validation feedback with empty message |
| MPR005 | quality | ImageSource - IMAGE widgets with no source configured |
| MPR006 | quality | EmptyContainer - Empty layout containers |
| MPR007 | security | PageNavigationSecurity - Navigation pages need allowed roles (CE0557); every user role must be able to open its home page (at Production security, else CE2729 per widget) |
| MPR012 | correctness | ReactUnsupportedWidget - static/dynamic image, drop-down, legacy data grid and reference selector are unsupported by the React client (CE0582; info on the classic client) |
| MPR013 | correctness | SnippetCallAppearance - Class/Style/DynamicClasses/design properties on a snippet call never reach the page (it renders no element) |
| MPR014 | correctness | AgentWithoutSelectedModel - an agent with no selected model, which Agent Editor 2.2+ refuses at startup, stopping the import of every agent (not reported for AgentEditorCommons before 2.2) |
| MPR015 | correctness | ConsumedMCPServiceWithoutEndpoint - a consumed MCP service with no endpoint constant, which Agent Editor skips at startup |
| MPR022 | correctness | AgentDocumentDanglingReference - an agent, model, knowledge base or MCP service names a document the project does not have; mx check does not see it, Studio Pro reports it on open (needs the full catalog) |
| SEC001 | security | NoEntityAccessRules - Persistent entities need access rules |
| SEC002 | security | WeakPasswordPolicy - Password minimum length should be 8+ |
| SEC003 | security | DemoUsersActive - Demo users should be off at Production security |
| SEC010 | security | PageEntityNotReadable - A page data widget lists an entity the user roles that open the page cannot read; at Production it renders empty, silently (info when only row-scoped) |
| SEC011 | security | XPathAssociationNotReadable - A page data source's XPath crosses an association a role that opens the page may not read; at Production the page fails to open ("No access rights for …") |
| SEC012 | security | ReachablePageNotReadable - A page a user role can reach shows an attribute or lists an entity the role may not read (mxbuild CE2729), found before a build |
| CONV011 | performance | NoCommitInLoop - Commits inside loops (commit actions, or create/change with commit) cause N+1 issues |
| CONV012 | quality | ExclusiveSplitCaption - Exclusive splits need meaningful captions |
| CONV013 | quality | ErrorHandlingOnCalls - External calls (REST/WS/Java) need custom error handling |
| CONV014 | quality | NoContinueErrorHandling - Don't silently swallow errors with Continue |
| CONV020 | quality | CreatedObjectNeverPersisted - A microflow creates a persistent object without commit and never commits, returns or passes it on, so it is discarded |
| CONV021 | quality | CreateChangeThenCommit - A create/change without commit directly followed by a Commit of the same object; set Commit on the create/change instead |
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 · +1 lines b3d224f12c01
- 19d ago Changed · +2 lines 5f01c62935ca
- 27d ago Changed · +1 lines 3d23d58097d3
- 28d ago Changed · +5 lines d2639e44d37d
- 29d ago Changed · +1 lines d025ef0d5195
- 1mo ago Changed · +2 lines fdfa445bb102
- 1mo ago Changed · +1 lines a293be47b0b9
- 1mo ago Changed 064cd433a052
- 1mo ago Changed 8076742d3ece
- 1mo ago First seen · 136 lines · 12 tokens per session scan A 201cdb70c703
lint is a command published in the GitHub repository mendixlabs/mxcli (145 stars, last pushed yesterday), licensed Apache-2.0. It adds 12 tokens to every session and 1,892 once invoked, about $0.0000 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.
lint compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| lintmendixlabs/mxcli | Command | 145 | yesterday | Apache-2.0 | A | 12 | Claude Code |
| hatch3r-pr-resolvehatch3r/hatch3r | Command | 26 | 2mo ago | MIT | A | 25 | Claude Code |
| hatch3r-reworkhatch3r/hatch3r | Command | 26 | 2mo ago | MIT | A | 106 | Claude Code |
| review-branchdamusix/atomic-claude | Command | 117 | yesterday | MIT | A | 35 | Claude Code |
| code-review-giveaxiomantic/spellbook | Command | 13 | 5d ago | MIT | A | 17 | Claude Code |
| plan-levelsdean0x/devflow | Command | 21 | yesterday | MIT | A | 0 | Claude Code |
| hatch3r-benchmarkhatch3r/hatch3r | Command | 26 | 2mo ago | MIT | A | 21 | Claude Code |