# Core

> Core is an open-source agent skill for analytics and data. Gives agents the foundations for operating Metabase from the mb CLI. 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/core
- **Repository:** https://github.com/metabase/metabase-cli
- **GitHub stars:** 20
- **License:** AGPL-3.0
- **Skill name:** core
- **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 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.

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

## Features

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

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/core` 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/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.

### Codex

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

### Cursor

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

### 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/core
```

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

### VS Code

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

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

### 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/core` into your agent's skills folder as `core`. Agents that support SKILL.md read one folder per skill.

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

## Alternatives

- [Metabase CLI](https://ai-powered.com/skills/metabase-cli): Metabase CLI 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.
- [Metadata](https://ai-powered.com/skills/metadata): Metadata 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.
- [Document](https://ai-powered.com/skills/document-metabase): Document is an open-source agent skill for files and documents.
- [Native SQL](https://ai-powered.com/skills/native-sql): Native SQL is an open-source agent skill for databases.
- [Visualization](https://ai-powered.com/skills/visualization-metabase): Visualization is an open-source agent skill for analytics and data.

---
Source: https://ai-powered.com/skills/core-metabase
