rest-client

rest-client is a skill for Claude Code from mendixlabs/mxcli. It costs 66 tokens per session (4,951 once invoked), scanned A, original, Apache-2.0.

A guide to connecting Mendix applications to external REST APIs, web services that exchange data through HTTP. It explains inline calls, reusable REST clients, and generating clients from an OpenAPI description.

In plain words
What is it for?
Use it to call external services, import an OpenAPI definition, create a reusable client, or map JSON data into Mendix entities.
Why use it?
It helps you choose an integration approach based on whether the API has a specification, needs reuse, or is only a one-off call.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to call external services, import an OpenAPI definition, create a reusable client, or map JSON data into Mendix entities.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mendixlabs/mxcli/rest-client"><img src="https://agentmods.dev/badge/skills/mendixlabs/mxcli/rest-client.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,951 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 warn 7 Sept 2026
SkillSpector: 10 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 138
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 263
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 269
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 276
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 282
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 287
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 292
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 296
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 80
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 416
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
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.00066 $0.04951
Opus 5.5 $0.00026 $0.01980
Sonnet 5.5 $0.00013 $0.00990
Haiku 4.5 $0.00007 $0.00495

Measured today against content hash 9bc5c1b7916e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rest-client 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 today.

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/rest-client/SKILL.md · 589 lines

How it starts

The opening of the file, as written. The whole thing — 589 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
29-44 Three Approaches
45-110 Approach 0: OpenAPI Import (Fastest)
111-337 Approach 1: REST Client (Manual)
338-383 Approach 2: REST CALL (Inline HTTP)
384-416 Data Transformers (JSLT — Mendix 11.9+)
417-454 JSON Structures & Mappings
455-526 Complete Pipeline Example
527-557 Published REST: Authentication Parameters
558-567 Mendix Validation Rules
568-588 BSON Types Reference

REST Integration Skill

Use this skill when integrating with external REST APIs from Mendix.

Three Approaches

Mendix offers three ways to call REST APIs from microflows. Choose based on the use case:

Approach When to Use Artifacts
OpenAPI import API has an OpenAPI 3.0 spec — auto-generate from the spec REST client document generated in one command
REST Client (manual) No spec available, or need fine-grained control REST client document + microflow
REST CALL (inline) One-off calls, quick prototyping, dynamic URLs, low-level HTTP control Microflow only

Both REST Client approaches can be combined with Data Transformers (Mendix 11.9+) and Import/Export Mappings to map between JSON and entities.

No API to call against yet — or one you would rather not depend on while building? mock-rest-apis covers standing up an endpoint you control and pointing the app at it.


Approach 0: OpenAPI Import (Fastest)

If the API has an OpenAPI 3.x spec (JSON or YAML), generate the REST client in one command. A Swagger 2.0 spec ("swagger": "2.0", e.g. petstore.swagger.io/v2/swagger.json) is refused — convert it first (npx swagger2openapi in.json -o out.json, or https://converter.swagger.io) and import the converted file:

Read the full file on GitHub · 589 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. today Changed · +49 lines 9bc5c1b7916e
  2. 8d ago Changed · +32 lines · +23 tokens per session 4fafd541d15f
  3. 11d ago Changed · +18 lines 6bbea6e4263f
  4. 16d ago Changed cc5886733619
  5. 21d ago Changed · +4 lines c363b44421d3
  6. 22d ago Changed · +11 lines ec71b7545b8b
  7. 1mo ago First seen · 475 lines · 43 tokens per session scan A f8775ae7e46c

Subscribe to this mod's changes

rest-client is a skill published in the GitHub repository mendixlabs/mxcli (132 stars, last pushed yesterday), licensed Apache-2.0. It adds 66 tokens to every session and 4,951 once invoked, about $0.0003 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-09-03.

Related

Other skills, from other repositories

hatch3r-api-spec

Generates and validates OpenAPI specifications from codebase. Covers endpoint design, schema validation, and documentation generation.

hatch3r/hatch3r · 29 tokens

hatch3r-scalability-verify

Scalability verification gate before commit/release — stateless-handler ratio, back-pressure patterns, idempotency-key adoption, queue-based offloading, pool sizing, bulkheads, load-test pass at target scale.

hatch3r/hatch3r · 51 tokens

golang-manual-di

Guides manual dependency injection wiring for Go services: three-tier naming taxonomy (Provide/MustProvide/Must), Must-pattern entrypoints, OS-signal-driven context lifecycle, common provider structs, infrastructure must-builders, interface-segregated bus registration, decorator/tracing wrappers, and…

soulcodex/agentic · 97 tokens

terraform-infrastructure

Structures, writes, and reviews Terraform infrastructure code. Covers module layout, remote state, workspace strategy, variable and secrets handling, CI plan/apply pipeline, naming conventions, and multi-region deployment patterns (provider aliases, per-region state, failover strategies), while delegating shared risk…

soulcodex/agentic · 96 tokens

microservices-architecture

Guides service boundary analysis, communication pattern selection, data consistency design, API contract strategy, and resilience checklist for microservices systems. Complements the microservices fragment. Invoked when the user asks to design a microservices system, split a monolith, or review service boundaries.

soulcodex/agentic · 61 tokens

nosql-database-design

Designs a NoSQL data model by leading with access pattern analysis. Covers DynamoDB single-table design (PK/SK/GSI) and MongoDB embedding vs referencing, consistency models, and capacity planning. Invoked when the user asks to design a DynamoDB schema, MongoDB data model, or NoSQL data model.

soulcodex/agentic · 71 tokens