
Data app migration
Moves an app's built-in analytics into a Metabase data app with matching numbers
Data app migration 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 migration
This skill takes the dashboards, KPI tiles, charts and reports that an application draws with its own code and rebuilds them as a Metabase data app. It reads the source codebase to find every widget, filter and the rules behind each figure, then asks the user about anything the code cannot answer, such as which database holds the data and how fresh the numbers must be.
The work runs in phases: probing the code, matching the source's database in Metabase, writing a specification per widget, and building the data side as transforms, published tables, segments and measures. The data-app skills then build the app from a brief of what it must show, and the skill checks that each figure matches the original by fixture tests and compiled SQL before the app is released.
It expects a Metabase instance with transforms, the Library and git sync enabled, plus a source repository that the skill only reads. The source is treated as the specification, including its quirks, and differences are recorded rather than silently changed.
When your agent uses it
Move an application's own analytics — dashboards, KPI tiles, charts and reports built into its code, on any stack — into a Metabase data app. Probe the codebase for every widget and the rules behind its numbers, ask the user what the code can't answer, build the data side as transforms and Library content, have the data-app skills build the app from a brief of what it must show, prove its numbers against the original's code, release it. Triggers — "move the dashboards our app draws itself into a Metabase data app", "move our app's analytics into a data app", "we built our own analytics page", "port our app's reporting screen to a data app", "move our admin panel into a data app". A new app with no source to migrate is `data-app`; dashboards kept in another BI tool are not this skill's.
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 10 files (102 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-migration 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-migration &&
cp -R "$tmp/packages/cli/skill-data/data-app-migration" ~/.claude/skills/data-app-migration &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/data-app-migration inside it instead.
Copy the skill folder to ~/.agents/skills/data-app-migration 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-migration &&
cp -R "$tmp/packages/cli/skill-data/data-app-migration" ~/.agents/skills/data-app-migration &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/data-app-migration inside it instead.
Copy the skill folder to ~/.cursor/skills/data-app-migration 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-migration &&
cp -R "$tmp/packages/cli/skill-data/data-app-migration" ~/.cursor/skills/data-app-migration &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/data-app-migration 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-migrationOr copy the folder to ~/.gemini/skills/data-app-migration yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/data-app-migration:
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-migration &&
cp -R "$tmp/packages/cli/skill-data/data-app-migration" ~/.copilot/skills/data-app-migration &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/data-app-migration 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-migration into your agent's skills folder as data-app-migration. Agents that support SKILL.md read one folder per skill.
What it does
- Widget discovery from code
- Finds every analytics page, widget and filter in the application and traces each one's data back to its database.
- Rule extraction and verdicts
- Records the rules behind each figure and assigns each widget a verdict on whether Metabase can reproduce it.
- Transform-based data build
- Creates transforms, published tables, metadata, segments and measures that carry the source's logic.
- Fixture-based parity checks
- Proves numbers match the original using transform fixture tests, compiled SQL checks and app unit tests.
- Migration handoff notes
- Commits a per-app migration record so later changes can trace each rule back to the source code.
Good for
- Move our admin dashboard's KPI tiles into a Metabase data app
- Port the reporting screen of our app into a data app
- Rebuild the charts from our custom analytics page in Metabase
- Check that migrated figures match the original application's numbers
Data app migration FAQ
What does the skill need before Data app migration starts?
A Metabase build instance with transforms, the Library and read-write git sync enabled, and a source repository it reads without modifying.
Does Data app migration change the source application?
No. The source repository is read-only and the skill never writes to it, builds it or changes its git state.
When does Data app migration apply instead of data-app?
It applies when the app already has analytics in its code to migrate. A new app with no source to migrate is handled by data-app, and dashboards kept in another BI tool are out of scope.
How do I install Data app migration in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/data-app-migration to use it in all your projects, or to .claude/skills/data-app-migration in one project.
Does Data app migration 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 migration?
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 migration?
The closest alternatives to Data app migration are Data app data, Data workflow, Data app filters, Dashboard and Transform.
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

