malloy-notebooks

malloy-notebooks is a skill for Claude Code, Codex from malloydata/publisher. It costs 57 tokens per session (2,480 once invoked), scanned A, original, MIT.

A Malloy notebook is an interactive file for exploring data, displaying charts, and telling a data story. Malloy is a language for describing data queries and models.

In plain words
What is it for?
Use it to create dashboards, visual reports, and interactive data stories in .malloynb files.
Why use it?
It brings related queries and visual results together in one report-like notebook, with interactive controls supplied by the data models it uses.

Skill for Claude CodeCodex

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

Good fit Use it to create dashboards, visual reports, and interactive data stories in .malloynb files.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/malloydata/publisher/malloy-notebooks"><img src="https://agentmods.dev/badge/skills/malloydata/publisher/malloy-notebooks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,480 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.00057 $0.02480
Opus 5 $0.00028 $0.01240
Sonnet 5 $0.00011 $0.00496
Haiku 4.5 $0.00006 $0.00248

Measured 9d ago against content hash 50474fcdf493, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

malloy-notebooks 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 9d 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-notebooks/SKILL.md · 232 lines

How it starts

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

Malloy Notebooks

Files: .malloynb

Scope: when to use this skill vs skill:malloy-analysis-report

This skill is for curated .malloynb notebooks. Interactive parameter widgets render automatically from the given: declarations on the models it imports (or, in older models, from deprecated #(filter) annotations). The notebook itself never declares parameters or filters.

For ad-hoc reports generated by an analysis agent, combining queries into a quick narrative artifact, use skill:malloy-analysis-report instead. Ad-hoc reports also inherit whatever the source declares.

Important Limitations

Compile errors in .malloynb files are NOT shown in the IDE linter. You will only see errors when cells are executed. Be extra careful with syntax and test queries in the model first if unsure.

Multiple Models & Cross-Model Joins

A published .malloynb runs each run: cell against the whole notebook, which compiles with all its imports in scope. So a notebook can import several .malloy models, and a single cell can reference, and join, sources from different imported files. Import each model you need in a setup cell at the top; no "re-export" wrapper model is required.

>>>malloy
import "flights.malloy"
import "carriers.malloy"

>>>malloy
// joins `flights` (from flights.malloy) to `carriers` (from carriers.malloy)
run: flights extend {
  join_one: carriers on carrier = carriers.code
} -> {
  group_by: carriers.nickname
  aggregate: flight_count
}

Two things still hold:

  • Imports are notebook-wide, declare them at the top, never inside a run: cell. A cell's query runs as a restricted query against the already-compiled notebook, so its imports must already be in place. You can't import a model inside a query cell to scope it there; an in-query import is rejected (file imports are not permitted in a restricted query).
  • Compile errors surface only at publish/render, not in the IDE linter (see above). Verify a multi-model notebook by publishing to a scratch environment and loading it, rather than relying only on single-model query checks.

Read the full file on GitHub · 232 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. 9d ago First seen · 232 lines · 57 tokens per session scan A 50474fcdf493

Subscribe to this mod's changes

malloy-notebooks is a skill published in the GitHub repository malloydata/publisher (100 stars, last pushed today), licensed MIT. It adds 57 tokens to every session and 2,480 once invoked, about $0.0003 per session on Opus 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

Other skills, from other repositories

reimagine-it-extract

Emit the content signals reimagine-it reads from an HTML file — title, anchors, proper nouns, dates, numbers, emails, links, source hex colors, and the derived palette — as JSON without generating a redesign. Use when the user says /reimagine-it extract, "what does the engine see in this page", "extract the palette"…

Kayforkind/reimagine-it · 133 tokens

reusable-visualization

Build ONE reusable chart visualization component that receives its data and its settings from the host application instead of fetching them, and declares the fields and config options the host exposes to viewers. Use this whenever a single chart component is reused across many different queries rather than built for…

lightdash/lightdash · 102 tokens

lightdash-agent-slack-messaging

Use this skill when writing, designing, or generating Slack messages for Lightdash's in-app analytics agent. Triggers when someone asks to create agent update messages, Slack digests, agent notifications, weekly summaries, daily summaries, or any Slack copy for the Lightdash project agent. Also use when asked to vary…

lightdash/lightdash · 114 tokens

developing-in-lightdash

Use when reading, creating, and editing Lightdash dashboards and charts as JSON, including dashboard layout and chart-type-specific configuration.

lightdash/lightdash · 31 tokens

upgrade-preflight

Checks whether a self-hosted Lightdash upgrade is safe to run, and reads the tooling's answer without over-reading it. Use when upgrading a self-hosted instance, planning a maintenance window, answering "is this upgrade safe", or recovering a failed, hung, parked or lock-stuck migration — covers lightdash…

lightdash/lightdash · 101 tokens

developing-data-apps-locally

Use when editing a locally created or downloaded Lightdash data app — how local editing, building, and uploading work, and what is read-only.

lightdash/lightdash · 38 tokens