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.
npx skills add malloydata/publisher --skill malloy-html-data-appsgit clone --depth 1 https://github.com/malloydata/publisherWrote 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.
[](https://agentmods.dev/skills/malloydata/publisher/malloy-html-data-apps)<a href="https://agentmods.dev/skills/malloydata/publisher/malloy-html-data-apps"><img src="https://agentmods.dev/badge/skills/malloydata/publisher/malloy-html-data-apps/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.
<a href="https://agentmods.dev/skills/malloydata/publisher/malloy-html-data-apps"><img src="https://agentmods.dev/badge/skills/malloydata/publisher/malloy-html-data-apps.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, 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 MCP Rug Pull · line 145 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00051 | $0.03902 |
| Opus 5.5 | $0.00020 | $0.01561 |
| Sonnet 5.5 | $0.00010 | $0.00780 |
| Haiku 4.5 | $0.00005 | $0.00390 |
Grade A, and why
malloy-html-data-apps 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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 180 lines — stays where its author put it; the contents beside it link to each section on GitHub.
In-Package HTML Data Apps
A package becomes a web app by adding a
public/directory. Publisher serves those files and gives the pagePublisher.query(...)to run Malloy against the package's models. No build step, no npm, no framework.
When this is the right tool
| The user wants | Use |
|---|---|
| A hand-authored HTML/JS dashboard, no toolchain | this skill (an HTML data app) |
| A React app with managed components | the Publisher React SDK (out of scope here) |
| An analyst notebook or dashboard with charts | a Malloy report (<slug>.malloy at the package root, layout=linear or layout=grid; the malloy-reports skill) |
| Point-and-click exploration, no code | the Publisher Explorer |
Pick an HTML data app when the user wants full control of the markup and only plain web files.
Package anatomy
my-package/
publisher.json # name, version, description
subscriptions.malloy # the model(s), stays private
subscriptions.parquet # data, stays private
public/ # ONLY this directory is web-served
index.html
app.js
vendor/ # chart library, vendored rather than loaded from a CDN
chart.umd.js
Only public/ is reachable over the web, at /environments/<env>/packages/<pkg>/<file>. Models, data, and publisher.json are private and reached only through the query API, which still applies the model's filters, access modifiers, and authorize rules. There is no flag to set: a public/ directory is what makes a package an app.
Build sequence
The agent orchestrates these. Each query and chart step hands off to a focused skill.
- DESIGN IT FIRST. Read
reference/design.md: who opens it, the decision it serves, the archetype, the form each tile takes, and the depth plan. Skipping this is what produces an app that enumerates the model - a KPI row and a chart grid, whatever the domain - instead of one that answers a question. Hand the brief to the user before scaffolding. - READ THE MODEL. Get the model's real source and view names, through your environment's context tool if it has one, or by opening the
.malloyfile directly. Never guess field or view names. - SCAFFOLD the package (template below).
- WRITE THE QUERIES. Read
reference/runtime.md. Validate each before pasting it into the page, using whatever query tool your environment provides or a running Publisher (seereference/runtime.md). Malloy syntax questions go toskill:malloy-queries. - CHOOSE CHARTS with
skill:malloy-chartswhen rendering through<malloy-render>; otherwise it is your own chart library drawing the returned rows. Vendor any chart library intopublic/and load it locally, not from a CDN. Two reasons: embedded author JavaScript runs with the viewing user's data authority, and a blocked CDN (agent sandboxes and many corporate networks block them) is easy to miss, because the script never runs and the charts come up empty. Thestorefrontexample ships its chart library inpublic/vendor/and loads it frompublic/index.htmlas./vendor/chart.umd.js. Copy its vendoring, not its loading (it uses a plain<script>, which the next sentences rule out), and resolve the path against the page's own directory: a page in a subdirectory (public/reports/index.html) needs../vendor/chart.umd.js. A wrong relative path 404s and leaves the charts blank, which is the failure you are trying to avoid. Load it off the critical path (<link rel="preload">, then injected on the first chart), not as a plain<script>ahead of the app: it is usually most of the page's weight and would hold every query until it has parsed (reference/performance.md). - EMBED (optional). Read
reference/embedding.md. - PREVIEW with the local authoring loop (below).
- VERIFY before you call it done (see "What 'done' means" below). This step is not optional.
What ships with it
11 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.
- reference/archetypes.md 5.8 KB
- reference/depth-patterns.md 12 KB
- reference/design.md 19 KB
- reference/embedding.md 4.4 KB
- reference/lazy-load.md 4.0 KB
- reference/overlays.md 11 KB
- reference/performance.md 19 KB
- reference/runtime.md 14 KB
- reference/token-contract.md 8.2 KB
- reference/verification-harness.md 19 KB
- reference/visual-craft.md 18 KB
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.
- 6d ago Changed · +4 lines a742cb9ed365
- 10d ago Changed 89c9199ed608
- 15d ago Changed · -8 tokens per session 72378d768a1c
- 21d ago Changed 80193a2e70d8
- 26d ago Changed · +6 lines 4fbebf579f8c
- 1mo ago First seen · 170 lines · 59 tokens per session scan A cad0760c3d1c
malloy-html-data-apps is a skill published in the GitHub repository malloydata/publisher (118 stars, last pushed today), licensed MIT. It adds 51 tokens to every session and 3,902 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.
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"…
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…
repository-writeback
Use when changing the dbt project through a pull request (editDbtProject) or managing those pull requests, offering to fix or extend the semantic layer, or following up a merged pull request.
developing-in-lightdash
Use when reading, creating, and editing Lightdash dashboards and charts as JSON, including dashboard layout and chart-type-specific configuration.
sdk-features
Map Lightdash SDK capabilities to their host-UI names and the app-code wiring each needs. Use when the user asks about a feature by name (Inspect data, drill-down, exports, shareable URLs), when offering newly available features after a template upgrade, or when wiring a host-facing capability into the app.
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…