Agent skill

Project Settings

by mendixlabs in mendixlabs/mxcli

Read and change project settings in MDL — database configuration, constant overrides, after-startup and before-shutdown microflows, the enabled languages (add/modify/remove, which decide what…

Apache-2.0Auto-check passedWriting & Content

Install Project Settings

skills CLI
$ npx skills add mendixlabs/mxcli --skill project-settings -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mendixlabs/mxcli project-settings --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mendixlabs/mxcli.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/mendix/project-settings .claude/skills/project-settings && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
project-settings
GitHub stars
128
Token cost
~3.7k tokens
SKILL.md length
1,509 words
Files
1
Skills in repo
75
Repo updated
First seen
Licence
Apache-2.0

At a glance

Read and change project settings in MDL — database configuration, constant overrides, after-startup and before-shutdown microflows, the enabled languages (add/modify/remove, which decide what…

  • Configuring a deployment
  • SKILL.md covers When to Use This Skill, Commands, Common Patterns and Checklist, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Wiring a startup microflow

What it does

Project Settings is an agent skill from mendixlabs/mxcli. Read and change project settings in MDL — database configuration, constant overrides, after-startup and before-shutdown microflows, the enabled languages (add/modify/remove, which decide what translations a build emits), and the rest of Studio Pro's Settings dialog. Use when configuring a deployment, wiring a startup microflow, or enabling a language before translating an app.

Its SKILL.md is about 3.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Writing & Content, covering Translation. The repository describes itself as: Mendix cli tool, a headless way to work with Mendix projects. Enables Mendix projects for use with 3rd party agentic coding tools like Claude Code and Copilot. Includes a… The licence is Apache-2.0.

When your agent uses it

  • Configuring a deployment
  • Wiring a startup microflow
  • Enabling a language before translating an app

Example prompts

  • “/project-settings”

What it can do on your machine

Read from SKILL.md and the folder at commit a924d11. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are sql).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Project Settings loads about 3.7k tokens when it runs. Until then it costs about 99 tokens; SKILL.md has 1,509 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~99
When it runs · the whole SKILL.md, loaded when a task matches
~3.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from mendixlabs/mxcli at commit a924d11, republished under its Apache-2.0 licence (© mendixlabs). 1,509 words, ~3,712 tokens.

Download SKILL.mdSave it as .claude/skills/project-settings/SKILL.md (or your agent's skills folder).
name
project-settings
description
Read and change project settings in MDL — database configuration, constant overrides, after-startup and before-shutdown microflows, the enabled languages (add/modify/remove, which decide what translations a build emits), and the rest of Studio Pro's Settings dialog. Use when configuring a deployment, wiring a startup microflow, or enabling a language before translating an app.

Project Settings

When to Use This Skill

Use this skill when the user wants to:

  • Configure database connections (PostgreSQL, SQLServer, etc.)
  • Set up Kafka endpoints or other constant overrides
  • Change the after-startup or before-shutdown microflows
  • Modify hash algorithms, Java versions, or rounding modes
  • View or modify language settings
  • Configure workflow settings (user entity, parallelism, groups)

Commands

View Settings
sql
-- Overview table of all settings parts
list settings;

-- Full MDL output (round-trippable ALTER SETTINGS statements)
describe settings;
Modify Model Settings
sql
mdl 1;
alter settings runtime ( AfterStartupMicroflow: 'Module.MF_Startup' );  -- must return Boolean (CE0142)
alter settings runtime ( BeforeShutdownMicroflow: 'Module.MF_Shutdown' );
alter settings runtime ( HealthCheckMicroflow: 'Module.MF_HealthCheck' );
alter settings runtime ( HashAlgorithm: 'BCrypt' );
alter settings runtime ( BcryptCost: 12 );
alter settings runtime ( JavaVersion: 'Java21' );  -- or '21'; see note below
alter settings runtime ( RoundingMode: 'HalfUp' );
alter settings runtime ( AllowUserMultipleSessions: true );
alter settings runtime ( ScheduledEventTimeZoneCode: 'Etc/UTC' );
alter settings runtime ( DefaultTimeZoneCode: 'Europe/Amsterdam' );
alter settings runtime ( FirstDayOfWeek: 'Monday' );       -- Default, Monday..Sunday
alter settings runtime ( DecimalScale: 8 );
alter settings runtime ( EnableDataStorageOptimisticLocking: true );
alter settings runtime ( UseDatabaseForeignKeyConstraints: true );
alter settings runtime ( UseOQLVersion2: true );
alter settings runtime ( SslCertificateAlgorithm: 'PKIX' );   -- PKIX or SunX509

Not every project stores every setting. Mendix adds model settings over time — a blank 9.24 project stores 12 of them, a blank 11.13 project stores 17. mxcli refuses an alter naming one the project does not store rather than introducing it, because Studio Pro refuses to open a model carrying a property its type does not define (and mx check does not catch that). describe settings emits only what the project actually stores, so its output always replays.

UseSystemContextForBackgroundTasks is read but not writable. Mendix withdrew it: mx check on 11.13 rejects a project holding true with CE9436 "The project setting 'System context tasks' is not supported anymore." mxcli preserves whatever the project stores and offers no way to change it.

Optimistic locking is App Settings → Runtime → Optimistic locking in Studio Pro. With it on, the runtime tracks an MxObjectVersion on every persistable entity and a commit whose version no longer matches the database throws ConcurrentModificationRuntimeException.

Reach for it when a microflow reads a value, decides on it, and writes it back — the classic "check the balance, then debit it" shape. A microflow is one transaction, so each run is atomic, but that does not make two concurrent runs serialisable: both can pass the check and the second overwrites the first. With optimistic locking on, the second commit fails and its whole microflow rolls back instead of silently overdrawing the account.

It detects, it does not retry. Mendix's guidance is that the handler must catch the exception, reload the object, re-apply and re-commit — "trying to commit the same object without reloading always results in an optimistic locking error." Without that the user sees a failure rather than a transfer that works. The money is safe either way, which is the half that matters.

JavaVersion spelling. Mendix renamed this property between versions: up to 11.6 it stores JavaVersion = 'Java21', from 11.12 it stores JavaMajorVersion = '21'. Write either spelling — mxcli reads which one the project uses and stores the value in that dialect. Getting this wrong is not a cosmetic difference: 11.12 parses the bare major and rejects the project outright with ArgumentOutOfRangeException: majorVersion is an unsupported value: Java21. describe settings always emits the project's own spelling, so its output replays cleanly.

describe settings never prints DatabasePassword. Describe output is what gets committed and reviewed, so the password is omitted and a comment says it is set. Replaying the output leaves the stored password unchanged (create or modify configuration only touches the keys it names); on a project that lacks the configuration, add DatabasePassword = '…' yourself.

Modify Configuration Settings
sql
mdl 1;
-- Full database configuration
alter settings configuration 'Default' (
  DatabaseType: 'PostgreSql',
  DatabaseUrl: 'localhost:5432',
  DatabaseName: 'mydb',
  DatabaseUserName: 'mendix',
  DatabasePassword: 'mendix',
  HttpPortNumber: 8080,
  ServerPortNumber: 8090
);

-- Update a single field
alter settings configuration 'Default' (
  DatabaseUrl: 'newhost:5432'
);

HttpPortNumber, ServerPortNumber, BcryptCost, DefaultTaskParallelism and WorkflowEngineParallelism and DecimalScale are Integer-typed; AllowUserMultipleSessions, EnableDataStorageOptimisticLocking, UseDatabaseForeignKeyConstraints and UseOQLVersion2 are Boolean; FirstDayOfWeek and SslCertificateAlgorithm are enumerations, matched case-insensitively and stored in Mendix's own spelling (MDL-SET03 rejects a non-member rather than writing it through — an unresolvable enum value is what makes Studio Pro throw "Sequence contains no matching element"). An unparseable value is rejected by mxcli check (MDL-SET01 / MDL-SET02) and by the write itself — it is no longer silently ignored. Quoted numbers are fine: HttpPortNumber = '8080' and HttpPortNumber = 8080 are equivalent.

Constant Overrides
sql
mdl 1;
-- View constant values across all configurations
list constant values;
list constant values in MyModule;    -- Filter by module

-- Override a constant value in a configuration
alter settings constant @BusinessEvents.ServerUrl value 'kafka:9092'
  in configuration 'Default';

-- Without IN CONFIGURATION (uses first configuration)
alter settings constant @MyModule.ApiKey value 'abc123';

-- Remove a constant override (reset to default)
alter settings drop constant @MyModule.ApiKey in configuration 'Default';
Shared vs private values

A constant override's value is either shared — stored in the model and therefore in version control, where every developer gets it — or private, stored on the developer's own workstation and deliberately kept out of the repository. Development API tokens are the usual reason to make one private.

MDL preserves that choice but never changes it. The two statements above operate on shared values only:

  • list constant values reports a private override as (private) rather than a blank cell — the value is not in the project, so mxcli cannot show it.
  • describe settings reports a private override as a comment, not as a re-executable alter settings constant line — replaying that line would publish into the shared model a value the developer chose to keep local.
  • alter settings constant ... value ... on a private override is refused, with a pointer to change it in Studio Pro first. Setting a value would convert it to a shared one and break the developer's local binding.
  • alter settings drop constant ... is allowed: it removes the whole override, private marker included, which is what was asked for.
Create / Drop Configurations
sql
mdl 1;
-- Create a new server configuration
create configuration 'Staging';

-- Create with properties
create configuration 'Production' (
  DatabaseType: 'PostgreSql',
  DatabaseUrl: 'prod-db:5432',
  HttpPortNumber: 8080
);

-- Drop a configuration
drop configuration 'Staging';

DatabaseType must name a Mendix database type — Db2, Hsqldb, MySql, Oracle, PostgreSql, SapHana or SqlServer — matched case-insensitively and stored in that spelling. Any other value is rejected; a configuration stored with one Mendix does not recognise cannot be opened in Studio Pro.

Show full SKILL.md (705 more words)Show less
Language Settings

A project's enabled languages are the only ones a build emits translations for. Writing translations for any other language stores them, passes mx check, and produces nothing at build time — so enable the language first.

sql
mdl 1;
-- enable, change, disable
alter settings LANGUAGE add 'de_DE';
alter settings LANGUAGE add 'ar_SD' (CheckCompleteness: true, CustomDateFormat: 'yyyy-MM-dd');
alter settings LANGUAGE modify 'de_DE' (CheckCompleteness: true);
alter settings Language drop 'de_DE';

-- the default must already be enabled
alter settings LANGUAGE ( DefaultLanguageCode: 'en_US' );

A language is identified by its code — "Arabic, Sudan" is derived from ar_SD for display and is not stored.

  • CheckCompleteness reports errors for texts with no translation in that language; the default language is always checked regardless.
  • MODIFY touches only the options it names. ADD OR MODIFY is the upsert, and is what describe settings emits.
  • The default language cannot be removed (everything falls back on it). Removing any other language does not delete its translations — they stay in the model and stop being built.

Set the default language BEFORE authoring content. The default is not only a fallback — it is the language a new caption is stored under, because Mendix has no language-neutral text. alter settings LANGUAGE (DefaultLanguageCode: 'nl_NL') after creating a page leaves that page's texts in the old language, and nothing reports it: mx check is 0 errors either way and the symptom shows up only in Studio Pro, as the empty-caption placeholder plus a "no translation" warning.

Wrong order is recoverable — re-run the create statements and the texts are rewritten under the new default (the old copy stays alongside, harmless). create translations for '<the default>' is refused: the default is the source language, not a translation target.

⚠️ list languages lists languages that have translations, not enabled ones — a stock app reports 8 while 1 is enabled. Use describe settings for the enabled list.

Workflow Settings
sql
mdl 1;

alter settings workflows (
  UserEntity: 'System.User',
  DefaultTaskParallelism: 3
);
Workflow Groups (Mendix 11.2+)

The named buckets under App Settings ▸ Workflows ▸ Groups that a user task's group targeting selects from.

sql
mdl 1;
alter settings workflows add group 'Approvers' (Description: 'Primary approval group');
alter settings workflows add group 'Reviewers';

-- the upsert, and what `describe settings` emits
alter settings workflows add or modify group 'Approvers' (Description: 'Approves budget requests');

-- changes only the options it names
alter settings workflows modify group 'Reviewers' (Description: 'Second-line review');

alter settings workflows drop group 'Reviewers';

list workflow groups;

Four things worth knowing:

  • Description is the only option. A Settings$WorkflowGroup stores Name and Description and nothing else, so there is no identifier to set and the name is the group's identity — which is what MODIFY and REMOVE address, and why a second group differing only in case is refused rather than created.
  • The version floor is 11.2, not 11.6. Settings$WorkflowGroup and the groups property were both introduced in the 11.2 metamodel; Mendix's release notes call the feature GA in 11.6, which is a different question from whether the document loads. On an earlier version the statement is refused with the floor.
  • An edit keeps the group's runtime identity. Booting the app materialises one System.WorkflowGroup row per entry, keyed on the group's element id — so changing a description updates that row in place rather than replacing it, and the group memberships and assigned user tasks survive.
  • Nothing in the model points at a group. A user task targets groups through a microflow or an XPath returning System.WorkflowGroup objects, never by a reference to the settings entry, so REMOVE has no dangling reference to check for. What it does mean is that the removed group's runtime row stops being maintained while the user tasks already assigned to it keep their association.

Common Patterns

PostgreSQL Configuration
sql
mdl 1;
alter settings configuration 'Default' (
  DatabaseType: 'PostgreSql',
  DatabaseUrl: 'localhost:5432',
  DatabaseName: 'myapp',
  DatabaseUserName: 'mendix',
  DatabasePassword: 'mendix',
  HttpPortNumber: 8080
);
SQL Server Configuration
sql
mdl 1;
alter settings configuration 'Default' (
  DatabaseType: 'SqlServer',
  DatabaseUrl: 'localhost:1433',
  DatabaseName: 'myapp',
  DatabaseUserName: 'sa',
  DatabasePassword: 'MyPassword',
  HttpPortNumber: 8080
);

Checklist

  • Always run list settings or describe settings first to see current values
  • Verify changes after modification with list settings
  • There is always exactly one ProjectSettings document; it cannot be created or deleted
  • Model setting key names are case-sensitive (e.g., JavaVersion, not javaversion)
  • Configuration names are case-insensitive (e.g., 'default' matches 'default')
  • Integer / Boolean settings must parse — mxcli check reports MDL-SET01 / MDL-SET02 before the write

AfterStartupMicroflow Must Return Boolean

A microflow wired as the project's after-startup microflow must return Boolean — Mendix build fails with CE0142 on a void (no-return) microflow. A common trip-up: a seed/demo-data microflow wired to after-startup will not build until it ends with a return true (Boolean).

mxcli check now reports it (MDL073), which it could not before: #274 made ALTER SETTINGS resolve the qualified names it writes, but the name here resolves — the constraint is on the thing it names, not on the reference. The check runs with no project when the script creates the microflow itself (the usual shape), and against the stored return type when it does not. A microflow whose return type cannot be established is left alone rather than guessed at. BeforeShutdownMicroflow and HealthCheckMicroflow are deliberately not type-checked — their rules have not been measured here.

© mendixlabs, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/mendix/project-settings of mendixlabs/mxcli.

Open the folder on GitHubat commit a924d11

Compare with similar skills

Project Settings next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Project Settings compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Project Settings this skillmendixlabs/mxcli128—~3.7kAutomated safety check: PassApache-2.0
Translation Diff ExportDevolutions/UniGetUI26k—~1.1kAutomated safety check: PassMIT
Sync Translationssymfony/symfony31k—~1.9kAutomated safety check: PassMIT
Translation Diff ImportDevolutions/UniGetUI26k—~750Automated safety check: PassMIT
Translation Diff TranslateDevolutions/UniGetUI26k—~934Automated safety check: PassMIT
Generate Translationspayloadcms/payload45k—~1.1kAutomated safety check: PassMIT

Similar skills

  • Translation Diff Export

    Devolutions/UniGetUI

    Compares UniGetUI JSON locale files against English, identifies untranslated or source-changed keys, and generates patch, reference, and handoff files for a target language.

    26k GitHub stars~1.1k tokensUpdated yesterday
    Writing & ContentAuto-check passed
  • Sync Translations

    symfony/symfony

    Synchronize translation catalogs across maintained Symfony branches: find messages that newer branches added to the English catalogs but that are still missing from the oldest maintained branch…

    31k GitHub stars~1.9k tokensUpdated today
    Writing & ContentAuto-check passed
  • Translation Diff Import

    Devolutions/UniGetUI

    Merges translated key-value pairs from a UniGetUI JSON localization patch back into the full language file and validates the merged result.

    26k GitHub stars~750 tokensUpdated yesterday
    Writing & ContentAuto-check passed
  • Translation Diff Translate

    Devolutions/UniGetUI

    Translates a sparse UniGetUI JSON language patch, writes completed entries into the working copy, preserves placeholders and terminology, and prepares the patch for merge-back.

    26k GitHub stars~934 tokensUpdated yesterday
    Writing & ContentAuto-check passed
  • Generate Translations

    payloadcms/payload

    A skill your agent uses when new translation keys are added to packages to generate new translations strings

    45k GitHub stars~1.1k tokensUpdated today
    Writing & ContentAuto-check passed
  • Drives long-form fiction, scripts, storyboards, interactive films and long-document translation through InkOS, with every change made by a typed action.

    10k GitHub starsUsed in 1 repo~1.1k tokens
    Writing & ContentAuto-check passed

More from mendixlabs/mxcli

All 75 skills in this repo
  • Mendix Odata Pushdown

    mendixlabs/mxcli

    Push OData query options into the SQL of a Mendix resource served by a read microflow, so $filter, $orderby, $top, $skip, $count and the key lookup reach the database instead of being silently…

    128 GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Mendix Vega Charts

    mendixlabs/mxcli

    Chart a Mendix app with Vega-Lite through a pluggable widget that takes the specification and the data as separate properties, so the model emits rows and never assembles a chart payload.

    128 GitHub stars~3k tokensUpdated today
    Auto-check passed
  • Agents

    mendixlabs/mxcli

    Author Mendix AI agent documents in MDL — Model, Knowledge Base, Consumed MCP Service and Agent, with variables, tools and multi-line prompts.

    128 GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • Mendix Bulk Oql Dml

    mendixlabs/mxcli

    Run set-based INSERT, UPDATE and DELETE against Mendix entities through OQL statements, which the runtime supports and Studio Pro cannot author.

    128 GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Mock REST APIs

    mendixlabs/mxcli

    Stand up an HTTP endpoint you control instead of a live third-party API, and point the Mendix app at it — Prism from an OpenAPI contract, a constant swap, or a forward proxy.

    128 GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • REST Client

    mendixlabs/mxcli

    Call external REST APIs from Mendix — the three approaches (inline REST CALL, consumed REST client document, generated from OpenAPI) and how to choose.

    128 GitHub starsUsed in 1 repo~3.9k tokens
    Auto-check passed

Questions about Project Settings

What does Project Settings do?

Read and change project settings in MDL — database configuration, constant overrides, after-startup and before-shutdown microflows, the enabled languages (add/modify/remove, which decide what…. Project Settings is an agent skill from mendixlabs/mxcli. Read and change project settings in MDL — database configuration, constant overrides, after-startup and before-shutdown microflows, the enabled languages (add/modify/remove, which decide what translations a build emits), and the rest of Studio Pro's Settings dialog.

When should I use Project Settings?

Project Settings fits situations like: configuring a deployment; wiring a startup microflow; enabling a language before translating an app.

How do I install Project Settings in Claude Code?

Run `npx skills add mendixlabs/mxcli --skill project-settings -a claude-code`. Or copy the skill folder (.claude/skills/mendix/project-settings in mendixlabs/mxcli) into .claude/skills/project-settings in your project. Claude Code loads it when a task matches its description.

How do I install Project Settings in Codex?

Run `npx skills add mendixlabs/mxcli --skill project-settings -a codex`. Or copy the skill folder (.claude/skills/mendix/project-settings in mendixlabs/mxcli) into .agents/skills/project-settings in your project. Codex loads it when a task matches its description.

Can I use Project Settings in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mendixlabs/mxcli --skill project-settings -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/project-settings, .gemini/skills/project-settings, .github/skills/project-settings and .opencode/skills/project-settings in your project.

What does Project Settings need to run?

SKILL.md names no scripts, command-line tools or credentials: Project Settings is instructions for the agent only.

Does Project Settings access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Project Settings safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Project Settings use?

Project Settings is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Project Settings use?

About 3.7k tokens (SKILL.md is roughly 15k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Project Settings?

Skills that share tags, products or a category with Project Settings: Translation Diff Export (Devolutions/UniGetUI, 26k stars), Sync Translations (symfony/symfony, 31k stars), Translation Diff Import (Devolutions/UniGetUI, 26k stars) and Translation Diff Translate (Devolutions/UniGetUI, 26k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Project Settings?

mendixlabs (a GitHub organization) maintains it in mendixlabs/mxcli, which has 128 GitHub stars. The repository holds 75 skills in this directory. The repository was last updated on October 7, 2026.

Source: mendixlabs/mxcli on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.