SkillsReviewed · motherduckdb

motherduck-explore

motherduck-explore is an AI assistant skill for analysts and developers discovering MotherDuck data, but it requires an existing connection or active MotherDuck MCP server. It guides catalog searches, schema inspection, targeted profiling and sample queries, aiming to produce a schema map before analytical SQL or modeling begins.

Researched 17 Nov 2026

In short.

motherduck-explore is an AI assistant skill for analysts and developers understanding unfamiliar MotherDuck data, but connection setup must already be complete. It combines catalog discovery, column inspection, shared database checks and profiling with attention to existing views, macros and business guidance. Its intended output explains what each table row represents, likely join keys, date columns and measures. Runtime behavior, compatibility and operating costs are not established by the supplied files.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage is complete for plugins/motherduck-skills/skills/motherduck-explore at commit e2843d8fe6c7a7345bb6c1cc4261aacead52e4ca: SKILL.md and references/EXPLORATION_PLAYBOOK.md, plus the root LICENSE notice outside that folder. Other skills, plugin installation files, the MCP implementation and live MotherDuck services are outside scope. No code, connections, queries or tools were run; installation behavior, compatibility, output accuracy, performance and operating costs remain unverified.

The overview

Identity

motherduck-explore is a folder of assistant instructions in motherduckdb/agent-skills. Its entry file is SKILL.md, supported by references/EXPLORATION_PLAYBOOK.md. It supplies guidance and illustrative queries rather than implementing a database engine or MCP server.

