# Data app migration

> Data app migration is an open-source agent skill for analytics and data. Moves an app's built-in analytics into a Metabase data app with matching numbers. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/metabase/metabase-cli/tree/main/packages/cli/skill-data/data-app-migration
- **Repository:** https://github.com/metabase/metabase-cli
- **GitHub stars:** 20
- **License:** AGPL-3.0
- **Skill name:** data-app-migration
- **Collection:** https://github.com/metabase/metabase-cli
- **Categories:** [analytics and data](https://ai-powered.com/categories/analytics-and-data)
- **Listing updated:** 2026-12-03

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/metabase/metabase-cli/tree/HEAD/packages/cli/skill-data/data-app-migration)
- [Asks for: Read, Write, Edit, Bash, AskUserQuestion](https://github.com/metabase/metabase-cli/blob/HEAD/packages/cli/skill-data/data-app-migration/SKILL.md)
- [License: AGPL-3.0](https://github.com/metabase/metabase-cli/tree/HEAD/packages/cli/skill-data/data-app-migration)

## Features

- **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

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/data-app-migration` to use it in all your projects:

```sh
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.

### Codex

Copy the skill folder to `~/.agents/skills/data-app-migration` to use it in every repository:

```sh
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.

### Cursor

Copy the skill folder to `~/.cursor/skills/data-app-migration` to use it in every project:

```sh
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.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/metabase/metabase-cli.git --path packages/cli/skill-data/data-app-migration
```

Or copy the folder to `~/.gemini/skills/data-app-migration` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/data-app-migration`:

```sh
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.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/metabase/metabase-cli.git
```

Then 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.

## 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.

## Alternatives

- [Data app data](https://ai-powered.com/skills/data-app-data): Data app data is an open-source agent skill for analytics and data.
- [Data workflow](https://ai-powered.com/skills/data-workflow): Data workflow is an open-source agent skill for analytics and data.
- [Data app filters](https://ai-powered.com/skills/data-app-filters): Data app filters is an open-source agent skill for analytics and data.
- [Dashboard](https://ai-powered.com/skills/dashboard): Dashboard is an open-source agent skill for analytics and data.
- [Transform](https://ai-powered.com/skills/transform-metabase): Transform is an open-source agent skill for analytics and data.
- [Metadata](https://ai-powered.com/skills/metadata): Metadata is an open-source agent skill for analytics and data.
- [Data analysis](https://ai-powered.com/skills/data-analysis-superhero-tech): Data analysis is an open-source agent skill for analytics and data.
- [Data scientist](https://ai-powered.com/skills/data-scientist): Data scientist is an open-source agent skill for analytics and data.

---
Source: https://ai-powered.com/skills/data-app-migration
