# Data workflow

> Data workflow is an open-source agent skill for analytics and data. Guides an agent through raw data to clean tables, metrics, answers and dashboards via mb. 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-workflow
- **Repository:** https://github.com/metabase/metabase-cli
- **GitHub stars:** 20
- **License:** AGPL-3.0
- **Skill name:** data-workflow
- **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 acts as a router for end-to-end data work with the Metabase mb CLI. It helps the agent work out where a user's data stands, then sends it to the right stage: building clean analysis-ready tables from raw databases, defining reusable segments, measures and metrics, answering questions in plain language, or building dashboards.

It sets shared working habits for collaborating with a human on data tasks. These cover asking once how hands-on the user wants to be, confirming non-obvious business rules, guarding personal data before showing rows, stating when a request falls outside the CLI, and ending with a recap the user can check.

It relies on other skills for mechanics such as authentication, query syntax, transforms, charts and dashboard layout. Working files are kept in a local scratch folder. Access to a Metabase instance through a configured mb profile is required.

## When your agent uses it

> Guided, end-to-end data work through the `mb` CLI — investigate a raw database, build clean analysis-ready tables, define reusable segments/measures/metrics, answer questions, and build dashboards. Detects where the data is, holds the shared conventions for collaborating with a human on data work, and carries the deep per-stage method in references. Use when the user states a data goal rather than a single command — "make sense of my data", "build a data model", "go from raw data to a dashboard", "be my data analyst", "set up analytics for X", "define active customers / MRR officially", "make this reusable", "who registered / what did people say".

## 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-workflow)
- [Asks for: Read, Write, Edit, Bash, AskUserQuestion, EnterPlanMode, ExitPlanMode](https://github.com/metabase/metabase-cli/blob/HEAD/packages/cli/skill-data/data-workflow/SKILL.md)
- [License: AGPL-3.0](https://github.com/metabase/metabase-cli/tree/HEAD/packages/cli/skill-data/data-workflow)

## Features

- **Starting-point detection:** Works out whether the user has raw data, clean tables or existing definitions before choosing a stage.
- **Stage routing:** Maps a stated data goal to cleaning, defining metrics, answering questions or building dashboards.
- **Collaboration conventions:** Sets rules for plain-language hand-offs, confirmations of business rules and recaps.
- **Personal data safeguards:** Asks before showing row-level records that may contain names, emails or phone numbers.
- **Permission-denied handling:** Stops on access errors, explains the likely cause and asks before searching for similar tables.
- **Per-stage reference methods:** Loads detailed method files for cleaning, reusable definitions and answering questions as needed.

## Good for

- Turn a messy normalized SaaS database into a few clean reporting tables
- Define one official definition of active customers or MRR
- Answer who registered last month in a written summary
- Build a dashboard from existing clean tables
- Set up analytics for a new product from raw data

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/data-workflow` 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-workflow &&
cp -R "$tmp/packages/cli/skill-data/data-workflow" ~/.claude/skills/data-workflow &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/data-workflow` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/data-workflow` 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-workflow &&
cp -R "$tmp/packages/cli/skill-data/data-workflow" ~/.agents/skills/data-workflow &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/data-workflow` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/data-workflow` 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-workflow &&
cp -R "$tmp/packages/cli/skill-data/data-workflow" ~/.cursor/skills/data-workflow &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/data-workflow` 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-workflow
```

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

### VS Code

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

```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-workflow &&
cp -R "$tmp/packages/cli/skill-data/data-workflow" ~/.copilot/skills/data-workflow &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/data-workflow` 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-workflow` into your agent's skills folder as `data-workflow`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Data workflow need to run?

It needs an authenticated mb CLI profile for a Metabase instance, and it uses the Read, Write, Edit, Bash and question tools listed in its frontmatter.

### When does Data workflow trigger?

It triggers when the user states a broader data goal rather than a single command, such as making sense of data, building a data model or defining active customers.

### Does Data workflow modify my data without asking?

It asks the user once how hands-on they want to be and applies that setting throughout, and it asks before showing personal data row by row.

### How do I install Data workflow in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/data-workflow to use it in all your projects, or to .claude/skills/data-workflow in one project.

### Does Data workflow 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 workflow?

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 workflow?

The closest alternatives to Data workflow are Metabase CLI, Metadata, Core, Famou data analysis and Dashboard.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Metabase CLI](https://ai-powered.com/skills/metabase-cli): Metabase CLI 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.
- [Core](https://ai-powered.com/skills/core-metabase): Core is an open-source agent skill for analytics and data.
- [Famou data analysis](https://ai-powered.com/skills/famou-data-analysis): Famou data analysis 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.
- [Mbql](https://ai-powered.com/skills/mbql): Mbql 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.
- [Native SQL](https://ai-powered.com/skills/native-sql): Native SQL is an open-source agent skill for databases.

---
Source: https://ai-powered.com/skills/data-workflow
