Skip to content
Skill

Data workflow

Guides an agent through raw data to clean tables, metrics, answers and dashboards via mb

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

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

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 4 files (59 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-workflow 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-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.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/data-workflow 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-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.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/data-workflow 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-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.

Cursor docs on skills

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

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

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Data workflow 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.

More from metabase/metabase-cli

  1. Guides an agent to write end-to-end tests that run the built CLI against real Metabase

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

    • Open source
    • 20 GitHub stars
    • Developer tools
  3. Plans fixtures, expectations and coverage for testing a transform's logic on known rows

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

    • Open source
    • 20 GitHub stars
    • Analytics and data
  5. Sweeps a whole repository for architectural drift using parallel read-only review passes

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

    • Open source
    • 20 GitHub stars
    • Developer tools