SkillsReviewed · motherduckdb

MotherDuck Enable Self-Serve Analytics

MotherDuck Enable Self-Serve Analytics is an AI assistant skill for data teams introducing internal analytics, but its examples do not implement a complete governed rollout. It guides assistants through choosing trusted datasets, publishing Dives or restricted Shares, assigning metric owners and expanding access gradually.

Researched 17 Nov 2026

In short.

MotherDuck Enable Self-Serve Analytics is an AI assistant skill for data teams introducing governed internal analytics, but its examples stop short of publishing Dives or enforcing team access. Its guidance covers curated datasets, metric ownership, role-granted Shares and secure views. The Python example uses an external helper to define a sample dataset; the TypeScript companion aggregates in-memory records. Neither contains a complete rollout implementation. Nothing was executed, so runtime compatibility, live access controls and operating costs remain unassessed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes all five supplied files in plugins/motherduck-skills/skills/motherduck-enable-self-serve-analytics at revision e2843d8fe6c7a7345bb6c1cc4261aacead52e4ca, plus the repository-level LICENSE. The imported Python helper, related skills, Terraform implementation, external product documentation and dependency implementations are outside the supplied scope. No code was executed; live publication, permissions, security boundaries, performance and costs remain unassessed.

The overview

Identity

The resource is the motherduck-enable-self-serve-analytics skill in MotherDuck's agent-skills repository. It consists of assistant instructions, a detailed rollout guide, an execution reference and Python and TypeScript examples. The original source is [https://github.com/motherduckdb/agent-skills/tree/main/plugins/motherduck-skills/skills/motherduck-enable-self-serve-analytics].

Its purpose is to help internal teams answer analytical questions through trusted datasets and controlled access. It is an instruction package for an assistant, rather than a standalone analytics application.

Assessment

The strongest feature is its concrete rollout sequence: choose one audience, curate one dataset, publish one useful asset and establish ownership before expanding. That gives teams a practical way to bound an initial deployment.

The implementation evidence is narrower than the guidance. The examples demonstrate sample data preparation and aggregation, but neither creates a Dive, grants a Share or validates permissions. The resource is useful as assistant guidance; a complete deployment still requires implementation work and live verification.

Users

The primary users are data engineers, analytics engineers and technical owners introducing MotherDuck analytics to internal departments. Business owners also have a necessary role: they must establish what metrics mean and who can approve changes.

The guide distinguishes audiences needing a ready-made visual answer from teams wanting direct SQL access. It recommends Dives for the former and curated Shares for the latter. It explicitly limits the pattern to internal analytics and points customer-facing applications toward a separate skill.

Capabilities

The instructions cover inspecting schemas, keys, record granularity and metrics; selecting an initial audience; publishing a curated dataset; documenting definitions and joins in Guides; and delivering a Ready Dive or restricted Share. The guide describes a Dive as an interactive visualization backed by live MotherDuck queries.

Access guidance includes custom roles inheriting explorer or builder, Share grants to roles, object inclusion patterns and secure views for team-specific rows, hidden columns or masked values. It also recommends managing established roles, grants and Shares through Terraform. These are prescribed capabilities, not functionality demonstrated by the bundled examples.

Using it

Requirements

Live work requires an assistant environment able to load the skill and use an active remote MotherDuck MCP server or local MotherDuck server, with appropriate access to the target data. Without a server, the skill permits planning from supplied schemas and explicit assumptions. Supported assistant products and minimum versions are not specified.

The Python example imports duckdb and scripts._lib.motherduck_artifact_utils.artifact_session. That helper is outside the supplied folder, leaving its authentication, backend selection and cleanup behavior unknown. The separate TSX starter imports @motherduck/react-sql-query and recharts. Dependency versions and a complete installation configuration are not supplied.

Mechanism

The skill shapes an assistant's workflow around the actual data model. It starts with focused inspection, checks data freshness and row counts, establishes metric definitions, and then moves through curation, publication and access review. Expansion follows a stable first use case.

Its central access distinction is between choosing which tables or views a Share exposes and controlling what individual users can see within them. The guide states that INCLUDE_PATTERN is not row-level security; it recommends secure views using current_email() or is_role_in_session() for finer restrictions. Guides supply business context that cannot reliably be inferred from column names.

Setup

Start with the complete skill folder so that its linked references and examples remain available. Identify the target database, initial audience, metric owner and intended access boundary. Live implementation also needs a configured MotherDuck connection; credential setup is not documented in the supplied files.

