Find and understand MotherDuck databases, tables, columns, shares, and sample data, including which tables hold a given kind of data. Use first when a MotherDuck workspace or schema is unfamiliar.
Getting started
Full instructionsInstall the skill, then ask your AI tool for the task in plain words. The full SKILL.md below shows what it covers.
Instructions: SKILL.mdv1.0.48
Explore MotherDuck Data
Prerequisites
- An established MotherDuck connection (or an active MotherDuck MCP server)
Default Posture
- Start at the known catalog object; broaden to databases or shares only when the target is unknown.
- Prefer fully qualified
"database"."schema"."table"names; they are required once more than one database or share is attached. - Check shared databases before concluding that data is unavailable. A share with secure views can hide columns and rows: a missing column in an attached share may be policy, not schema drift.
- Use the MotherDuck MCP tools (
list_databases,list_tables,list_views,list_columns,list_macros,search_catalog) when available because they return structured results faster than ad hoc SQL. Checklist_macrosbefore reimplementing logic; table and scalar macros often encode governed definitions. - When MotherDuck MCP is available and the SQL answers a business question, call
get_query_guidefirst, then read only the relevant Guide topics and validate their claims against the live schema. FollowrelatedGuidesreturned by catalog tools when they govern the objects in scope. - Record whether a share is filtered and whether an existing Dive is Draft, Ready, Endorsed, or Archived; these attributes change what downstream agents should trust or expect to see.
- Return a concise schema map with table grain, join keys, date columns, and likely measures before moving into modeling or dashboard work.
Workflow
- List databases in scope.
- Load relevant Guide context, then list tables and views in the target database.
- Inspect columns, types, nullability, and comments before writing queries.
- Use targeted profiling or
SUMMARIZEwhen ranges, cardinality, or null rates affect the answer; avoid broad scans for a catalog lookup. - Preview rows with
SELECT * ... LIMIT norUSING SAMPLE; on wide tables these read only the row groups they need. Capture grain and join assumptions, and only then move into analytical SQL or modeling work.
References
Read only the reference sections needed for the current task.
- Read
references/EXPLORATION_PLAYBOOK.mdfor the full SQL workflow, share discovery patterns, MCP tool guidance, and common exploration mistakes
Related Skills
Load related skills only for missing capabilities; reuse established context.
motherduck-connectfor session setup and authenticationmotherduck-queryfor analytical SQL after the schema is understoodmotherduck-duckdb-sqlfor DuckDB syntax patterns during explorationmotherduck-share-datafor creating and consuming shares once shared datasets become part of the workflowmotherduck-manage-guidesfor reading or maintaining the context attached to discovered objects
Explore more skills
Browse all- Motherduck Design DiveDesign or improve a MotherDuck Dive’s layout, responsive behavior, themes, filters, and visual accessibility.
- Motherduck Build Malleable DiveBuild a generative MotherDuck Dive where a Flight writes a daily briefing and question-to-page specs from a semantic…
- Motherduck Manage GuidesRead or maintain MotherDuck Guides for business definitions, join rules, and reusable warehouse conventions.
- Motherduck Model DataDesign or implement MotherDuck analytical schemas and transformation models, including grain, types, and…
- Motherduck Share DataCreate, consume, or manage MotherDuck data shares, including audience grants, table filters, and refresh policy.
- Motherduck Load DataLoad files, object storage, dataframes, or external databases into MotherDuck with bulk ingestion. Use for any import…
Security
Reviews (0)
More from MotherDuck Agent Skills
View source →Frequently asked questions about motherduck-explore
What does the motherduck-explore skill do?
Find and understand MotherDuck databases, tables, columns, shares, and sample data, including which tables hold a given kind of data. Use first when a MotherDuck workspace or schema is unfamiliar. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the motherduck-explore skill?
Run `npx @skills-hub-ai/cli install motherduck-explore` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/motherduck-explore/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does motherduck-explore work with?
motherduck-explore runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the motherduck-explore skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use motherduck-explore after installing it?
In Claude Code, type `/motherduck-explore` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the motherduck-explore skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.
Badge for your README
Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.
[](https://skills-hub.ai/skills/motherduck-explore)<a href="https://skills-hub.ai/skills/motherduck-explore"><img src="https://skills-hub.ai/api/badges/skill/motherduck-explore" alt="Install on Skills Hub"></a>More options in the badge docs.