
Visualization
Guides an agent to pick a Metabase chart type and set its visualization options
Visualization is an open-source agent skill for analytics and data. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 20
- Last commit
- License
- AGPL-3.0
- Listing updated
Similar skills
About Visualization
This skill helps an agent decide how a Metabase card should render: which chart type fits the shape of the data, and how to write the card's visualization settings through the mb CLI. It walks through matching a question to a chart such as bar, line, pie, scalar, map, or table, then lists the minimum keys each chart needs.
The central rule it teaches is that visualization settings refer to the output column names produced by the query, not to field IDs. It also covers the JSON-encoded string keys used by column formatting, where inner quotes must be escaped. Because the server accepts unknown display values and ignores unrelated keys silently, the skill recommends reading the card back after each create or update to confirm the result.
The skill expects the mb CLI and access to a Metabase instance. Fuller per-chart key references, including column formatting, series settings, conditional formatting and pivot splits, are loaded on demand from a references file.
When your agent uses it
Choose a card's `display` (chart type) and author its `visualization_settings` for the `mb` CLI — which chart fits which data shape, the required keys per chart, the rule that settings name OUTPUT columns, and the `column_settings` JSON-string-key footgun; the full per-chart key catalog is in references. Use when deciding or fixing how a card renders — "what chart should I use", "make this a bar/line/pie chart", "map this by state", "format this column as currency", "add conditional formatting", "the card renders as a table instead of a chart", or any `display` / `visualization_settings` work.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Instructions only, no scripts(see the files on GitHub)
- Asks for: Read, Write, Edit, Bash, AskUserQuestion(see the files on GitHub)
- License: AGPL-3.0(see the files on GitHub)
From a static check of its 2 files (44 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/visualization to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/metabase/metabase-cli.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/visualization &&
cp -R "$tmp/packages/cli/skill-data/visualization" ~/.claude/skills/visualization &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/visualization inside it instead.
Copy the skill folder to ~/.agents/skills/visualization to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/metabase/metabase-cli.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/visualization &&
cp -R "$tmp/packages/cli/skill-data/visualization" ~/.agents/skills/visualization &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/visualization inside it instead.
Copy the skill folder to ~/.cursor/skills/visualization to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/metabase/metabase-cli.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/visualization &&
cp -R "$tmp/packages/cli/skill-data/visualization" ~/.cursor/skills/visualization &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/visualization inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/metabase/metabase-cli.git --path packages/cli/skill-data/visualizationOr copy the folder to ~/.gemini/skills/visualization yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/visualization:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/metabase/metabase-cli.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/visualization &&
cp -R "$tmp/packages/cli/skill-data/visualization" ~/.copilot/skills/visualization &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/visualization inside it instead.
Get the folder:
git clone --depth 1 https://github.com/metabase/metabase-cli.gitThen copy metabase-cli/packages/cli/skill-data/visualization into your agent's skills folder as visualization. Agents that support SKILL.md read one folder per skill.
What it does
- Chart type selection
- Matches the relationship in the data, such as trend, comparison, part-to-whole or geography, to a suitable chart type.
- Required settings per chart
- Lists the minimum visualization keys each chart type needs to render as a chart rather than a fallback prompt.
- Output column binding
- Explains that settings reference the names of query output columns rather than numeric field identifiers.
- Column formatting keys
- Shows how to format columns such as currency and dates using JSON-string column_settings keys.
- Read-back verification
- Recommends checking a saved card with the mb CLI because the API does not validate visualization settings.
- Copy from UI-built cards
- Suggests pulling working settings from a card built in the Metabase interface for complex charts.
Good for
- Pick the right chart for a monthly revenue trend
- Format a column as currency on an existing card
- Make a card show a map of sales by US state
- Fix a card that renders as a table instead of a chart
- Set up a pie chart with a limited number of slices
Visualization FAQ
What does the skill need to run?
It uses the mb CLI with Metabase, and its instructions call for commands such as mb card get and mb skills get visualization.
Does Visualization change anything in Metabase?
It guides card create and update commands that set display and visualization_settings, so the agent makes those changes when asked.
Why does a card sometimes render blank?
According to the skill, a misspelled display value is accepted by the API and renders as nothing, which is a common cause.
Where are the full per-chart key details?
They are in a references file that is loaded on demand with mb skills get visualization --full.
How do I install Visualization in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/visualization to use it in all your projects, or to .claude/skills/visualization in one project.
Does Visualization run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Visualization?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Visualization?
The closest alternatives to Visualization are Dashboard, Build charts with typed params, Metabase CLI, Create chart and Create dashboard.
Where this comes from
- Description: from the skill's own SKILL.md.
More from metabase/metabase-cli

Guides an agent to write end-to-end tests that run the built CLI against real Metabase
- Open source
- 20 GitHub stars
- Developer tools

Writes unit and Playwright tests for a Metabase data app with mocked queries and actions
- Open source
- 20 GitHub stars
- Developer tools

Plans fixtures, expectations and coverage for testing a transform's logic on known rows
- Open source
- 20 GitHub stars
- Analytics and data

Guides an agent to add a Metabase API resource across client, CLI and e2e tests
- Open source
- 20 GitHub stars
- Analytics and data

Sweeps a whole repository for architectural drift using parallel read-only review passes
- Open source
- 20 GitHub stars
- Developer tools

Runs a strict end-of-task review that flags architectural drift before work is marked done
- Open source
- 20 GitHub stars
- Developer tools


