mxcli: Instructions file for Claude Code

CLAUDE.md

mxcli CLAUDE.md is an instructions file for Claude Code from mendixlabs/mxcli. It costs 7,017 tokens per session, scanned A, original, Apache-2.0.

A set of contribution instructions for the mxcli repository, a command-line tool for working with Mendix projects. It explains the expected process for proposing, building, testing, reviewing, and submitting changes.

In plain words
What is it for?
Use it when contributing to mxcli, especially when preparing a proposal, reviewing changes, running build and test commands, or opening a pull request.
Why use it?
It gives coding agents and contributors the repository’s required steps before they edit or submit code. This helps avoid missing approvals, validation commands, or pull-request checks.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is mendixlabs/mxcli's own configuration. It tells Claude Code how to work on mxcli itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mxcli configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mendixlabs/mxcli. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mendixlabs/mxcli/main/CLAUDE.md
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 mxcli CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/mendixlabs/mxcli/claude-md"><img src="https://agentmods.dev/badge/instructions/mendixlabs/mxcli/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7,017 This file is loaded in full into every session.
When invoked 7,017 The same file — it is already loaded in full.
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.07017 $0.07017
Opus 5.5 $0.02807 $0.02807
Sonnet 5.5 $0.01403 $0.01403
Haiku 4.5 $0.00702 $0.00702

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

Security

Grade A, and why

mxcli CLAUDE.md 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 9d 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.md · 404 lines

How it starts

The opening of the file, as written. The whole thing — 404 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

This file provides guidance for Claude Code when working with this repository.

Welcome — Contributing to mxcli

If you're starting a new task, here's how contributions work in this repo:

  1. File an issue first — describe the bug or feature before coding. See CONTRIBUTING.md for details.
  2. Get approval — wait for maintainer sign-off before starting work.
  3. Create a feature branch — feature/123-short-description or fix/456-what-broke.
  4. Use the contributor commands to stay on track:
    • /mxcli-dev:proposal — create a structured feature proposal (asks the right questions, investigates BSON storage)
    • /mxcli-dev:review — review your changes against the PR checklist before pushing
  5. Validate locally — make build && make test && make lint must all pass.
  6. Open a PR — link the issue, document Mendix Studio Pro validation, confirm agentic testing.

For the full workflow, read CONTRIBUTING.md. The evidence bar every change is held to is in "Working Rules for a Change" below; the subsystem checklists live in /mxcli-dev:review.

Project Overview

ModelSDK Go is a Go library for reading and modifying Mendix application projects (.mpr files) stored locally on disk. It's a Go-native alternative to the TypeScript-based Mendix Model SDK, enabling programmatic access without cloud connectivity.

Build & Test Commands

# build the CLI (preferred - uses Makefile)
make build

# run tests
make test

# format and vet code
make fmt
make vet

# run a specific example
go run ./examples/read_project/main.go /path/to/project.mpr
go run ./examples/modify_project/main.go /path/to/project.mpr

# run the code generator
go run ./cmd/codegen/main.go -input <reflection-data-dir> -version 10.0.0 -output ./generated/metamodel

Note: This project uses modernc.org/sqlite (pure Go) and does not require CGO. No C compiler is needed.

Note: The VS Code extension (vscode-mdl/) uses bun, not npm/node. Use bun install, bun run compile, etc. The Makefile targets (make vscode-ext, make vscode-install) already use bun.

Read the full file on GitHub · 404 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. 9d ago Changed · +4 tokens per session 3e642b4ff7a9
  2. 13d ago Changed · -3 lines · -13 tokens per session 5359a0fb6d46
  3. 27d ago Changed · +3 lines · +28 tokens per session 5ec7e79083a3
  4. 27d ago Changed · -1 lines · -25 tokens per session 923e32f4e50b
  5. 28d ago Changed · +3 tokens per session 391ffed836d6
  6. 1mo ago Changed · +21 tokens per session 104092d9709e
  7. 1mo ago Changed · -15 tokens per session f281b46f46fb
  8. 1mo ago Changed · +34 lines · +608 tokens per session 8d8c6151a666
  9. 1mo ago Changed · -559 lines · -19,351 tokens per session scan B → A 3f7dd74e7a04
  10. 1mo ago First seen · 930 lines · 25,757 tokens per session scan B ef31d333b8d4

Subscribe to this mod's changes

mxcli CLAUDE.md is an instructions file published in the GitHub repository mendixlabs/mxcli (137 stars, last pushed yesterday), licensed Apache-2.0. It adds 7,017 tokens to every session, about $0.0281 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-09-03.

Related

mxcli CLAUDE.md compared with instructions from other repositories

mxcli CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mxcli CLAUDE.mdmendixlabs/mxcliInstructions file137yesterdayApache-2.0A7,017Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode