Agent skill

Java Dependencies

by mendixlabs in mendixlabs/mxcli

Add, update, remove and audit a module's Maven/JAR dependencies in MDL — Studio Pro's Module Settings → Java dependencies tab.

Apache-2.0Auto-check passed

Install Java Dependencies

skills CLI
$ npx skills add mendixlabs/mxcli --skill java-dependencies -a claude-code

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

GitHub CLI
$ gh skill install mendixlabs/mxcli java-dependencies --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/java-dependencies .claude/skills/java-dependencies && 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
java-dependencies
GitHub stars
128
Token cost
~1k tokens
SKILL.md length
317 words
Files
1
Skills in repo
75
Repo updated
First seen
Licence
Apache-2.0

At a glance

Add, update, remove and audit a module's Maven/JAR dependencies in MDL — Studio Pro's Module Settings → Java dependencies tab.

  • Works in 2 steps: Open the project in Studio Pro — it will… → Or run mxcli docker build which invokes…
  • A Java action needs an external library
  • SKILL.md covers When to Use This Skill, Listing Dependencies, Describing a Dependency and Adding a Dependency, plus 7 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Java Dependencies is an agent skill from mendixlabs/mxcli. Add, update, remove and audit a module's Maven/JAR dependencies in MDL — Studio Pro's Module Settings → Java dependencies tab. Use when a Java action needs an external library, when bumping a library version, or when auditing which modules pull what.

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

It works with Java and Gradle. 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

  • A Java action needs an external library
  • Bumping a library version
  • Auditing which modules pull what

Example prompts

  • “s Maven/JAR dependencies in MDL — Studio Pro”
  • “/java-dependencies”

Requirements

  • Docker

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Open the project in Studio Pro — it will trigger Gradle to populate vendorlib/.
  2. Or run mxcli docker build which invokes mx and triggers the Gradle sync.

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 and bash).

    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

Java Dependencies loads about 1k tokens when it runs. Until then it costs about 67 tokens; SKILL.md has 317 words of instructions outside code blocks.

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

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). 317 words, ~1,021 tokens.

