java-actions

java-actions is a skill for Claude Code from mendixlabs/mxcli. It costs 52 tokens per session (5,648 once invoked), scanned A, original, Apache-2.0.

A Mendix Java-actions guide explains how to add server-side Java code to a Mendix application and call it from a microflow. Microflows are Mendix's visual workflows for application logic.

In plain words
What is it for?
Use it to define Java actions in Studio Pro, implement their Java code, call them from MDL microflows, and build integrations or processing that requires Java.
Why use it?
It covers cases where visual workflows cannot express the needed algorithm, Java library, or external integration. It also points to guidance on errors, transactions, security, and performance.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to define Java actions in Studio Pro, implement their Java code, call them from MDL microflows, and build integrations or processing that requires Java.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mendixlabs/mxcli/java-actions"><img src="https://agentmods.dev/badge/skills/mendixlabs/mxcli/java-actions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,648 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00052 $0.05648
Opus 5.5 $0.00021 $0.02259
Sonnet 5.5 $0.00010 $0.01130
Haiku 4.5 $0.00005 $0.00565

Measured 1mo ago against content hash 3622c075bb55, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

java-actions scanned grade A with 0 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 1mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/mendix/java-actions/SKILL.md · 705 lines

How it starts

The opening of the file, as written. The whole thing — 705 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
28-39 Reference files
40-48 When to Use This Skill
49-55 Overview
56-394 Part 2.5: Creating Java Actions in MDL
395-588 Part 3: Calling Java Actions from MDL
589-603 Validation Checklist
604-614 Common Errors
615-622 Related Documentation
623-704 Quick Reference

Mendix Java Actions Skill

This skill provides comprehensive guidance for creating and using custom Java actions in Mendix projects.

Reference files

SKILL.md covers declaring a Java action in MDL and calling it from a microflow — the parts that touch the model. The Java side is next door:

  • reference/writing-java.md — creating the action in Studio Pro, writing the executeAction body, the Core API surface you have, and the recurring patterns (HTTP calls, file handling, batch work).
  • reference/best-practices.md — error handling, transactions and rollback, logging, threading, security, and performance. Read it before shipping a Java action that touches data or an external system.

When to Use This Skill

Use this skill when:

  • You need to extend Mendix with custom Java logic
  • Building integrations with external Java libraries
  • Implementing complex algorithms not feasible in microflows
  • Calling Java actions from MDL microflows
  • Debugging Java action calls

Overview

Java actions allow you to extend Mendix with custom Java code. The workflow is:

  1. Define the Java action in Studio Pro (parameters, return type)
  2. Implement the Java code in Eclipse/IDE
  3. Call the Java action from microflows using MDL

Part 2.5: Creating Java Actions in MDL

MDL supports defining Java actions with inline Java code using create java action.

Read the full file on GitHub · 705 lines

Files

What ships with it

2 files 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. 1mo ago Changed · +10 lines 3622c075bb55
  2. 1mo ago Changed · +30 lines 48500d7793ab
  3. 1mo ago Changed 0cade70b8f5b
  4. 1mo ago Changed · +23 lines 0ec962c6c4ba
  5. 1mo ago Changed · +2 lines 15f25a67b175
  6. 1mo ago Changed · +18 lines 8b4268682a8e
  7. 1mo ago Changed · +7 lines ec8137d31961
  8. 2mo ago Changed · +18 lines 5d29d607969d
  9. 2mo ago Changed · +5 lines ecf883cf2a68
  10. 2mo ago First seen · 592 lines · 52 tokens per session scan A e2ccf5c3940f

Subscribe to this mod's changes

java-actions is a skill published in the GitHub repository mendixlabs/mxcli (146 stars, last pushed yesterday), licensed Apache-2.0. It adds 52 tokens to every session and 5,648 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

java-actions compared with skills from other repositories

java-actions next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
java-actionsmendixlabs/mxcliSkill146yesterdayApache-2.0A52Claude Code
react-component-designsoulcodex/agenticSkill1011d agoMITA56Claude Code, Codex
tinystruct-patternsronmkr/PromptBookSkill26mo agoApache-2.0A99Claude Code, Codex
sinch-sdkssinch/sinch-pluginsSkill64d agoApache-2.0A86Claude Code, Codex
springboot-patternsjdanigo/hydraiaSkill82mo agoMITA36Claude Code
springboot-patternsronmkr/PromptBookSkill26mo agoApache-2.0A36Claude Code, Codex
quarkus-patternsronmkr/PromptBookSkill26mo agoApache-2.0A52Claude Code, Codex