From motherduck-skills
Execute DuckDB SQL queries against MotherDuck databases. Use when running analytics, aggregations, transformations, or any SQL operation. Covers query best practices, CTEs, window functions, QUALIFY, and performance optimization.
How this skill is triggered — by the user, by Claude, or both
Slash command
/motherduck-skills:motherduck-queryThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill when executing SQL queries for analytics, aggregations, transformations, or data exploration against MotherDuck databases.
Use this skill when executing SQL queries for analytics, aggregations, transformations, or data exploration against MotherDuck databases.
"database"."schema"."table" names.ATTACH, DETACH, recovery commands such as CREATE SNAPSHOT, ALTER DATABASE ... SET SNAPSHOT, UNDROP DATABASE, and lifecycle commands such as SHUTDOWN as writes. Use the MotherDuck MCP query_rw tool when the user's change request authorizes the write. Ask for confirmation only when the action is destructive, externally visible, or outside the stated scope.custom_user_agent when the connection path supports it.GROUP BY ALL, QUALIFY, and arg_max.references/QUERY_PLAYBOOK.md for DuckDB query patterns, exploration SQL, performance rules, common analytical shapes, and common mistakesmotherduck-connect for session setupmotherduck-duckdb-sql for syntax and function referencemotherduck-explore for understanding the source schema before writing queriesnpx claudepluginhub motherduckdb/agent-skills --plugin motherduck-skillsDuckDB SQL reference for MotherDuck. Use when you need exact DuckDB syntax or function behavior, friendly SQL features like QUALIFY, GROUP BY ALL, or list/struct types, MotherDuck-specific SQL such as shares, secrets, snapshots, or UNDROP, or to fix SQL errors and PostgreSQL-style SQL that fails on MotherDuck.
Expert SQL specialist for modern databases, OLTP/OLAP optimization, query performance tuning, and advanced analytical techniques.
Generates optimized SQL queries from natural language for BigQuery, PostgreSQL, MySQL, Snowflake, SQL Server. Reads schemas from uploaded files, diagrams, docs for reporting, analysis, exploration.