The entry file at the captured revision is available at [https://raw.githubusercontent.com/motherduckdb/agent-skills/e2843d8fe6c7a7345bb6c1cc4261aacead52e4ca/plugins/motherduck-skills/skills/motherduck-explore/SKILL.md].

Assessment

The skill is a useful fit when an assistant needs to identify the right MotherDuck tables and understand their structure before answering a business question. Its distinctive strengths are checking shared databases, inspecting existing macros and views, and consulting object-specific guidance before inventing new analytical logic.

The files support an assessment of the approach and examples. They provide no measured evidence of improved query accuracy, exploration speed or compute savings.

Users

The playbook addresses analysts using Python notebooks or batch validation scripts, and developers building TypeScript or JavaScript APIs, admin tools and schema discovery features. It recommends keeping application exploration on the server and returning compact summaries.

Beginners get an ordered path through databases, tables, columns and samples. Experienced developers get MotherDuck-specific catalog functions, share discovery patterns and guidance for reusing governed definitions. Beginners still need help establishing a connection and interpreting SQL; this folder is not a complete onboarding course.

Capabilities

The instructions cover finding databases, tables, views, columns, macros and shares; searching an unfamiliar catalog; inspecting types, nullability and comments; and previewing values. The playbook includes searches by table name, column name and type, estimated table sizes, and examples for nested values and lists.

For profiling, it describes SUMMARIZE output including ranges, approximate distinct counts, percentiles, counts and null percentages. It also asks the assistant to record filtered shares and the status of existing Dives, using the states Draft, Ready, Endorsed and Archived.

Using it

Requirements

The explicit prerequisite is an established MotherDuck connection or active MotherDuck MCP server. An assistant must be able to use the instructions and access the relevant database connection or tools.

The direct client examples use the duckdb Python package or the pg JavaScript package. No supported assistant host, minimum package version, MotherDuck version or MCP server version is specified. Visibility also depends on the connected user's access and any restrictions applied to shares.

Mechanism

The entry skill starts with a known catalog object and broadens discovery when the target is unknown. It prefers structured MCP catalog tools when available. For SQL answering business questions, it calls for relevant query guidance and related object guidance, with their claims checked against the live schema.

The sequence then moves through tables and views, column metadata, relevant statistics and row previews. It asks for fully qualified database, schema and table names, especially with multiple attached databases or shares. The intended result is a concise map of table grain, meaning what one row represents, join keys, dates and likely measures.

The playbook reserves query_rw for explicitly requested and confirmed writes or connection-state changes. Its share attachment and refresh examples therefore require more consideration than an ordinary metadata lookup.

Setup

Keep SKILL.md together with references/EXPLORATION_PLAYBOOK.md so its relative reference remains available. The folder supplies no host-specific installation command or complete authentication walkthrough. It points to the separate motherduck-connect skill for session setup and authentication; that skill's contents are outside this resource.

The Python starter opens duckdb.connect("md:"). The TypeScript starter creates a pg client with a fixed MotherDuck endpoint, an analytics database, MOTHERDUCK_TOKEN from the environment and certificate verification enabled. These are connection examples, not evidence that those settings suit every workspace.

Example

An illustrative request is: Find the orders data in analytics, explain what one row represents, identify likely keys and date fields, and show ten sample rows before proposing analytical SQL.

Following the supplied patterns, the assistant would inspect catalog metadata and comments, check relevant guidance and existing definitions, and then preview the confirmed table. A hypothetical preview is FROM "analytics"."main"."orders" LIMIT 10;. These names are illustrative; the files establish no actual orders schema, data or results.

Assessment & evidence

Limitations

No installation, connection, SQL query or MCP call was executed. The files contain no runtime results, benchmarks or compatibility matrix, so successful operation with a particular assistant and workspace remains unverified.

Shared secure views can hide rows or columns, so missing data may reflect access restrictions. Some metadata examples filter by database and table without filtering by schema; repeated table names across schemas could therefore make their results ambiguous. A small preview also cannot establish overall data quality.

The entry skill makes profiling conditional on whether statistics affect the question, while the playbook gives a broader rule to run SUMMARIZE before analytical queries. The assistant or user must resolve how much profiling the task needs.

Reasoning

The design addresses several plausible causes of incorrect analytical SQL: guessing column names, overlooking shared data, assuming the wrong row meaning and rebuilding logic already present in views or macros. Its requested schema map makes those assumptions visible before modeling begins.

Checking business guidance against the live schema is a useful safeguard against stale descriptions. These are reasons the approach may help; the supplied evidence does not measure how consistently an assistant follows it or prevents mistakes.

Alternatives

For a one-off lookup, the playbook's SQL against MD_ALL_DATABASES(), duckdb_tables(), duckdb_views() and duckdb_columns() provides a manual route to catalog discovery. An active MotherDuck MCP server offers structured catalog tools as another interface.

The entry file names motherduck-query for downstream analytical SQL, motherduck-share-data for share workflows and motherduck-manage-guides for attached context. Their contents are not supplied, so they cannot be compared in detail. No evidence establishes an advantage over other products or exploration tools.

Evidence

The resource consists of SKILL.md and its Exploration Playbook, accompanied by the repository's root LICENSE. SKILL.md defines the intended behavior and prerequisites; the playbook supplies client starters, SQL patterns, share operations and MCP tool guidance. These are source instructions and examples, not observations of successful execution.

The playbook is available at [https://raw.githubusercontent.com/motherduckdb/agent-skills/e2843d8fe6c7a7345bb6c1cc4261aacead52e4ca/plugins/motherduck-skills/skills/motherduck-explore/references/EXPLORATION_PLAYBOOK.md].

Access & freshness

Costs

The MIT licence grants its software permissions free of charge. The files state no separate purchase price for the skill and establish no MotherDuck service, storage, query compute, AI model or MCP hosting prices. Total operating cost is unknown.

The entry skill favors catalog lookups and targeted profiling over broad scans. This is guidance about query scope; no monetary savings or workload costs are quantified.

Rights

SKILL.md declares MIT, and the repository's root LICENSE supplies the terms with copyright attributed to MotherDuck in 2026. The licence permits use, copying, modification, distribution and sale of the software and associated documentation, provided the copyright and permission notices accompany copies or substantial portions. It includes an as-is warranty disclaimer.

The licence is available at [https://raw.githubusercontent.com/motherduckdb/agent-skills/e2843d8fe6c7a7345bb6c1cc4261aacead52e4ca/LICENSE]. Rights to datasets or shares discovered through the skill are not established by these files.

Freshness

The source snapshot is commit e2843d8fe6c7a7345bb6c1cc4261aacead52e4ca, captured on 17 November 2026 at 02:05:32.733 UTC. This identifies the documented material without assuming that the repository's main branch remains identical.

The supplied files state no release version, update schedule or tested service and client versions. Whether every listed function, tool name and connection example matches a current deployment is unknown.

Actions

Use the skill when uncertainty about MotherDuck tables or schemas is blocking analytical work. Establish the connection first, name the target database or object when known, and ask for a schema map before a business query.

Check the returned table names, row meaning, join assumptions and date fields against live metadata and appropriate samples. Confirm which MCP tools are actually available, account for shared data restrictions, and keep any requested attachment or write separate from read-only discovery. Measure runtime and cost on the intended workload before relying on efficiency claims.

Evidence for this report

LICENSEnotice · checked 2026-11-17