Skip to content
Development
Skill

/preset-mcp-data

Use Superset MCP data-returning tools for chart data, chart previews, rendered chart SQL, and dataset query results. 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-data --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-data

Context preview

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

Use Superset MCP data-returning tools for chart data, chart previews, rendered chart SQL, and dataset query results. Use only for MCP tool workflows; do not use for direct API work.

SKILL.md

preset-mcp-data.SKILL.md
name: preset-mcp-data
description: Use Superset MCP data-returning tools for chart data, chart previews, rendered chart SQL, and dataset query results. Use only for MCP tool workflows; do not use for direct API work.

preset-mcp-data

Use when the user needs data returned through MCP tools.

Always

  • Use MCP tools only; do not switch to REST chart-data, SQL Lab, or dataset endpoints.
  • Treat returned rows, rendered SQL, chart previews, and dataset query results as potentially sensitive.
  • Keep row limits, selected columns, metrics, filters, and formats narrow.
  • Use discovery tools first when identifiers, metrics, columns, or chart IDs are unknown.
  • Do not use data tools as a workaround after data-model permission denial.

Decision Rules

  • Use `get_chart_data` for existing chart result data.
  • Use `get_chart_preview` for renderable existing chart previews.
  • Use `get_chart_sql` to inspect rendered chart SQL without executing it.
  • Use `query_dataset` for semantic-layer metrics, dimensions, filters, and time ranges (saved metrics only; route ad-hoc aggregates to `preset-mcp-sqllab`).
  • Route chart creation to `preset-mcp-visualization`.

Workflow Order

1. Classify which output the request needs: result data, preview content, SQL text, or semantic-layer output. Do not ask the user to re-confirm an explicit data request. 2. Resolve the object and schema through discovery if needed. 3. Choose `get_chart_data`, `get_chart_sql`, `get_chart_preview`, or `query_dataset` according to the requested output. 4. Request a small result with narrow fields, row limits, and the least revealing format. 5. Summarize data carefully; do not paste large raw payloads.

Retrieve

  • Data tool routing: [references/data-tools.md](references/data-tools.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.