mendix-vega-charts

mendix-vega-charts is a skill for Claude Code from mendixlabs/mxcli. It costs 106 tokens per session (2,901 once invoked), scanned A, original, Apache-2.0.

A Mendix widget that renders Vega or Vega-Lite charts from a chart specification and a separate JSON array of data rows. Vega-Lite is a format for describing charts in text, while the microflow supplies the facts to display.

In plain words
What is it for?
Use it to add charts that Mendix’s standard widgets do not cover, including small multiples, faceted tables, and sparklines.
Why use it?
It keeps data preparation separate from chart design. Changing the chart does not require rewriting a microflow that manually assembles the chart’s series, axes, and colours.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is node check-spec.mjs ../specs/line-timeseries.json.

Good fit Use it to add charts that Mendix’s standard widgets do not cover, including small multiples, faceted tables, and sparklines.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/mendixlabs/mxcli
agentmods
npx agentmods add skills/mendixlabs/mxcli/mendix-vega-charts

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 mendix-vega-charts

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mendixlabs/mxcli/mendix-vega-charts"><img src="https://agentmods.dev/badge/skills/mendixlabs/mxcli/mendix-vega-charts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,901 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.00106 $0.02901
Opus 5.5 $0.00042 $0.01160
Sonnet 5.5 $0.00021 $0.00580
Haiku 4.5 $0.00011 $0.00290

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

Security

Grade A, and why

mendix-vega-charts 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.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/check-spec.mjs, widget/src/csrf.ts, widget/test/csrf.test.ts, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/packs/mendix-vega-charts/SKILL.md · 190 lines

How it starts

The opening of the file, as written. The whole thing — 190 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Vega-Lite charts in Mendix

What this is

A pluggable widget, roughly 150 lines of TSX, with two properties that matter:

Property What it carries
spec A Vega-Lite or Vega specification, as JSON text. Static, authored once, committed.
chartData A string attribute holding a JSON array of row objects. Built by a microflow.

The widget folds the data into the spec under the name given by datasetName and hands the result to vega-embed, which picks Vega or Vega-Lite from the spec's own $schema. Nothing else happens at runtime.

The split is the whole point. The model emits a table of facts; the specification decides what that table looks like. A microflow that concatenates a chart payload — series, axes, colours — is a microflow that has to be edited every time the chart changes, and it cannot be checked without running the app. A microflow that emits [{"cat":"Groceries","m":"2026-06-01","v":697.70}, ...] can be checked against the database with a SQL query, and the spec beside it can be compiled and measured without a browser at all (see Verifying).

Who this is for

An agent. The tradeoff is deliberate: a hand-authored Vega-Lite spec is a large piece of JSON, which is uncomfortable to maintain in Studio Pro's property editor and comfortable for a coding agent that can compile it, render it headless, and measure the result. If a human will maintain the chart by hand in Studio Pro, use Studio Pro's chart widgets instead.

What makes this usable without deep Vega-Lite knowledge is specs/ — working specifications for the common shapes, each with a sample data file, each of which compiles and renders. Start from the closest one and change fields, not structure.

Getting the widget into a project

See references/install.md. Summary: copy the widget source, npm ci, npm run build, put the built .mpk in the project's widgets/ folder, and commit it — a gitignored widgets/ makes every other clone unbuildable.

Read the full file on GitHub · 190 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. 1mo ago Changed e7f00f7e18c5
  2. 2mo ago Changed · +45 lines 1e2ac69d2b84
  3. 2mo ago First seen · 145 lines · 106 tokens per session scan A 1a438d52d1ff

Subscribe to this mod's changes

mendix-vega-charts is a skill published in the GitHub repository mendixlabs/mxcli (146 stars, last pushed yesterday), licensed Apache-2.0. It adds 106 tokens to every session and 2,901 once invoked, about $0.0004 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

mendix-vega-charts compared with skills from other repositories

mendix-vega-charts next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mendix-vega-chartsmendixlabs/mxcliSkill146yesterdayApache-2.0A106Claude Code
stuckQwenLM/qwen-codeSkill31ktodayApache-2.0A57Claude Code
e2e-testingQwenLM/qwen-codeSkill31ktodayApache-2.0A94Claude Code, Codex
structured-debuggingQwenLM/qwen-codeSkill31ktodayApache-2.0A85Claude Code, Codex
desktop-brand-builderQwenLM/qwen-codeSkill31ktodayApache-2.0A68Claude Code, Codex
batch-apiQwenLM/qwen-codeSkill31ktodayApache-2.0A51Claude Code
workflow-creatorQwenLM/qwen-codeSkill31ktodayApache-2.0A49Claude Code, Codex