/motherduck-skills:motherduck-duckdb-sqlfrom motherduck-skills
Looks up or repairs DuckDB SQL syntax and verifies MotherDuck-specific command/feature support. Covers shares, secrets, snapshots, Dive operations, and SQL AI functions.
Ships in motherduck-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
"database"."schema"."table" names; they are required once more than one database or share is attached.GROUP BY ALL, QUALIFY, UNION BY NAME, arg_max, EXCLUDE, and REPLACE.VARIANT, native GEOMETRY, MERGE INTO, or date_trunc return-type changes.UNDROP DATABASE statements as operational SQL with plan-specific retention behavior, not ordinary analytical syntax.INCLUDE_PATTERN as whole-table/view filtering on a Share. Row filters, hidden columns, and masking use share secure views (WITH SECURE VIEW ... REPLACES <table> AS (SELECT ...), ALTER SHARE ... ADD|DROP SECURE VIEW), which are unrelated to DuckDB's CREATE SECURE VIEW optimizer barrier.CREATE DATABASE ... FROM '<file-url>', including a DuckDB file in cloud storage such as 's3://bucket/app.db') from zero-copy clone sources. Reject filtered shares and shares with secure views as clone sources; use COPY FROM DATABASE instead.SHOW ... statements; do not preserve ACCESS ORGANIZATION as the preferred RBAC pattern.prompt() for generated or structured text, embedding() for vectors, and prompt_jev() for typed classification, scoring, yes/no probabilities, and image bounding boxes. See motherduck-query for usage and cost rules.references/SYNTAX_REFERENCE.md.Read only the reference sections needed for the current task.
references/SYNTAX_REFERENCE.md for DuckDB data types, friendly SQL features, functions, complex types, and common MotherDuck-specific gotchas.Load related skills only for missing capabilities; reuse established context.
motherduck-query for writing and validating analytical SQL against live MotherDuck datamotherduck-connect when syntax support depends on PG endpoint versus native DuckDB behaviormotherduck-explore when the problem is really missing schema context rather than missing syntax knowledgeWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
23 skills in this plugin
/motherduck-build-cfa-appBuild MotherDuck analytics into customer-facing applications with tenant isolation, backend routing, and serving APIs./motherduck-build-dashboardBuild a MotherDuck dashboard as a Dive, choosing the analytical story, metrics, and section queries./motherduck-build-data-pipelineBuild ingestion-to-serving pipelines on MotherDuck, including stage boundaries, transformations, and publication. Use for any recurring ingestion from an API, SaaS app, or database into MotherDuck./motherduck-build-malleable-diveBuild a generative MotherDuck Dive where a Flight writes a daily briefing and question-to-page specs from a semantic catalog, and viewers ask, investigate, and rearrange it./motherduck-cliUse the MotherDuck CLI for terminal queries, authentication, and file-based Dive or Flight workflows./motherduck-connectSet up or troubleshoot MotherDuck connections, the MotherDuck MCP server in AI clients, authentication, client runtimes, and read scaling.npx claudepluginhub motherduckdb/agent-skills --plugin motherduck-skillsOther plugins' skills for the same job