
Data app data
Wires a Metabase data app to its Library tables and metrics through typed queries
Data app data is an open-source agent skill for analytics and data. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 20
- Last commit
- License
- AGPL-3.0
- Listing updated
Similar skills
About Data app data
This skill gives a Metabase data app its data. It walks the agent through generating a typed schema file from the Library's published tables and metrics, then defining named questions as exports with entity IDs taken from the CLI. Each question is fed to React hooks that run it in the dev preview and, after release, on the instance the app is imported to.
The skill sets clear limits on sources: the app can only read tables published to the Library and metrics defined there, with no native SQL, no explicit joins and no unpublished copies of data. When a needed table or metric is missing, the agent is directed to name the gap and ask the user rather than work around it.
It also covers runtime filters, sorting, aggregation and error handling for the hooks, including which operators each column type accepts. It expects the Metabase CLI, a Metabase instance with data apps enabled, and a TypeScript React project using the Metabase embedding SDK.
When your agent uses it
Give a Metabase data app its data — `src/metabase.schema.ts` from `mb data-app generate-schema`, questions over the Library's published tables and metrics as `defineQuery` exports in `src/metabase.queries.ts`, their entity IDs from `mb nano-id`, and the `useMetabaseQuery` and `useMetabaseQueryObject` hooks that run them, with runtime filter clauses, sorting and aggregation. Triggers — "show revenue by month in my data app", "list customers in the app", "add a KPI", "a chart of orders by category", "regenerate the schema". Creating and releasing the app is `data-app`; filter controls are `data-app-filters`; writes are `data-app-actions`; chart choice and sizing are `data-app-ui`.
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 1 file (15 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/data-app-data 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/data-app-data &&
cp -R "$tmp/packages/cli/skill-data/data-app-data" ~/.claude/skills/data-app-data &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/data-app-data inside it instead.
Copy the skill folder to ~/.agents/skills/data-app-data 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/data-app-data &&
cp -R "$tmp/packages/cli/skill-data/data-app-data" ~/.agents/skills/data-app-data &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/data-app-data inside it instead.
Copy the skill folder to ~/.cursor/skills/data-app-data 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/data-app-data &&
cp -R "$tmp/packages/cli/skill-data/data-app-data" ~/.cursor/skills/data-app-data &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/data-app-data 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/data-app-dataOr copy the folder to ~/.gemini/skills/data-app-data yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/data-app-data:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/metabase/metabase-cli.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/data-app-data &&
cp -R "$tmp/packages/cli/skill-data/data-app-data" ~/.copilot/skills/data-app-data &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/data-app-data inside it instead.
Get the folder:
git clone --depth 1 https://github.com/metabase/metabase-cli.gitThen copy metabase-cli/packages/cli/skill-data/data-app-data into your agent's skills folder as data-app-data. Agents that support SKILL.md read one folder per skill.
What it does
- Typed schema generation
- Creates a schema file from the Library's published tables, fields, segments, measures and metrics.
- Named questions
- Defines reusable queries as exports with stable entity IDs for aggregated or row-level results.
- Data hooks
- Runs queries in React components through hooks that return rows, loading state and errors.
- Runtime filters and sorting
- Adds filter, sort, aggregation and limit clauses that the interface can change at runtime.
- Chart rendering
- Passes queries to static question components so Metabase can draw charts and KPIs.
- Source guardrails
- Keeps data access within the Library's curated semantic layer and asks before working around gaps.
Good for
- Show revenue by month in my data app
- List customers in the app
- Add a KPI for total orders
- Make a chart of orders by category
- Regenerate the schema after publishing a table
Data app data FAQ
What does the skill need before Data app data can work?
It expects the Metabase CLI, the mb data-app generate-schema command, and an app project with React 19 and the Metabase SDK, with the app's tables published to the Library.
Can the app query any table in my Metabase instance?
No. The app reads only tables published to the Library, metrics in the Library, and tables reached through their foreign keys, and it never uses native SQL.
Does the skill write or change my data?
This skill covers reading data through questions. Writes are handled by a separate data-app-actions skill.
How are query IDs assigned?
Each question's entityId comes from the mb nano-id command and should be kept when the question is edited, since a new ID replaces the question.
How do I install Data app data in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/data-app-data to use it in all your projects, or to .claude/skills/data-app-data in one project.
Does Data app data 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 Data app data?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Data app data?
The closest alternatives to Data app data are Data app migration, Data app filters, Dashboard, Data workflow and Native SQL.
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

