Motherduck explore

From motherduckdb/agent-skills · View interactive version

Motherduck explore is an AI agent skill from the GitHub repository motherduckdb/agent-skills. 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.

How to use this skill

Skill file

Explore MotherDuck Data

Prerequisites

Default Posture

Workflow

  1. List databases in scope.
  2. Load relevant Guide context, then list tables and views in the target database.
  3. Inspect columns, types, nullability, and comments before writing queries.
  4. Use targeted profiling or SUMMARIZE when ranges, cardinality, or null rates affect the answer; avoid broad scans for a catalog lookup.
  5. Preview rows with SELECT * ... LIMIT n or USING 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.

Related Skills

Load related skills only for missing capabilities; reuse established context.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.