The execution reference describes uv-based Python execution and an environment variable for requesting a temporary MotherDuck backend. Its example command uses a skills/... path, while the captured repository location starts plugins/motherduck-skills/skills/.... Resolve the path against the actual checkout and obtain the imported helper before attempting execution.

Native md: connections are specified to include a custom_user_agent identifying agent-skills/3.0.0, the assistant harness and the LLM. This connection metadata is separate from authentication.

Example

The Python example is written to create four account records across sales and success teams, define a customer_health view excluding null statuses, and calculate account counts and total annual recurring revenue by team. Its proposed first audience is customer success, and its first_asset value describes a team KPI Dive.

That first_asset is a descriptive string; no Dive is created. The query includes both teams, and the example contains no role grants or team-specific access policy. The TypeScript companion performs similar aggregation entirely in memory and reports a typescript-companion backend. Neither example establishes live sharing or access isolation, and neither was executed.

Assessment & evidence

Limitations

No code was executed and no live MotherDuck environment was inspected. Successful authentication, dataset publication, Dive creation, role inheritance, secure-view behavior and cleanup remain unverified. The external Python helper and related implementation skills are absent from the supplied scope.

The fixtures are small, hard-coded demonstrations rather than evidence of production reliability. There are no concurrency benchmarks, performance measurements or completed access-control tests. The guide also cautions that Dives do not replace every BI workflow and that broad self-service depends on a curated, trusted data model.

Reasoning

The initial-audience approach has a clear practical rationale: a small deployment makes metric definitions, freshness problems and ownership easier to resolve before more people depend on the results. Curating data before publication also creates a defined place to review joins, filters and access boundaries.

The decisive adoption question is whether a team needs a structured rollout method and can implement the underlying MotherDuck objects. Teams expecting the sample scripts to deliver a secured analytics service will need substantial additional work. This follows from the difference between the written rollout requirements and the operations present in the examples.

Alternatives

Within the documented approach, use a Dive when people need visual answers and a curated Share when they need reusable SQL access. An existing BI tool may remain appropriate for workflows the guide says Dives do not replace.

For narrower tasks, the resource points to motherduck-model-data, motherduck-create-dive and motherduck-share-data. These may be more focused starting points for dataset creation, visualization or sharing respectively. Their implementations are not supplied, so their quality and compatibility cannot be compared here.

Evidence

The source material comprises SKILL.md, SELF_SERVE_ROLLOUT_GUIDE.md, EXECUTION_REFERENCE.md, two example programs and the repository LICENSE. The revision-specific source is [https://github.com/motherduckdb/agent-skills/tree/e2843d8fe6c7a7345bb6c1cc4261aacead52e4ca/plugins/motherduck-skills/skills/motherduck-enable-self-serve-analytics].

The instructions establish intended behavior, while the code establishes which operations the examples contain. No execution receipts or independent product documentation are included. MotherDuck product behavior described in the guide therefore remains a source claim rather than a demonstrated result.

Access & freshness

Costs

The MIT licence grants permission to use and copy the covered software and documentation free of charge. This does not establish the cost of operating a MotherDuck deployment.

MotherDuck service charges, assistant or model fees, and read-scaling costs are unknown from the supplied material. The guide recommends read scaling for concurrent analytical traffic but provides no prices, consumption measurements or cost estimates.

Rights

SKILL.md declares MIT, and the repository licence names MotherDuck as the 2026 copyright holder. The licence permits use, modification, redistribution, sublicensing and sale, provided copies or substantial portions retain the copyright and permission notices.

The licence disclaims warranties and liability. It covers the supplied software and documentation; access rights to MotherDuck services and third-party dependency terms are not established by this notice.

Freshness

The supplied snapshot was captured on 17 November 2026 at 00:28:53.537 UTC from revision e2843d8fe6c7a7345bb6c1cc4261aacead52e4ca. Later repository changes and compatibility with current MotherDuck services are unknown.

The agent-skills/3.0.0 string appears in connection metadata. It does not establish a tagged release, dependency compatibility or the release date of this skill.

Actions

Before adoption, obtain the complete folder and required repository support files, confirm compatibility with the intended assistant and MotherDuck environment, and choose one audience and use case. Establish metric ownership, check source date ranges and row counts, and decide whether users need a Dive or direct SQL access.

Before expanding access, validate the curated dataset and inspect effective roles, grants and exposed objects. Check the intended restrictions with users representing different access levels, including team rows and hidden or masked fields. Treat the sample first_asset label as a proposed deliverable until an actual asset has been created and verified.

Evidence for this report

LICENSEnotice · checked 2026-11-17