metabase-custom-viz

metabase-custom-viz is a skill for Claude Code, Codex from metabase/agent-skills. It costs 121 tokens per session (1,659 once invoked), scanned A, original, MIT.

A set of guides for building Metabase data apps: React web apps that display and work with data in Metabase.

In plain words
What is it for?
Use it to create or remove an app, change its interface, show tables and charts, add routes, or build forms and other actions.
Why use it?
It gives task-specific instructions instead of making you read every guide, reducing confusion about setup, data access, pages, and changes that write data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it to create or remove an app, change its interface, show tables and charts, add routes, or build forms and other actions.

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

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 metabase-custom-viz

README.md
[![agentmods](https://agentmods.dev/badge/skills/metabase/agent-skills/v1/github.svg)](https://agentmods.dev/skills/metabase/agent-skills/v1)
Your own site
<a href="https://agentmods.dev/skills/metabase/agent-skills/v1"><img src="https://agentmods.dev/badge/skills/metabase/agent-skills/v1/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 metabase-custom-viz

Your own site · 80×15
<a href="https://agentmods.dev/skills/metabase/agent-skills/v1"><img src="https://agentmods.dev/badge/skills/metabase/agent-skills/v1.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 121 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,659 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00121 $0.01659
Opus 5.5 $0.00048 $0.00664
Sonnet 5.5 $0.00024 $0.00332
Haiku 4.5 $0.00012 $0.00166

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

Security

Grade A, and why

metabase-custom-viz scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

copy), then download each file below, keeping its path, with `curl`
skills/metabase-custom-viz/v1/SKILL.md · 135 lines

How it starts

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

Metabase custom visualizations

You orchestrate. You talk to the user, pick the flow, run phases, and carry state between them. You do not write viz code outside a phase.

Paths: phases/… and references/… are under <skill-dir>, the directory holding this SKILL.md. <sdk> is node_modules/@metabase/custom-viz/dist in the project. Other paths are relative to the project root. Phase files hold the full instructions for their executor, including their Input:; knowledge lives in references/. Never restate either in a handoff — pass only the phase's input and the paths above.

Setup

  1. Project: the working directory has metabase-plugin.json and @metabase/custom-viz in package.json → use it. Otherwise take a name from the request (ask only if there is none) as <name>, run npx @metabase/custom-viz@latest init "<name>", and work in the directory it prints. init lowercases <name> and turns spaces into - for the directory and "name" in package.json and metabase-plugin.json; <name> as given becomes the display name. Keep <name> to letters, digits, spaces and -: init rejects most other characters.
  2. node_modules/ missing → npm install.
  3. <version> is version in node_modules/@metabase/custom-viz/package.json. Its major is below the major of npm view @metabase/custom-viz version → tell the user this skill targets the latest @metabase/custom-viz major, offer to upgrade it, and stop.
  4. Metabase source: the host rules (sandbox, colors, column types) live in the public Metabase repo. <ref> is custom-viz-v<version>, the tag the installed SDK was released from. .claude/metabase-src/.ref holds <ref> → the files are cached, skip the download. Otherwise delete .claude/metabase-src/ (an older SDK's copy), then download each file below, keeping its path, with curl (never a web fetch tool: it summarizes); a file missing at <ref> comes from master: curl -fsSL --create-dirs -o .claude/metabase-src/<path> https://raw.githubusercontent.com/metabase/metabase/<ref>/<path> || curl -fsSL --create-dirs -o .claude/metabase-src/<path> https://raw.githubusercontent.com/metabase/metabase/master/<path>
    • frontend/src/metabase/utils/scripts-sandbox/distortions-dom-mutate.ts
    • frontend/src/metabase/utils/scripts-sandbox/distortions-event.ts
    • frontend/src/metabase/utils/scripts-sandbox/distortions-blocked-apis.ts
    • frontend/src/metabase/utils/scripts-sandbox/distortions.ts
    • frontend/src/metabase/ui/colors/types/color-keys.ts
    • frontend/src/metabase/ui/colors/constants/accents.ts
    • frontend/src/metabase-lib/v1/types/utils/isa.ts

Read the full file on GitHub · 135 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 · +58 lines · -112 tokens per session de7ead80f97e
  2. 1mo ago Changed · +6 lines · +94 tokens per session 09b05c703eac
  3. 1mo ago Changed · +40 lines 40fe92284dce
  4. 1mo ago First seen · 31 lines · 139 tokens per session scan A 2e2e5cfd92d7

Subscribe to this mod's changes

metabase-custom-viz is a skill published in the GitHub repository metabase/agent-skills (60 stars, last pushed 12d ago), licensed MIT. It adds 121 tokens to every session and 1,659 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-10.

Related

metabase-custom-viz compared with skills from other repositories

metabase-custom-viz next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
metabase-custom-vizmetabase/agent-skillsSkill6012d agoMITA121Claude Code, Codex
build-ghost-appTryGhost/GhostSkill56ktodayMITA44Claude Code, Codex
material-ui-tailwindmui/material-uiSkill99kyesterdayMITA67Claude Code, Codex
fuzzy-rankingTanStack/tableSkill29k7d agoMITA62Claude Code, Codex
r3f-best-practiceszebbern/claude-code-guideSkill4.7ktodayMITA74Claude Code, Codex
git-safetytamagui/tamaguiSkill14k4d agoMITA42Claude Code
onchainkitalsk1992/CloddsBotSkill3.1k17d agoMITA24Claude Code, Codex