Declarative Agents
github/awesome-copilot
Complete development kit for Microsoft 365 Copilot declarative agents with three comprehensive workflows (basic, advanced, validation), TypeSpec support, and Microsoft 365 Agents Toolkit integration
One-page reference for declaring and assigning variables in MDL microflows — every type, with the exact syntax.
$ npx skills add mendixlabs/mxcli --skill cheatsheet-variables -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install mendixlabs/mxcli cheatsheet-variables --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/mendixlabs/mxcli.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/mendix/cheatsheet-variables .claude/skills/cheatsheet-variables && rm -rf skills-srcUse ~/.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/
Install the "cheatsheet-variables" agent skill from https://github.com/mendixlabs/mxcli/tree/main/.claude/skills/mendix/cheatsheet-variables into .claude/skills/cheatsheet-variables/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cheatsheet-variables", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/mendixlabs/mxcli/tree/main/.claude/skills/mendix/cheatsheet-variablesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add mendixlabs/mxcli --skill cheatsheet-variables -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install mendixlabs/mxcli cheatsheet-variables --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mendixlabs/mxcli.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/mendix/cheatsheet-variables .agents/skills/cheatsheet-variables && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "cheatsheet-variables" agent skill from https://github.com/mendixlabs/mxcli/tree/main/.claude/skills/mendix/cheatsheet-variables into .agents/skills/cheatsheet-variables/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cheatsheet-variables", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add mendixlabs/mxcli --skill cheatsheet-variables -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install mendixlabs/mxcli cheatsheet-variables --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mendixlabs/mxcli.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/mendix/cheatsheet-variables .cursor/skills/cheatsheet-variables && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "cheatsheet-variables" agent skill from https://github.com/mendixlabs/mxcli/tree/main/.claude/skills/mendix/cheatsheet-variables into .cursor/skills/cheatsheet-variables/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cheatsheet-variables", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/mendixlabs/mxcli.git --path .claude/skills/mendix/cheatsheet-variables--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add mendixlabs/mxcli --skill cheatsheet-variables -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install mendixlabs/mxcli cheatsheet-variables --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mendixlabs/mxcli.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/mendix/cheatsheet-variables .gemini/skills/cheatsheet-variables && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "cheatsheet-variables" agent skill from https://github.com/mendixlabs/mxcli/tree/main/.claude/skills/mendix/cheatsheet-variables into .gemini/skills/cheatsheet-variables/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cheatsheet-variables", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install mendixlabs/mxcli cheatsheet-variablesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add mendixlabs/mxcli --skill cheatsheet-variables -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/mendixlabs/mxcli.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/mendix/cheatsheet-variables .github/skills/cheatsheet-variables && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "cheatsheet-variables" agent skill from https://github.com/mendixlabs/mxcli/tree/main/.claude/skills/mendix/cheatsheet-variables into .github/skills/cheatsheet-variables/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cheatsheet-variables", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add mendixlabs/mxcli --skill cheatsheet-variables -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install mendixlabs/mxcli cheatsheet-variables --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mendixlabs/mxcli.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/mendix/cheatsheet-variables .opencode/skills/cheatsheet-variables && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "cheatsheet-variables" agent skill from https://github.com/mendixlabs/mxcli/tree/main/.claude/skills/mendix/cheatsheet-variables into .opencode/skills/cheatsheet-variables/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cheatsheet-variables", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
cheatsheet-variablesOne-page reference for declaring and assigning variables in MDL microflows — every type, with the exact syntax.
Cheatsheet Variables is an agent skill from mendixlabs/mxcli. One-page reference for declaring and assigning variables in MDL microflows — every type, with the exact syntax. Use when writing a declare and unsure of the spelling, or when a declaration error needs fixing fast.
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
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.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit a924d11. It shows what the files ask for, not the result of running them.
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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are mdl).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Cheatsheet Variables loads about 1.2k tokens when it runs. Until then it costs about 59 tokens; SKILL.md has 319 words of instructions outside code blocks.
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.
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.
The full file from mendixlabs/mxcli at commit a924d11, republished under its Apache-2.0 licence (© mendixlabs). 319 words, ~1,217 tokens.
.claude/skills/cheatsheet-variables/SKILL.md (or your agent's skills folder).Quick reference for variable declarations in MDL microflows.
| Type | Syntax | Example |
|---|---|---|
| String | declare $name string = 'value'; | declare $message string = ''; |
| Integer | declare $name integer = 0; | declare $count integer = 0; |
| Boolean | declare $name boolean = true; | declare $IsValid boolean = true; |
| Decimal | declare $name decimal = 0.0; | declare $Amount decimal = 0; |
| DateTime | declare $name datetime = [%CurrentDateTime%]; | declare $Now datetime = [%CurrentDateTime%]; |
| Enumeration | declare $name Enumeration(Module.Enum) = Module.Enum.Value; | declare $s Enumeration(Sales.Status) = Sales.Status.Open; |
| Object (Entity) | Do not declare — use a parameter, retrieve, create, or loop iterator | $Customer = create Sales.Customer (Name = $n); |
| List | Do not declare — use a parameter, retrieve, or create list | $Orders = create list of Sales.Order; |
declare $var type = value; — these are the only types declare (a Create Variable activity) accepts.declare an object. Mendix forbids the Create Variable activity from holding an object (CE0053/CE0038, plus CE7247 on a later set; flagged as MDL043 by mxcli check) — bare or initialized. Get the object from a microflow parameter, a retrieve … first, $var = create Module.Entity(...), or a loop iterator. There is no "empty object variable" and no aliasing activity — reuse the variable you already have.declare a list — same Create Variable restriction (CE0053/CE0038, flagged as MDL040). Get the list from a microflow parameter, a retrieve, or $var = create list of Module.Entity;declare).-- WRONG: declaring an object — Mendix rejects it (CE0053/CE0038, MDL043)
declare $Product Module.Product; -- bare form is invalid
declare $Product Module.Product = $In; -- aliasing a parameter is invalid
declare $Product as Module.Product; -- the AS keyword is also a parse error
-- CORRECT: get the object from a source that produces one
$Product = create Module.Product (Name = $n); -- create
retrieve $Product from Module.Product where Code = $c first; -- retrieve
-- or accept it as a parameter, or use a loop iterator: loop $Product in $Products ...-- WRONG: Variable not declared
if $value > 10 then
set $message = 'High'; -- ERROR!
end if;
-- CORRECT: Declare first
declare $message string = '';
if $value > 10 then
set $message = 'High';
end if;-- WRONG: declaring a list — Mendix rejects it (CE0053/CE0038, MDL040)
declare $Items list of Module.Item = empty;
-- CORRECT: build the list without declare
$Items = create list of Module.Item; -- empty list to accumulate into
retrieve $Items from Module.Item where ...; -- or populate from the database
-- or accept it as a parameter: create microflow M.Process ($Items: list of Module.Item) ...| Value | Usage |
|---|---|
empty | Null/empty value for any type |
[%CurrentDateTime%] | Current date and time |
[%CurrentUser%] | Currently logged in user object |
true / false | Boolean literals |
mdl 1;
create microflow Module.Example (
$Input: string, -- Parameter: auto-declared
$entity: Module.Customer -- Parameter: auto-declared
)
returns boolean
begin
-- Parameters $Input and $Entity are already available
declare $Result boolean = true; -- Local primitive: must declare
-- Need a local object? Don't declare it — create/retrieve it:
$Order = create Module.Order (Reference = $Input); -- or retrieve … first
return $Result;
end;loop $item in $ItemList
begin
-- $Item is available here (derived from list type)
set $count = $count + 1;
end loop;
-- $Item is NOT available 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
Just SKILL.md in .claude/skills/mendix/cheatsheet-variables of mendixlabs/mxcli.
Open the folder on GitHubat commit a924d11
Cheatsheet Variables 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Cheatsheet Variables this skillmendixlabs/mxcli | 128 | — | ~1.2k | Automated safety check: Pass | Apache-2.0 | |
| Declarative Agentsgithub/awesome-copilot | 40k | 1 repos | ~1.2k | Automated safety check: Pass | MIT | |
| GitHub Issue Bulk Assignercodewhale-hq/Codewhale | 41k | — | ~953 | Automated safety check: Pass | MIT | |
| MCP Create Declarative Agentgithub/awesome-copilot | 40k | 2 repos | ~2k | Automated safety check: Notes | MIT | |
| Imperative To Declarative Fletflet-dev/flet | 17k | — | ~829 | Automated safety check: Pass | Apache-2.0 | |
| Testing API For Mass Assignment Vulnerabilitymukul975/Anthropic-Cybersecurity-Skills | 34k | — | ~4k | Automated safety check: Pass | Apache-2.0 |
github/awesome-copilot
Complete development kit for Microsoft 365 Copilot declarative agents with three comprehensive workflows (basic, advanced, validation), TypeSpec support, and Microsoft 365 Agents Toolkit integration
codewhale-hq/Codewhale
Moves a list of GitHub issues into a milestone or assigns them to owners with the gh CLI, checking each one before and after the change.
github/awesome-copilot
Skill converted from mcp-create-declarative-agent.prompt.md. An agent skill from github/awesome-copilot.
flet-dev/flet
Convert an imperative Flet Python app in which controls are mutated and then page.update is called to declarative style using flet.component, flet.observable and state hooks.
mukul975/Anthropic-Cybersecurity-Skills
Tests APIs for mass assignment (auto-binding), OWASP API3:2023, by identifying writable endpoints, adding undocumented fields to request bodies (role, isAdmin, price, balance), and checking whether…
nubjs/nub
Add, audit, or update @nubjs/types declarations for Nub runtime APIs.
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…
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.
mendixlabs/mxcli
Author Mendix AI agent documents in MDL — Model, Knowledge Base, Consumed MCP Service and Agent, with variables, tools and multi-line prompts.
mendixlabs/mxcli
Run set-based INSERT, UPDATE and DELETE against Mendix entities through OQL statements, which the runtime supports and Studio Pro cannot author.
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.
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.
One-page reference for declaring and assigning variables in MDL microflows — every type, with the exact syntax. Cheatsheet Variables is an agent skill from mendixlabs/mxcli. One-page reference for declaring and assigning variables in MDL microflows — every type, with the exact syntax.
Cheatsheet Variables fits situations like: writing a declare and unsure of the spelling; A declaration error needs fixing fast.
Run `npx skills add mendixlabs/mxcli --skill cheatsheet-variables -a claude-code`. Or copy the skill folder (.claude/skills/mendix/cheatsheet-variables in mendixlabs/mxcli) into .claude/skills/cheatsheet-variables in your project. Claude Code loads it when a task matches its description.
Run `npx skills add mendixlabs/mxcli --skill cheatsheet-variables -a codex`. Or copy the skill folder (.claude/skills/mendix/cheatsheet-variables in mendixlabs/mxcli) into .agents/skills/cheatsheet-variables in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mendixlabs/mxcli --skill cheatsheet-variables -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cheatsheet-variables, .gemini/skills/cheatsheet-variables, .github/skills/cheatsheet-variables and .opencode/skills/cheatsheet-variables in your project.
SKILL.md names no scripts, command-line tools or credentials: Cheatsheet Variables is instructions for the agent only.
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.
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.
Cheatsheet Variables 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.
About 1.2k tokens (SKILL.md is roughly 4.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Cheatsheet Variables: Declarative Agents (github/awesome-copilot, 40k stars), GitHub Issue Bulk Assigner (codewhale-hq/Codewhale, 41k stars), MCP Create Declarative Agent (github/awesome-copilot, 40k stars) and Imperative To Declarative Flet (flet-dev/flet, 17k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
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.