motherduck-build-cfa-a…
Build MotherDuck analytics into customer-facing applications with tenant isolation, backend routing, and serving APIs.
Write, run, optimize, or troubleshoot DuckDB SQL against MotherDuck, including AI functions such as prompt_jev for in-SQL classification. Use for any SQL that targets MotherDuck, even simple queries, because MotherDuck has its own dialect and naming rules.
Claude Code
$ npx -y skills add motherduckdb/agent-skills --skill motherduck-query --agent claude-code
Codex
$ npx skills add motherduckdb/agent-skills --skill motherduck-query -a codex -y
Cursor
$ npx skills add motherduckdb/agent-skills --skill motherduck-query -a cursor -y
Gemini CLI
$ npx skills add motherduckdb/agent-skills --skill motherduck-query -a gemini-cli -y
GitHub Copilot
$ npx skills add motherduckdb/agent-skills --skill motherduck-query -a github-copilot -y
OpenCode
$ npx skills add motherduckdb/agent-skills --skill motherduck-query -a opencode -y
Windsurf
$ npx skills add motherduckdb/agent-skills --skill motherduck-query -a windsurf -y
name: motherduck-query description: Write, run, optimize, or troubleshoot DuckDB SQL against MotherDuck, including AI functions such as prompt_jev for in-SQL classification. Use for any SQL that targets MotherDuck, even simple queries, because MotherDuck has its own dialect and naming rules. 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. When performance is part of the request or execution shows a problem, check `EXPLAIN ANALYZE` and `md_information_schema.query_history` (`wait_time`, `bytes_spilled_to_disk`, `instance_type`) before changing the query or the Duckling size. 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.
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 for any…
Use the MotherDuck CLI for terminal queries, authentication, and file-based Dive or Flight workflows.
Set up or troubleshoot MotherDuck connections, the MotherDuck MCP server in AI clients, authentication, client runtimes, and read…
Create, edit, design, publish, share, or embed MotherDuck Dives, including responsive layout, light/dark themes, and buttons that…
Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with cell-level precision, formulas as…
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps,…