Summary
mxcli init generates a CLAUDE.md that instructs AI agents to always use ./mxcli
(local path), while the skill files in .ai-context/skills/ use bare mxcli (assumes PATH).
This creates conflicting guidance in the same project.
Specific inconsistency
CLAUDE.md (generated, project-level):
The mxcli tool is located in the root folder of this project, not in the system PATH.
Always use the local path: ./mxcli -p ELDYcare.mpr
Do NOT use mxcli directly - it will fail with "command not found".
.ai-context/skills/run-app.md and other skill files (upstream templates):
mxcli docker run -p app.mpr --wait
mxcli docker build -p app.mpr
These assume mxcli is on PATH.
There is also a broken line in run-app.md:
mxcli is local — always use mxcli, not mxcli
(the ./ prefix was stripped, making it nonsensical)
Impact
- AI agents reading both sources get contradictory instructions
- The VSCode MDL extension (
mendix.vscode-mdl) uses "mdl.mxcliPath": "mxcli" (bare name), so it requires mxcli to be on PATH — but CLAUDE.md discourages that
- Users who follow CLAUDE.md strictly end up with a broken VSCode MDL language server
Suggested fix
Either:
- Recommended: Ship a post-init step (
mxcli setup mxcli --global or similar) that installs the binary to ~/.local/bin, and update CLAUDE.md to reflect that mxcli is available on PATH — consistent with the skill files and the VSCode extension
- Update skill files to use
./mxcli to match the CLAUDE.md guidance (less ideal, breaks the VSCode extension assumption)
Environment
- mxcli v0.7.0
- VSCode extension:
mendix.vscode-mdl-0.6.0
- Devcontainer / Linux amd64
Summary
mxcli initgenerates aCLAUDE.mdthat instructs AI agents to always use./mxcli(local path), while the skill files in
.ai-context/skills/use baremxcli(assumes PATH).This creates conflicting guidance in the same project.
Specific inconsistency
CLAUDE.md (generated, project-level):
.ai-context/skills/run-app.mdand other skill files (upstream templates):These assume
mxcliis on PATH.There is also a broken line in
run-app.md:(the
./prefix was stripped, making it nonsensical)Impact
mendix.vscode-mdl) uses"mdl.mxcliPath": "mxcli"(bare name), so it requires mxcli to be on PATH — but CLAUDE.md discourages thatSuggested fix
Either:
mxcli setup mxcli --globalor similar) that installs the binary to~/.local/bin, and update CLAUDE.md to reflect thatmxcliis available on PATH — consistent with the skill files and the VSCode extension./mxclito match the CLAUDE.md guidance (less ideal, breaks the VSCode extension assumption)Environment
mendix.vscode-mdl-0.6.0