Skip to content
Skill

Core

Gives agents the foundations for operating Metabase from the mb CLI

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

This foundation skill covers working with a Metabase instance through the mb command-line tool. It explains how authentication works with named profiles, which flags and output options every command shares, how to pass JSON request bodies, and how to discover commands and schemas using --help and mb schema.

Beyond the shared conventions, it lists per-resource pitfalls for areas such as databases, tables, fields, CSV uploads, cards, dashboards, collections, alerts, subscriptions, settings and entity IDs. It also gives guidance on paginating list output, using --wait for asynchronous work, and keeping working files in a local scratch folder.

The skill acts as a router: it points the agent to more specialized skills for query authoring, visualization, dashboard filters, notifications, transforms, git sync and data apps. It expects the mb CLI to be installed and a profile to be configured by the user.

When your agent uses it

Foundations for driving Metabase from the terminal with the `mb` CLI — authentication and named profiles, the flag/output/`--json` conventions every command shares, JSON body input, command discovery via `--help` and `mb schema`, and the per-resource footguns (db, table, field, upload, content translation, card, dashboard, collection, segment, measure, timeline, alert, subscription, library, setting, search, eid). Load first for any `mb` task; it routes to the specialized skills for deeper work.

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 1 file (23 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/core 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/core &&
cp -R "$tmp/packages/cli/skill-data/core" ~/.claude/skills/core &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/core inside it instead.

Claude Code docs on skills

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

For one repository only, put the folder in .agents/skills/core inside it instead.

Codex docs on skills

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

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

Or copy the folder to ~/.gemini/skills/core yourself.

Gemini CLI docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/metabase/metabase-cli.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/core &&
cp -R "$tmp/packages/cli/skill-data/core" ~/.copilot/skills/core &&
rm -rf "$tmp"

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

The SKILL.md format

What it does

Profile and authentication handling
Lists stored Metabase profiles and passes the chosen one through each command without performing the login itself.
Shared output and paging flags
Explains --json, --fields, --max-bytes, --limit and --offset so list results stay compact and resumable.
Command and schema discovery
Shows how to find verbs and flags with --help and inspect body or output shapes with mb schema.
Resource pitfalls reference
Summarizes non-obvious behavior for databases, tables, fields, cards, dashboards, alerts and settings.
Routing to specialized skills
Directs the agent to deeper skills for MBQL, SQL, dashboards, notifications and transforms when a task needs them.

Good for

  • List the Metabase databases and tables available under a profile
  • Create or update a dashboard layout from a JSON body file
  • Set up a CSV upload into a Metabase table
  • Check which alerts or subscriptions are attached to a card or dashboard
  • Page through a large list of Metabase collection items

Core FAQ

Does the skill log in to Metabase for me?

No. Authentication is handled by the user, who stores credentials as a named profile; the agent only checks existing profiles and passes one to each command.

Which clients can use Core?

It is a plain SKILL.md folder, so it follows the shared agent skills format and is available to all listed clients.

Where should temporary working files go?

The skill instructs writing them to a ./.scratch folder in the current directory rather than /tmp.

How do I install Core in Claude Code?

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

Does Core 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 Core?

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

The closest alternatives to Core are Metabase CLI, Dashboard, Mbql, Metadata and Data workflow.

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