mxcli CLAUDE.md

mxcli CLAUDE.md is an instructions file for coding agents from mendixlabs/mxcli. It costs 22,311 tokens per session, scanned B, 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

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.

agentmods
npx agentmods add instructions/mendixlabs/mxcli/claude-md
Clone the repo
git clone --depth 1 https://github.com/mendixlabs/mxcli

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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 22,311 This file is loaded in full into every session.
When invoked 22,311 The same file — it is already loaded in full.
Security scan B 1 finding. Scan, not verified.
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 $0.22311 $0.22311
Opus 5 $0.11156 $0.11156
Sonnet 5 $0.04462 $0.04462
Haiku 4.5 $0.02231 $0.02231

Measured yesterday against content hash 414a3ee72c69, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

mxcli CLAUDE.md scanned grade B with 1 finding 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 yesterday.

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.

Enumerates other installed skillsmediumAgent snooping

Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.

- Skills: `.claude/skills/mendix/<name>/SKILL.md` — directory-shaped, per the [Agent Skills](https://agentskills.io) standard, with `name` and `description` frontmatter. `make sync-skills` mirrors the tree into the `cmd/
CLAUDE.md · 907 lines

How it starts

The opening of the file, as written. The whole thing — 907 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 branchfeature/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 locallymake 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. For the review checklist applied to every PR, see the "PR / Commit Review Checklist" section below.

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 -reflection-dir ./reference/mendixmodellib/reflection-data -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 · 907 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. yesterday First seen · 907 lines · 22,311 tokens per session scan B 414a3ee72c69

Subscribe to this mod's changes

mxcli CLAUDE.md is an instructions file published in the GitHub repository mendixlabs/mxcli (115 stars, last pushed 2d ago), licensed Apache-2.0. It adds 22,311 tokens to every session, about $0.1116 per session on Opus 5. A static security scan graded it B with 1 finding (enumerates other installed skills). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.