malloy-charts

malloy-charts is a skill for Claude Code, Codex from malloydata/publisher. It costs 42 tokens per session (4,807 once invoked), scanned A, original, MIT.

A guide for choosing charts in Malloy, a data-query language that can display results using charts and tables.

In plain words
What is it for?
Use it when deciding how to display comparisons, trends, relationships, geographic data, routes, summaries, or detailed rows.
Why use it?
It connects the shape of the data—such as categories, dates, numbers, or locations—to a suitable visual format.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it when deciding how to display comparisons, trends, relationships, geographic data, routes, summaries, or detailed rows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/malloydata/publisher/malloy-charts
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 malloydata/publisher --skill malloy-charts
Clone the repo
git clone --depth 1 https://github.com/malloydata/publisher

Made for: Claude Code, Codex.

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 malloy-charts

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/malloydata/publisher/malloy-charts"><img src="https://agentmods.dev/badge/skills/malloydata/publisher/malloy-charts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,807 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.00042 $0.04807
Opus 5.5 $0.00017 $0.01923
Sonnet 5.5 $0.00008 $0.00961
Haiku 4.5 $0.00004 $0.00481

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

Security

Grade A, and why

malloy-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.

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.

skills/malloy-charts/SKILL.md · 451 lines

How it starts

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

Chart Selection for Malloy

Malloy uses Vega-Lite under the hood. # tags control visualization. Call search_malloy_docs with topic "rendering" for the full tag reference (or see https://docs.malloydata.dev/documentation/visualizations/overview).

This file is about the Malloy renderer's # tags. It applies when the view itself is rendered - a tile or cell in a report (either layout), an explore result. It does not apply to an app that draws its own charts with a vendored chart library: there the tag vocabulary is irrelevant and the full form vocabulary is available, so the approximations below (a funnel as a bar chart, a treemap as a nested table) are the wrong advice. Design to whichever vocabulary the surface actually uses.

Tool names are written bare here - get_context, execute_query, search_malloy_docs. The exact prefixed name depends on the host surface; match each against the tools you actually have.

Decision Tree: Which Chart?

Data Shape Default Choice
Aggregates only (no group_by) # big_value
1 time column + 1 measure # line_chart
1 category + 1 measure # bar_chart
2 numeric columns # scatter_chart
Geographic (US states) + 1 measure # shape_map
Route data (lat/lon pairs) # segment_map
Multiple perspectives # dashboard with nest:
Nested query to pivot # pivot
Filtered aggregates side-by-side # flatten
Detailed rows Default table (no annotation)
Goal Renderer
Compare categories # bar_chart (sort by value, limit ~15)
Show composition # bar_chart.stack
Trend over time # line_chart
Highlight KPIs # big_value with # label
Correlation # scatter_chart
Compare dimensions # dashboard (nest chart views)
Before/after # transpose or # pivot
Multiple metrics per category Default table, # flatten, or y=['a','b']

Read the full file on GitHub · 451 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 b4aa5d17261a
  2. 1mo ago Changed · +22 lines · +1 tokens per session 1e3bb263a77b
  3. 2mo ago Changed · +2 lines 76ced4ac93a9
  4. 2mo ago Changed · -16 tokens per session ecd14b2e72f4
  5. 3mo ago First seen · 427 lines · 57 tokens per session scan A a6fb070efb2a

Subscribe to this mod's changes

malloy-charts is a skill published in the GitHub repository malloydata/publisher (136 stars, last pushed today), licensed MIT. It adds 42 tokens to every session and 4,807 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

malloy-charts compared with skills from other repositories

malloy-charts next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
malloy-chartsmalloydata/publisherSkill136todayMITA42Claude Code, Codex
reimagine-it-extractKayforkind/reimagine-itSkill2182d agoMITA133Claude Code
chart-builderNickCrew/Claude-CortexSkill759d agoMITA76Claude Code, Codex
dashboard-designerNickCrew/Claude-CortexSkill759d agoMITA95Claude Code, Codex
reusable-visualizationlightdash/lightdashSkill6.3ktodaynoneA102Claude Code
developing-in-lightdashlightdash/lightdashSkill6.3ktodaynoneA31Claude Code, Codex
sdk-featureslightdash/lightdashSkill6.3ktodaynoneA67Claude Code