malloy-reports

malloy-reports is a skill for Claude Code, Codex from malloydata/publisher. It costs 111 tokens per session (6,446 once invoked), scanned A, original, MIT.

A skill for creating Malloy Publisher reports: files that present data views as either a dashboard, scanned across a grid, or a notebook-style story, read from top to bottom. Reports can include filters and links for drilling into details.

In plain words
What is it for?
Use it to create or edit `.malloy` report files, arrange charts and text, connect filters to views, and add click-through detail links.
Why use it?
It removes the need to build a separate reporting interface or run a build step for these reports. It also gives one structure for both quick-glance dashboards and longer data stories.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create or edit .malloy report files, arrange charts and text, connect filters to views, and add click-through detail links.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/malloydata/publisher/malloy-reports
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-reports
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-reports

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/malloydata/publisher/malloy-reports"><img src="https://agentmods.dev/badge/skills/malloydata/publisher/malloy-reports.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,446 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.
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.00111 $0.06446
Opus 5.5 $0.00044 $0.02578
Sonnet 5.5 $0.00022 $0.01289
Haiku 4.5 $0.00011 $0.00645

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

Security

Grade A, and why

malloy-reports 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 3d 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-reports/SKILL.md · 304 lines

How it starts

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

Publisher Reports

A .malloy file with an ## artifact { layout=… tiles=[…] } tag is a report. It imports the model, names the views to show, binds the filtering on those views, and says how to lay them out. Publisher discovers it at package load, renders the filter controls from the givens its tiles reference, offers # drill click-through, and serves it at /<env>/<pkg>/<path>, its package path without .malloy. No code, no build step.

What other tools call a dashboard and a notebook are both reports here. The layout is the only difference:

  • layout=grid: tiles across a grid behind one filter row, scanned at a glance (a dashboard). Read reference/grid.md before you lay one out.
  • layout=linear: tiles and prose top to bottom, read in order (a notebook, a data story). Read reference/linear.md before you write one.

Everything else (filters, text tiles, drill, the builder, the lint, the write path) is the same for both, and switching layout later is a one-property edit.

Where the file goes

  • Write a new report at the package root, as <slug>.malloy, unless the author asks for another location. No directory is required, and none is a convention: a report can live anywhere in the package except public/, and the root index.malloy is never a report. Do not create a dashboards/ or notebooks/ directory for it.
  • Always write layout=grid or layout=linear in the tag. A tag without one is read by a fallback rule, and a linear report that lists tiles without layout=linear is read as a grid. kind= is no longer read: a tag that sets it makes no report (report-kind-removed), so replace it with layout=.
  • The package path is the report's identity. sales/q3.malloy is the report sales/q3: its URL, its GET …/reports/{path} address, and its # drill target. Two reports may share a basename in different directories.
  • Imports are relative to the report's own location. At the root: import { order_items } from "storefront.malloy". In a subdirectory: "../storefront.malloy".
  • An untagged .malloy file is an ordinary model, wherever it lives. Shared definitions several reports import go in one.

Read the full file on GitHub · 304 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. 3d ago Changed · -12 tokens per session 5a353dbac499
  2. 9d ago Changed · -1 lines 239e899d3b88
  3. 18d ago Changed 31ff59712f34
  4. 1mo ago Changed · +2 lines fba62903c8be
  5. 1mo ago Changed 766b0c3c573c
  6. 1mo ago Changed 39d5a1c94974
  7. 1mo ago Changed · +65 lines 175fc172c306
  8. 1mo ago Changed · -2 lines 16aec8117048
  9. 1mo ago First seen · 240 lines · 123 tokens per session scan A 8b69b10b0981

Subscribe to this mod's changes

malloy-reports is a skill published in the GitHub repository malloydata/publisher (136 stars, last pushed today), licensed MIT. It adds 111 tokens to every session and 6,446 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-10-12.

Related

malloy-reports compared with skills from other repositories

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