check-syntax

check-syntax is a skill for Claude Code from mendixlabs/mxcli. It costs 56 tokens per session (8,215 once invoked), scanned A, original, Apache-2.0.

A validation skill for MDL scripts, where MDL is the scripting language used with mxcli. It checks syntax and project references before a script is shown, run, or committed.

In plain words
What is it for?
Use it to check MDL files before execution or version control, resolve referenced project objects, and review warnings before making changes.
Why use it?
It catches scripts that mxcli would reject and helps avoid partially applying a script with known errors.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./bin/mxcli check script.mdl --no-project.

Good fit Use it to check MDL files before execution or version control, resolve referenced project objects, and review warnings before making changes.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/mendixlabs/mxcli
agentmods
npx agentmods add skills/mendixlabs/mxcli/check-syntax

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 check-syntax

README.md
[![agentmods](https://agentmods.dev/badge/skills/mendixlabs/mxcli/check-syntax/github.svg)](https://agentmods.dev/skills/mendixlabs/mxcli/check-syntax)
Your own site
<a href="https://agentmods.dev/skills/mendixlabs/mxcli/check-syntax"><img src="https://agentmods.dev/badge/skills/mendixlabs/mxcli/check-syntax/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 check-syntax

Your own site · 80×15
<a href="https://agentmods.dev/skills/mendixlabs/mxcli/check-syntax"><img src="https://agentmods.dev/badge/skills/mendixlabs/mxcli/check-syntax.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,215 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 warn 7 Sept 2026
SkillSpector: 5 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 27
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • high Agent Snooping · line 306
    Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.
    Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
  • high Agent Snooping · line 307
    Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.
    Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
  • medium Agent Snooping · line 306
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 307
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.00056 $0.08215
Opus 5.5 $0.00022 $0.03286
Sonnet 5.5 $0.00011 $0.01643
Haiku 4.5 $0.00006 $0.00822

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

Security

Grade A, and why

check-syntax 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/check-syntax/SKILL.md · 677 lines

How it starts

The opening of the file, as written. The whole thing — 677 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
29-35 When to Use This Skill
36-298 exec refuses what check rejects
299-434 Pre-Flight Validation Checklist
435-470 Two rules that only real validation used to catch
471-517 Validation Workflow
518-539 Script Execution Behavior
540-600 Script Organization
601-662 Troubleshooting Parse Errors
663-670 Studio Pro MCP — Verification Only
671-676 Related Skills

MDL Syntax Validation Skill

This skill ensures MDL scripts are validated before presenting them to users or executing them.

When to Use This Skill

ALWAYS use this skill before:

  • Presenting MDL code to users
  • Executing MDL scripts via mxcli exec
  • Committing MDL files to version control

exec refuses what check rejects

mxcli exec runs the same semantic checks before writing anything. A script whose checks report an error is not executed at all — nothing is written. Warnings are printed and do not stop the run. A statement that still fails while it is written is rolled back with the rest (see Script Execution Behavior).

mxcli exec script.mdl -p app.mpr              # checked, then applied
mxcli exec script.mdl -p app.mpr --no-check   # applied regardless

This does not replace running check yourself. check is faster, needs no write connection, and reports the warnings worth reading before you commit to a run. What the gate guarantees is narrower and still valuable: a script that slips past you cannot half-apply.

It also does not mean the script is correct. mxcli check validates MDL syntax and mxcli's own rules; it does not validate the Mendix model. Run mx check (or mxcli docker check -p app.mpr) after applying a slice.

Read the full file on GitHub · 677 lines

Files

What ships with it

3 files 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.

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 · +3 lines fbe4a103d47e
  2. 18d ago Changed a7c43ed5e255
  3. 26d ago Changed · -41 lines a260c5e04a61
  4. 1mo ago Changed · +9 lines 99846724e04e
  5. 1mo ago Changed 439dc05e146c
  6. 1mo ago Changed · -15 lines c87853bc108f
  7. 1mo ago Changed 812000bf77be
  8. 1mo ago Changed dee7b0d108df
  9. 1mo ago Changed · +20 lines 5ea666aa1a68
  10. 1mo ago First seen · 701 lines · 56 tokens per session scan A 1de1acb1a26f

Subscribe to this mod's changes

check-syntax is a skill published in the GitHub repository mendixlabs/mxcli (146 stars, last pushed yesterday), licensed Apache-2.0. It adds 56 tokens to every session and 8,215 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

check-syntax compared with skills from other repositories

check-syntax next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
check-syntaxmendixlabs/mxcliSkill146yesterdayApache-2.0A56Claude Code
codegraphQwenLM/qwen-codeSkill31ktodayApache-2.0A0Claude Code, Codex
stuckQwenLM/qwen-codeSkill31ktodayApache-2.0A57Claude Code
structured-debuggingQwenLM/qwen-codeSkill31ktodayApache-2.0A85Claude Code, Codex
memory-leak-debugQwenLM/qwen-codeSkill31ktodayApache-2.0A42Claude Code, Codex
bugfixQwenLM/qwen-codeSkill31ktodayApache-2.0A53Claude Code, Codex
test-failure-explorerQwenLM/qwen-codeSkill31ktodayApache-2.0A32Claude Code, Codex