preset-mcp-datasets

preset-mcp-datasets is a skill for Claude Code, Codex from preset-io/agent-skills. It costs 39 tokens per session (395 once invoked), scanned A, original, Apache-2.0.

A set of instructions for using Superset MCP tools to inspect datasets, query their defined metrics and dimensions, and create virtual datasets. Superset is a web application for exploring data and building charts and dashboards.

In plain words
What is it for?
Use it to find datasets, inspect their structure, query saved metrics and dimensions, or save SQL as a virtual dataset for later charting.
Why use it?
It provides rules for choosing dataset tools and handling queries without guessing field names or bypassing access restrictions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Part of the preset-mcp-skills plugin — 9 skills shipped together

Good fit Use it to find datasets, inspect their structure, query saved metrics and dimensions, or save SQL as a virtual dataset for later charting.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/preset-io/agent-skills/preset-mcp-datasets
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add preset-io/agent-skills --skill preset-mcp-datasets
Clone the repo
git clone --depth 1 https://github.com/preset-io/agent-skills

Made for: Claude Code, Codex.

Or install preset-mcp-skills, the plugin that ships this one along with the rest of its 9 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for preset-mcp-datasets

README.md
[![agentmods](https://agentmods.dev/badge/skills/preset-io/agent-skills/preset-mcp-datasets/github.svg)](https://agentmods.dev/skills/preset-io/agent-skills/preset-mcp-datasets)
Your own site
<a href="https://agentmods.dev/skills/preset-io/agent-skills/preset-mcp-datasets"><img src="https://agentmods.dev/badge/skills/preset-io/agent-skills/preset-mcp-datasets/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for preset-mcp-datasets

Your own site · 80×15
<a href="https://agentmods.dev/skills/preset-io/agent-skills/preset-mcp-datasets"><img src="https://agentmods.dev/badge/skills/preset-io/agent-skills/preset-mcp-datasets.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 395 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.00395
Opus 5 $0.00019 $0.00198
Sonnet 5 $0.00008 $0.00079
Haiku 4.5 $0.00004 $0.00040

Measured 12d ago against content hash b8f7701ae00f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

preset-mcp-datasets scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/preset-mcp-skills/skills/preset-mcp-datasets/SKILL.md · 36 lines

What it actually says

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

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 36 lines · 39 tokens per session scan A b8f7701ae00f

Subscribe to this mod's changes

preset-mcp-datasets is a skill published in the GitHub repository preset-io/agent-skills (11 stars, last pushed yesterday), licensed Apache-2.0. It adds 39 tokens to every session and 395 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.