motherduck-partner-delivery
About motherduck-partner-delivery
A skill for designing repeatable MotherDuck data delivery to multiple clients. It covers client isolation, provisioning, access controls, validation, and handoff assets, with shared conventions alongside client-specific exceptions.
Key features
- 01Design multi-client isolation patterns
- 02Standardize provisioning with Terraform
- 03Configure Shares, roles, and grants
- 04Define reusable client validation
- 05Record shared conventions and exceptions
- 06Prepare handoff assets and checks
Use cases
- 01Plan a repeatable client data-delivery setup
- 02Provision client databases and access boundaries
- 03Audit client roles and sharing rules
- 04Prepare validation and handoff materials
MCP support
Uses an active remote or local MotherDuck MCP server to inspect the in-scope database and client context when available. Without one, it uses supplied context and does not imply live validation.
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ motherduckdb/ agent-skills --skill motherduck-partner-deliveryAfter installing, type/motherduck-partner-deliveryin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
artifacts/client_delivery_example.pyclient_delivery_example.tsreferences/EXECUTION_REFERENCE.mdPARTNER_DELIVERY_GUIDE.mdDetails
From the project READMEPartner Delivery
Start Here: Is a MotherDuck Server Active?
Use an active remote MotherDuck MCP server or local MotherDuck server to inspect the in-scope database, schema, grain, keys, and relevant metrics. Reuse known context and narrow discovery to the requested work; do not scan the whole workspace by default. Let the actual data model shape the result.
Resolve the target from the request or active context. Ask only if ambiguity materially affects the result. Without a server, use supplied schema and explicit assumptions for planning; do not imply live validation.
Delivery Defaults
- structural isolation over query-time tenant filtering
- one client database or stronger boundary per client
- shared architecture, client-specific schema
- explicit sharing and revocation per client
- versioned templates for provisioning, validation, handoff, and exception tracking
- per-client provisioning as Terraform (
motherduckdb/motherduck): databases, shares and grants, roles, secrets, and service accounts with descriptions that name the client - role-granted restricted Shares with per-audience include patterns where governed table-level delivery fits, plus secure views when a client's audiences need row, column, or masking rules
- a reusable Guide topic layout with client-specific referenced definitions and exceptions
Workflow
- Inspect the available MotherDuck server or supplied client context.
- Classify the client patterns.
- Inspect the existing regional and database layout if available.
- Standardize the architecture and provisioning path.
- Define the repeatable validation pack for every client environment.
- When Guide maintenance is in scope, create or update referenced Guides for standard conventions and client-specific exceptions.
- Audit roles, grants, include patterns, and region-specific availability.
- Produce the handoff assets and validation checks.
Match execution to the request: answer, review, or planning work returns the requested delivery artifacts; build or change work creates the requested in-scope templates or client assets and validates them. Ask before provisioning additional client environments, destructive changes, or external writes not already authorized.
When this skill produces a native DuckDB (md:) connection, watermark it with custom_user_agent=agent-skills/2.6.0(harness-<harness>;llm-<llm>). If metadata is missing, fall back to harness-unknown and llm-unknown.
Output
For a full engagement, cover the following as relevant to the request:
- the default multi-client pattern
- the standard provisioning checklist
- the region and isolation posture
- the client-specific exceptions
For explicit structured JSON requests, read the output contract. Otherwise use the format that fits the requested deliverable.
References
Read only the sections relevant to the task; these are guidance, not a mandatory itinerary.
references/PARTNER_DELIVERY_GUIDE.md-- default multi-client pattern, standardize-versus-client-specific split, shares-versus-Dives-versus-apps choice, region/compliance handling, and provisioning starters
Examples
Read the execution reference only to run the bundled examples or reproduce their validation.
Related Skills
Load related skills only for missing capabilities; reuse established context.
motherduck-connect-- standardize the connection pathmotherduck-explore-- inspect existing client workspaces and boundariesmotherduck-model-data-- design client-specific schemasmotherduck-query-- validate core metrics and data contractsmotherduck-share-data-- publish governed share boundariesmotherduck-create-dive-- create repeatable client-facing answer surfaces when needed