motherduck-build-cfa-a…
Build MotherDuck analytics into customer-facing applications with tenant isolation, backend routing, and serving APIs.
Write, execute, or optimize analytical DuckDB SQL against MotherDuck data.
$ npx -y skills add motherduckdb/agent-skills --skill motherduck-query --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/motherduck-queryContext preview
The summary Claude sees to decide when to auto-load this skill.
Write, execute, or optimize analytical DuckDB SQL against MotherDuck data.
name: motherduck-query description: Write, execute, or optimize analytical DuckDB SQL against MotherDuck data. license: MIT
1. Confirm the actual tables, columns, and grain before writing SQL. 2. Load relevant Guide context when MCP is available, without treating it as a substitute for schema inspection. 3. Write the query in SQL first, then wrap it in Python or TypeScript only if needed. 4. Use DuckDB-native patterns when they simplify the query; a simple lookup does not need a CTE or a materialization. 5. Verify result shape and key aggregates. Inspect the plan when performance is part of the request or execution shows a problem. 6. Materialize expensive repeated queries into serving tables or light views when warranted.
Read only the reference sections needed for the current task.
Load related skills only for missing capabilities; reuse established context.
Opinionated AI agent skills for building applications with MotherDuck
Repo: motherduckdb/agent-skills
Build MotherDuck analytics into customer-facing applications with tenant isolation, backend routing, and serving APIs.
Build a MotherDuck dashboard as a Dive, choosing the analytical story, metrics, and section queries.
Build ingestion-to-serving pipelines on MotherDuck, including stage boundaries, transformations, and publication.
Use the MotherDuck CLI for terminal queries, authentication, and file-based Dive or Flight workflows.
Set up or troubleshoot MotherDuck connections, authentication, client runtimes, and read scaling.
Create, edit, publish, share, or embed MotherDuck Dives using their React and SQL runtime.