lint

lint is a command for Claude Code from mendixlabs/mxcli. It costs 12 tokens per session (1,892 once invoked), scanned A, original, Apache-2.0.

A project checker for finding naming, security, design, and code-quality issues in a Mendix application.

In plain words
What is it for?
It is for checking naming conventions, empty microflows or containers, missing image sources, navigation security, and other configured rules.
Why use it?
It identifies common problems consistently and can produce machine-readable reports for tools such as continuous integration systems and GitHub.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit It is for checking naming conventions, empty microflows or containers, missing image sources, navigation security, and other configured rules.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/mendixlabs/mxcli/lint
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.

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 lint

README.md
[![agentmods](https://agentmods.dev/badge/commands/mendixlabs/mxcli/lint/github.svg)](https://agentmods.dev/commands/mendixlabs/mxcli/lint)
Your own site
<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.

agentmods 80×15 button for lint

Your own site · 80×15
<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>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,892 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.
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.00012 $0.01892
Opus 5.5 $0.00005 $0.00757
Sonnet 5.5 $0.00002 $0.00378
Haiku 4.5 $0.00001 $0.00189

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

Security

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.

.claude/commands/mendix/lint.md · 149 lines

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

Read the full file on GitHub · 149 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 · +1 lines b3d224f12c01
  2. 19d ago Changed · +2 lines 5f01c62935ca
  3. 27d ago Changed · +1 lines 3d23d58097d3
  4. 28d ago Changed · +5 lines d2639e44d37d
  5. 29d ago Changed · +1 lines d025ef0d5195
  6. 1mo ago Changed · +2 lines fdfa445bb102
  7. 1mo ago Changed · +1 lines a293be47b0b9
  8. 1mo ago Changed 064cd433a052
  9. 1mo ago Changed 8076742d3ece
  10. 1mo ago First seen · 136 lines · 12 tokens per session scan A 201cdb70c703

Subscribe to this mod's changes

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.

Related

lint compared with commands from other repositories

lint next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
lintmendixlabs/mxcliCommand145yesterdayApache-2.0A12Claude Code
hatch3r-pr-resolvehatch3r/hatch3rCommand262mo agoMITA25Claude Code
hatch3r-reworkhatch3r/hatch3rCommand262mo agoMITA106Claude Code
review-branchdamusix/atomic-claudeCommand117yesterdayMITA35Claude Code
code-review-giveaxiomantic/spellbookCommand135d agoMITA17Claude Code
plan-levelsdean0x/devflowCommand21yesterdayMITA0Claude Code
hatch3r-benchmarkhatch3r/hatch3rCommand262mo agoMITA21Claude Code