motherduck-build-cfa-a…
Build MotherDuck analytics into customer-facing applications with tenant isolation, backend routing, and serving APIs.
Design or implement MotherDuck analytical schemas and transformation models, including grain, types, and materialization.
Claude Code
$ npx -y skills add motherduckdb/agent-skills --skill motherduck-model-data --agent claude-code
Codex
$ npx skills add motherduckdb/agent-skills --skill motherduck-model-data -a codex -y
Cursor
$ npx skills add motherduckdb/agent-skills --skill motherduck-model-data -a cursor -y
Gemini CLI
$ npx skills add motherduckdb/agent-skills --skill motherduck-model-data -a gemini-cli -y
GitHub Copilot
$ npx skills add motherduckdb/agent-skills --skill motherduck-model-data -a github-copilot -y
OpenCode
$ npx skills add motherduckdb/agent-skills --skill motherduck-model-data -a opencode -y
Windsurf
$ npx skills add motherduckdb/agent-skills --skill motherduck-model-data -a windsurf -y
name: motherduck-model-data description: Design or implement MotherDuck analytical schemas and transformation models, including grain, types, and materialization. license: MIT
For multi-model work, keep transformations in reviewable SQL files using the project's existing dbt, SQLMesh, or local conventions. If none exist, use stage directories and a `model_manifest.yml` recording dependencies, materialization, and target database. A single-table request needs only the requested SQL or change.
Use the known source schema and connection. Discover missing types, grain, and join keys before implementing; planning can use supplied schema without a live connection.
1. Inspect the current source tables and actual column types before designing new models. 2. Choose the target lifecycle stage and grain for each modeled table. Map dependencies between models. 3. Place SQL in the existing project, or use the scaffold reference for a new multi-model project. 4. Author each model as a standalone SQL file. Use explicit types, nullability, comments, and fully qualified names. Decide between a table, CTAS rebuild, or view based on freshness and cost. 5. Record dependencies and materializations in the project's framework or lightweight manifest, not both. 6. For implementation, run the in-scope models and verify grain and row counts; MCP DDL and CTAS require `query_rw`. For an answer, review, or plan, return the requested explanation or SQL without creating a project or mutating the warehouse unless requested.
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,…