motherduck-build-cfa-a…
Build MotherDuck analytics into customer-facing applications with tenant isolation, backend routing, and serving APIs.
Set up or troubleshoot MotherDuck connections, the MotherDuck MCP server in AI clients, authentication, client runtimes, and read scaling.
Claude Code
$ npx -y skills add motherduckdb/agent-skills --skill motherduck-connect --agent claude-code
Codex
$ npx skills add motherduckdb/agent-skills --skill motherduck-connect -a codex -y
Cursor
$ npx skills add motherduckdb/agent-skills --skill motherduck-connect -a cursor -y
Gemini CLI
$ npx skills add motherduckdb/agent-skills --skill motherduck-connect -a gemini-cli -y
GitHub Copilot
$ npx skills add motherduckdb/agent-skills --skill motherduck-connect -a github-copilot -y
OpenCode
$ npx skills add motherduckdb/agent-skills --skill motherduck-connect -a opencode -y
Windsurf
$ npx skills add motherduckdb/agent-skills --skill motherduck-connect -a windsurf -y
name: motherduck-connect description: Set up or troubleshoot MotherDuck connections, the MotherDuck MCP server in AI clients, authentication, client runtimes, and read scaling. license: MIT
Pick the connection method (above) and the runtime separately. The runtime is what actually executes queries: MotherDuck MCP, the MotherDuck CLI, a Python or Node process, or the DuckDB CLI.
For answer, review, or planning requests, inspect the available runtimes and recommend a path without installing anything. Install or configure a runtime only when the user asks to connect, build, or change the application.
Reuse the project’s language, dependencies, and working connection. Prefer MCP for chat-only exploration and the MotherDuck CLI for file-shaped Dive/Flight work or large output. For application code, use its existing runtime; choose a new runtime only when none is established.
Before installing a DuckDB client, check `https://motherduck.com/docs/duckdb-versions.json` and pin a MotherDuck-supported version. Keep an existing compatible pin unless the task requires an upgrade. See the runtime reference for installation examples.
1. Choose the connection path for the workload; keep ingestion and serving paths distinct when their needs differ. 2. Put the MotherDuck token in environment-managed secrets, not in source code. 3. Establish the connection with explicit SSL settings where required. 4. Verify the connection with `SELECT 1 AS connected` and then list reachable tables. 5. If the workload is read-heavy and concurrent, evaluate read scaling and a stable `session_name` per end user.
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.
Create, edit, design, publish, share, or embed MotherDuck Dives, including responsive layout, light/dark themes, and buttons that…
Create, run, schedule, or debug MotherDuck Flights, Python jobs executed on MotherDuck compute.
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,…