Download SKILL.mdSave it as .claude/skills/java-dependencies/SKILL.md (or your agent's skills folder).
name
java-dependencies
description
Add, update, remove and audit a module's Maven/JAR dependencies in MDL — Studio Pro's Module Settings → Java dependencies tab. Use when a Java action needs an external library, when bumping a library version, or when auditing which modules pull what.

Managing Maven / JAR Dependencies

This skill explains how to add, update, and remove Maven/JAR dependencies in a Mendix module using MDL. These are the dependencies declared in Studio Pro's Module Settings → Java dependencies tab, stored as Projects$JarDependency entries inside the module's Projects$ModuleSettings unit.

When to Use This Skill

  • Adding a new external library for a Java action (Jackson, Apache HTTP client, etc.)
  • Updating a library version across modules
  • Disabling a dependency without removing it (included = false)
  • Auditing which modules have JAR dependencies

If you only need to copy JARs into vendorlib/ for a local build (without registering them in module settings), that is a different operation and does NOT require MDL.

Listing Dependencies

sql
-- All modules
LIST JAR DEPENDENCIES;

-- Single module
LIST JAR DEPENDENCIES IN MyModule;

Output columns: module, group, artifact, version, included.

Describing a Dependency

sql
DESCRIBE JAR DEPENDENCY MyModule 'com.fasterxml.jackson.core:jackson-databind';

Outputs a re-executable ALTER MODULE ... ADD JAR DEPENDENCY (...) block.

Adding a Dependency

sql
mdl 1;
ALTER MODULE MyModule
  ADD JAR DEPENDENCY (
    group    = 'com.fasterxml.jackson.core',
    artifact = 'jackson-databind',
    version  = '2.21.2',
    included = true,
  );
  • included defaults to true when set explicitly; always set it to be explicit.
  • The coordinate group:artifact must be unique within the module.

Updating a Dependency

sql
mdl 1;
-- Change the version
ALTER MODULE MyModule
  SET JAR DEPENDENCY 'com.fasterxml.jackson.core:jackson-databind' VERSION '2.21.3';

-- Disable without removing (keeps the entry, classpath excluded at build time)
ALTER MODULE MyModule
  SET JAR DEPENDENCY 'com.fasterxml.jackson.core:jackson-databind' INCLUDED false;

Managing Transitive Exclusions

sql
mdl 1;
-- Exclude a transitive dependency
ALTER MODULE MyModule
  SET JAR DEPENDENCY 'org.duckdb:duckdb_jdbc'
    ADD EXCLUSION 'com.example:conflicting-lib';

-- Remove an exclusion
ALTER MODULE MyModule
  SET JAR DEPENDENCY 'org.duckdb:duckdb_jdbc'
    DROP EXCLUSION 'com.example:conflicting-lib';

Removing a Dependency

sql
mdl 1;
ALTER MODULE MyModule
  DROP JAR DEPENDENCY 'com.fasterxml.jackson.core:jackson-databind';

Jackson Version Gotcha

Jackson 2.x and 3.x use different package namespaces:

VersionGroup IDImport prefix
2.xcom.fasterxml.jackson.corecom.fasterxml.jackson.*
3.xtools.jackson.coretools.jackson.*

If Java code imports com.fasterxml.jackson.databind.* you need 2.x. Pin to the version the Mendix runtime bundles to avoid classloader conflicts:

bash
ls ~/.mxcli/mxbuild/<runtime-version>/runtime/bundles/ | grep jackson

After Adding a Dependency

MDL writes the Projects$JarDependency entry into the .mpr file. Gradle still needs to resolve and download the JAR:

  1. Open the project in Studio Pro — it will trigger Gradle to populate vendorlib/.
  2. Or run mxcli docker build which invokes mx and triggers the Gradle sync.

Until Gradle runs, the JAR is declared but not yet present in vendorlib/. This is the same state as adding a dependency in Studio Pro before clicking OK.

Coordinate Format

Coordinates use the group:artifact format (no version):

'com.fasterxml.jackson.core:jackson-databind'
'org.duckdb:duckdb_jdbc'

The version is stored separately and shown in LIST JAR DEPENDENCIES output.

© 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/java-dependencies of mendixlabs/mxcli.

Open the folder on GitHubat commit a924d11

Compare with similar skills

Java Dependencies 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.

Java Dependencies compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Java Dependencies this skillmendixlabs/mxcli128—~1kAutomated safety check: PassApache-2.0
Android API Diffgkd-kit/gkd43k—~796Automated safety check: PassGPL-3.0
Caffeine Cache Optimization Experimentsben-manes/caffeine18k—~2.6kAutomated safety check: NotesApache-2.0
Groovy 5 Developer Guideapache/grails-core2.9k—~3kAutomated safety check: PassApache-2.0
Jspecify Skillsivaprasadreddy/sivalabs-agent-skills187—~1.2kAutomated safety check: PassMIT
Minecraft CI ReleaseJahrome907/minecraft-agent-skills166—~3.6kAutomated safety check: PassMIT

Similar skills

  • Android API Diff

    gkd-kit/gkd

    Looks up Android framework Java and AIDL APIs across versions with the android-api-diff CLI: signatures, availability, source files and hidden-API access code.

    43k GitHub stars~796 tokensUpdated yesterday
    MobileAuto-check passed
  • Runs controlled JMH experiments on the Caffeine cache to find shared contention and hot-path waste, then reviews correctness and returns a reviewable patch.

    18k GitHub stars~2.6k tokensUpdated yesterday
    DevelopmentAuto-check: notes
  • Groovy 5 Developer Guide

    apache/grails-core

    Guidance for Groovy 5 work in Grails projects: syntax, closures, traits, DSLs, metaprogramming, Spock tests, static compilation and Java 21 integration.

    2.9k GitHub stars~3k tokensUpdated today
    DevelopmentAuto-check passed
  • Jspecify Skill

    sivaprasadreddy/sivalabs-agent-skills

    A skill your agent uses when asked to perform any of the following actions in a Java project: - To add jspecify support - To prevent NullPointerExceptions - To better handle Nullability This skill…

    187 GitHub stars~1.2k tokensUpdated 2 days ago
    Backend & APIsAuto-check passed
  • Minecraft CI Release

    Jahrome907/minecraft-agent-skills

    Set up and review CI, artifact publishing, versioning, and release management for Minecraft 26.x or legacy 1.21.x mods and Paper plugins.

    166 GitHub stars~3.6k tokensUpdated 24 days ago
    DevelopmentAuto-check passed
  • Release

    sol4k/sol4k

    Bump the sol4k library version everywhere, open a release PR, and draft GitHub release notes.

    135 GitHub stars~949 tokensUpdated 9 days ago
    DevelopmentAuto-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

Works with

Questions about Java Dependencies

What does Java Dependencies do?

Add, update, remove and audit a module's Maven/JAR dependencies in MDL — Studio Pro's Module Settings → Java dependencies tab. Java Dependencies is an agent skill from mendixlabs/mxcli. Add, update, remove and audit a module's Maven/JAR dependencies in MDL — Studio Pro's Module Settings → Java dependencies tab.

When should I use Java Dependencies?

Java Dependencies fits situations like: A Java action needs an external library; bumping a library version; auditing which modules pull what.

How do I install Java Dependencies in Claude Code?

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

How do I install Java Dependencies in Codex?

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

Can I use Java Dependencies 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 java-dependencies -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/java-dependencies, .gemini/skills/java-dependencies, .github/skills/java-dependencies and .opencode/skills/java-dependencies in your project.

What does Java Dependencies need to run?

SKILL.md names no scripts, command-line tools or credentials: Java Dependencies is instructions for the agent only. Our summary lists: Docker.

Does Java Dependencies 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 Java Dependencies 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 Java Dependencies use?

Java Dependencies 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 Java Dependencies use?

About 1k tokens (SKILL.md is roughly 4.1k 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 Java Dependencies?

Skills that share tags, products or a category with Java Dependencies: Android API Diff (gkd-kit/gkd, 43k stars), Caffeine Cache Optimization Experiments (ben-manes/caffeine, 18k stars), Groovy 5 Developer Guide (apache/grails-core, 2.9k stars) and Jspecify Skill (sivaprasadreddy/sivalabs-agent-skills, 187 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Java Dependencies?

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.