run-local

run-local is a skill for Claude Code from mendixlabs/mxcli. It costs 101 tokens per session (12,504 once invoked), scanned D, original, Apache-2.0.

A guide to running a Mendix app locally without Docker and keeping it ready for quick updates. It supports a warm development loop where model changes are applied while the app stays running.

In plain words
What is it for?
Use it while iterating on pages, models, APIs, or runtime behavior, with optional watching, screenshots, metrics, and tracing.
Why use it?
It shortens the wait between editing the app and checking the result, especially when changes are made programmatically.

Skill for Claude Code

Written for Claude Code: SessionStart hook event. Also seen: mentions Claude Code; $skill-name invocation.

Good fit Use it while iterating on pages, models, APIs, or runtime behavior, with optional watching, screenshots, metrics, and tracing.

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

Any agent
npx skills add mendixlabs/mxcli --skill run-local
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 run-local

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mendixlabs/mxcli/run-local"><img src="https://agentmods.dev/badge/skills/mendixlabs/mxcli/run-local.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 12,504 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 3 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.00101 $0.12504
Opus 5.5 $0.00040 $0.05002
Sonnet 5.5 $0.00020 $0.02501
Haiku 4.5 $0.00010 $0.01250

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

Security

Grade D, and why

run-local scanned grade D with 3 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

In a **non-root devcontainer** the service start is elevated with `sudo -n`

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

changes, so **never** `rm -rf theme-cache/ .mendix-cache/ deployment/` — clearing

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| `until grep -q 'App is running' log; do sleep 2; done`, `curl` loops on 8080 | nothing — `--detach` returns when the app serves (or `run wait --ready`) |
.claude/skills/mendix/run-local/SKILL.md · 734 lines

How it starts

The opening of the file, as written. The whole thing — 734 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
40-47 Overview
48-60 When to Use This Skill
61-127 Usage
128-140 How apply is chosen
141-231 Prerequisites
232-249 The intended loop
250-277 Editing themes (SCSS) — rebuild, never clear caches
278-304 --watch waits for a write to finish before it builds
305-333 "My edit didn't show up" — stale process, not stale cache
334-364 Flags
365-418 Metrics and OpenTelemetry
419-476 Pages render in the browser
477-494 Pixel-perfect page loop
495-515 Debugging a server-side error
516-539 "Sign in failed" that is not about the password
540-572 The same licence also stops the app after a few hours
573-652 External browser preview (--hub)
653-661 Validation checklist
662-718 Constant values come from a configuration
719-722 Warm local dev loop (mxcli run --local [--watch] [--screenshot])
723-726 External browser preview (mxcli run --hub <url> + mxcli tunnel-hub)
727-730 Tunnel-hub GitHub authentication (opt-in, gated on --github-oauth-client-id; absent = today's open hub)
731-733 Runtime metrics + settings passthrough (mxcli run --local --metrics / --runtime-setting Key=Value)

Warm Local Dev Loop — mxcli run --local

Overview

mxcli run --local runs a Mendix app without Docker, keeping a mxbuild --serve process and a standalone runtime hot so model changes apply in ~1 s instead of a ~30–60 s rebuild-and-restart. Use it as the fast inner loop when iterating on an app; use mxcli docker run when you need the fully-rendered browser client (see the limitation below).

When to Use This Skill

Use this when:

  • You want the fastest edit → running-app loop for a Mendix 11.x project.
  • You're driving the model programmatically (mxcli exec/MDL) and want each change live immediately.
  • You're iterating on page design (the app renders in a real browser) or doing runtime/model/API/headless verification.

Read the full file on GitHub · 734 lines

Files

What ships with it

1 file 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 fc855d9f9202
  2. 13d ago Changed 958f5382e6d8
  3. 19d ago Changed 658f909e2828
  4. 20d ago Changed 8228dd4597ad
  5. 23d ago Changed fe7b32a9ff8b
  6. 24d ago Changed 32204dfdd68a
  7. 27d ago Changed · +1 lines fe00bc8ada65
  8. 1mo ago Changed · +32 lines 73436ddcd8ca
  9. 1mo ago Changed · +17 lines 16decabef54f
  10. 1mo ago First seen · 684 lines · 101 tokens per session scan D e3c3494a0544

Subscribe to this mod's changes

run-local is a skill published in the GitHub repository mendixlabs/mxcli (146 stars, last pushed yesterday), licensed Apache-2.0. It adds 101 tokens to every session and 12,504 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it D with 3 findings (asks for root, recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

run-local compared with skills from other repositories

run-local next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
run-localmendixlabs/mxcliSkill146yesterdayApache-2.0D101Claude Code
terraform-infrastructuresoulcodex/agenticSkill1011d agoMITA96Claude Code, Codex
health-check-endpointssoulcodex/agenticSkill1011d agoMITA58Claude Code, Codex
serverless-architecturesoulcodex/agenticSkill1011d agoMITA62Claude Code, Codex
create-terraform-modulesoulcodex/agenticSkill1011d agoMITA47Claude Code, Codex
design-aws-terraform-iacsoulcodex/agenticSkill1011d agoMITA51Claude Code, Codex
use-aws-mini-stack-emulatorsoulcodex/agenticSkill1011d agoMITA49Claude Code, Codex