malloy-html-data-apps

malloy-html-data-apps is a skill for Claude Code, Codex from malloydata/publisher. It costs 51 tokens per session (3,902 once invoked), scanned A, original, MIT.

A way to build a hand-written web page or dashboard inside a Malloy Publisher package. Malloy is a language for describing data models and queries; the page can run those queries without a build system or JavaScript framework.

In plain words
What is it for?
Use it to create HTML and JavaScript dashboards, tables, or other data pages in a package's public directory.
Why use it?
It removes the need for a separate application toolchain when a package needs a simple browser interface for its data.

Skill for Claude CodeCodex

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

Good fit Use it to create HTML and JavaScript dashboards, tables, or other data pages in a package's public directory.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/malloydata/publisher/malloy-html-data-apps/github.svg)](https://agentmods.dev/skills/malloydata/publisher/malloy-html-data-apps)
Your own site
<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.

agentmods 80×15 button for malloy-html-data-apps

Your own site · 80×15
<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>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,902 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 warn 7 Sept 2026
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]
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.00051 $0.03902
Opus 5.5 $0.00020 $0.01561
Sonnet 5.5 $0.00010 $0.00780
Haiku 4.5 $0.00005 $0.00390

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

Security

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.

skills/malloy-html-data-apps/SKILL.md · 180 lines

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 page Publisher.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.

  1. 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.
  2. 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 .malloy file directly. Never guess field or view names.
  3. SCAFFOLD the package (template below).
  4. 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 (see reference/runtime.md). Malloy syntax questions go to skill:malloy-queries.
  5. CHOOSE CHARTS with skill:malloy-charts when rendering through <malloy-render>; otherwise it is your own chart library drawing the returned rows. Vendor any chart library into public/ 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. The storefront example ships its chart library in public/vendor/ and loads it from public/index.html as ./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).
  6. EMBED (optional). Read reference/embedding.md.
  7. PREVIEW with the local authoring loop (below).
  8. VERIFY before you call it done (see "What 'done' means" below). This step is not optional.

Read the full file on GitHub · 180 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. 6d ago Changed · +4 lines a742cb9ed365
  2. 10d ago Changed 89c9199ed608
  3. 15d ago Changed · -8 tokens per session 72378d768a1c
  4. 21d ago Changed 80193a2e70d8
  5. 26d ago Changed · +6 lines 4fbebf579f8c
  6. 1mo ago First seen · 170 lines · 59 tokens per session scan A cad0760c3d1c

Subscribe to this mod's changes

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.

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

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.

lightdash/lightdash · 44 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

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.

lightdash/lightdash · 67 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