Skip to content
Development
Skill

/preset-mcp-datasets

Use Superset MCP tools for dataset inspection, semantic-layer querying, and virtual dataset creation. Use only for MCP tool workflows; do not use for direct API work.

From plugin
preset-io-agent-skills
1228 skills
Install
$ npx -y skills add preset-io/agent-skills --skill preset-mcp-datasets --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/preset-mcp-datasets

Context preview

The summary Claude sees to decide when to auto-load this skill.

Use Superset MCP tools for dataset inspection, semantic-layer querying, and virtual dataset creation. Use only for MCP tool workflows; do not use for direct API work.

SKILL.md

preset-mcp-datasets.SKILL.md
name: preset-mcp-datasets
description: Use Superset MCP tools for dataset inspection, semantic-layer querying, and virtual dataset creation. Use only for MCP tool workflows; do not use for direct API work.

preset-mcp-datasets

Use for dataset-centered MCP workflows.

Always

  • Use `list_datasets` and `get_dataset_info` for dataset discovery.
  • Respect permission-denied responses; do not work around them with chart, dashboard, SQL, or API calls.
  • Use saved metrics and dimensions from `get_dataset_info`; `query_dataset` accepts saved metrics only, not ad-hoc expressions. When no saved metric fits, compute the aggregate with `execute_sql` (route to `preset-mcp-sqllab`) instead of guessing metric names or stopping to ask.
  • Use `query_dataset` for semantic-layer data results.
  • Use `create_virtual_dataset` only when the user wants to save SQL as a chartable dataset.

Decision Rules

  • Metadata only: `list_datasets`, `get_dataset_info`.
  • Result table from metrics/dimensions: route through `preset-mcp-data` / `query_dataset`.
  • SQL-to-chartable-dataset workflow: `create_virtual_dataset`.
  • Visualization from dataset: route to `preset-mcp-visualization`.
  • Database discovery: use `list_databases` and `get_database_info` through discovery.

Workflow Order

1. Find the dataset with one list/search call (use a search filter and sufficient `page_size`); paginate or refine the filter only when the target is not in the returned page. 2. Inspect columns and metrics with one `get_dataset_info` call before data or chart workflows. 3. Query semantic-layer results only when the user asks for data. 4. Save virtual datasets only when persistence is requested.

Retrieve

  • Dataset workflows: [references/dataset-workflows.md](references/dataset-workflows.md)
Read more
Ships withpreset-io-agent-skills

Agent guidance for working with Preset, Apache Superset, and Superset MCP tools. The skills work across Claude, OpenAI Codex, Cursor, GitHub Copilot, Snowflake Cortex Code CLI, and Gemini CLI from a single source.

Get the whole plugin
Stats
12
Stars
1
Forks
Active
Maintenance
Shell
Language
Apache-2.0
License
10d ago
Last commit
3mo ago
Created

Repo: preset-io/agent-skills

Other skills on preset-io-agent-skills.