agentsclimarketplace

Motherduck share data

Skill motherduckdb/agent-skills/plugins/motherduck-skills-claude/skills/motherduck-share-data

Create and manage MotherDuck data shares for zero-copy, read-only data distribution. Use whenever someone wants to share a database with team members, another organization, or the public — covers CREATE SHARE, access/visibility/update modes, GRANT READ ON SHARE, attaching share URLs, UPDATE SHARE, and REFRESH DATABASE.From its SKILL.md

Install
npx -y skills add motherduckdb/agent-skills --skill motherduck-share-data

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

3.2 KB, 583 tokens by cl100k_base, as published. Nobody here has run it

Share Data with MotherDuck

Use this skill when you need to distribute a MotherDuck database without copying data. Shares are read-only, zero-copy database clones and should be treated as explicit provisioning operations.

Source Of Truth

  • Prefer the current MotherDuck sharing docs and SQL reference first.
  • If the MotherDuck MCP ask_docs_question feature is available, use it before falling back to public docs.
  • Keep the sharing model aligned with the documented behavior:
    • zero-copy and metadata-only
    • database-granularity sharing
    • read-only recipients
    • owner-controlled update mode

Prerequisites

  • MotherDuck connection established via motherduck-connect
  • Source database identified via motherduck-explore
  • Share SQL validated via motherduck-query

Default Posture

  • Default internal sharing to ACCESS ORGANIZATION, VISIBILITY DISCOVERABLE, and UPDATE AUTOMATIC.
  • Use UPDATE MANUAL when the recipient needs a stable snapshot or versioned delivery.
  • Use ACCESS RESTRICTED or VISIBILITY HIDDEN when distribution should stay tightly controlled.
  • Confirm whether the recipient is an internal user, another organization, or public before choosing access and visibility.
  • For write-heavy publishers, verify the DuckDB client version is one MotherDuck supports before relying on checkpoint or concurrent-write behavior during share-update workflows.
  • Never treat a share as row-level security. Shares operate at database granularity.

Workflow

  1. Identify the exact database to publish and who should consume it.
  2. Decide sensitivity, discoverability, and freshness requirements before writing SQL.
  3. Create the share with explicit access, visibility, and update settings.
  4. If access is restricted, grant readers explicitly. If the share is hidden or link-based, distribute the share URL directly.
  5. Have recipients ATTACH the shared database and query it read-only.
  6. If the share uses UPDATE MANUAL, the owner runs UPDATE SHARE and consumers run REFRESH DATABASE when a new snapshot is ready.

For answer, review, or planning requests, return the sharing design and SQL without provisioning. For create, update, grant, or revoke requests, perform the requested in-scope operation and validate the resulting access; ask before public exposure, destructive revocation, or unrelated grants.

Open Next

  • Read references/SHARE_PLAYBOOK.md for the full SQL playbook, access/update decision matrix, consumer workflow, and common failure modes.

Related Skills

  • motherduck-connect for MotherDuck authentication and connection setup
  • motherduck-explore for discovering databases, tables, columns, and existing shares
  • motherduck-query for validating share SQL and downstream queries
  • motherduck-duckdb-sql for DuckDB SQL syntax and lookup support

What ships with it: 1 file

11.4 KB alongside SKILL.md

references/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.