database-connections

database-connections is a skill for Claude Code from mendixlabs/mxcli. It costs 55 tokens per session (4,707 once invoked), scanned A, original, Apache-2.0.

A way for a Mendix application to connect directly to an external database using JDBC, a standard method for database connections. It supports databases such as Oracle, PostgreSQL, MySQL, and SQL Server.

In plain words
What is it for?
Use it to configure database connections, define parameterized SQL queries, inspect tables, and map query results to temporary Mendix entities.
Why use it?
It removes the need to build a separate service just to run database queries from Mendix microflows and map the results into the app.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to configure database connections, define parameterized SQL queries, inspect tables, and map query results to temporary Mendix entities.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mendixlabs/mxcli/database-connections"><img src="https://agentmods.dev/badge/skills/mendixlabs/mxcli/database-connections.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,707 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.00055 $0.04707
Opus 5.5 $0.00022 $0.01883
Sonnet 5.5 $0.00011 $0.00941
Haiku 4.5 $0.00006 $0.00471

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

Security

Grade A, and why

database-connections 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 13d 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/database-connections/SKILL.md · 571 lines

How it starts

The opening of the file, as written. The whole thing — 571 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
30-32 Purpose
33-52 When to Use This Skill
53-87 Prerequisites
88-202 Database Connection Syntax
203-264 Query Definition Syntax
265-362 Complete Examples
363-378 Viewing Connections
379-399 Best Practices
400-413 Troubleshooting
414-425 Related Commands
426-551 Executing Queries from Microflows
552-566 Importing Data from External Databases
567-570 References

Skill: Create External Database Connections

Purpose

Create and manage external database connections in Mendix using the External Database Connector. This skill helps you set up JDBC connections to external databases (Oracle, PostgreSQL, MySQL, SQL Server, etc.) and define SQL queries that map results to non-persistent entities.

When to Use This Skill

  • User asks to connect to an external database from a Mendix app (via JDBC)
  • User needs to query data from Oracle, PostgreSQL, MySQL, SQL Server, or other JDBC databases
  • User wants to create database connection configurations
  • User needs to define SQL queries with parameter binding
  • User wants to map query results to Mendix entities

Tip: Use generate connector to auto-create all constants, entities, and queries from a database schema:

mdl 1;
SQL CONNECT postgres 'postgres://user:pass@host/db' AS source;
SQL source GENERATE CONNECTOR INTO MyModule;
-- Or generate for specific tables and execute immediately:
SQL source GENERATE CONNECTOR INTO MyModule TABLES (employees, departments) EXEC;

For manual exploration, use sql source show tables; and sql source describe tablename;. From the shell, mxcli sql --alias <alias> "<query>" is read-only: a write is refused unless --write is passed. Ask the user before passing --write to a database you were pointed at to explore.

Read the full file on GitHub · 571 lines

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. 13d ago Changed · +3 lines e7d6299bacc8
  2. 1mo ago Changed · +6 lines f7b7c5b6aff4
  3. 1mo ago Changed · +22 lines 85497f8aaf45
  4. 2mo ago Changed · +9 lines d4170f57aea1
  5. 2mo ago Changed · +15 lines 6de1630e363e
  6. 3mo ago First seen · 516 lines · 55 tokens per session scan A 4d413184aef2

Subscribe to this mod's changes

database-connections is a skill published in the GitHub repository mendixlabs/mxcli (146 stars, last pushed yesterday), licensed Apache-2.0. It adds 55 tokens to every session and 4,707 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

database-connections compared with skills from other repositories

database-connections next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
database-connectionsmendixlabs/mxcliSkill146yesterdayApache-2.0A55Claude Code
nosql-database-designsoulcodex/agenticSkill1011d agoMITA71Claude Code, Codex
sql-query-optimizationsoulcodex/agenticSkill1011d agoMITA70Claude Code, Codex
firebaseericrisco/rsc-harnessSkill6915d agoMITA77Claude Code, Codex
notion-connectorericrisco/rsc-harnessSkill6915d agoMITA86Claude Code, Codex
ship-safe-scanasamassekou10/ship-safeSkill8731mo agoMITA36Claude Code
backend-developmentMoizIbnYousaf/Ai-Agent-SkillsSkill1.2k2mo agoMITA32Claude Code, Codex