plugins/motherduck-skills-claude/skills/motherduck-rest-api/SKILL.md
Use when automating or advising on MotherDuck REST API control-plane workflows for service-account provisioning, supported access-token lifecycle operations, Duckling instance configuration, active account inspection, or Dive embed sessions. Do not use for SQL or data-plane query work.
npx skillsauth add motherduckdb/agent-skills motherduck-rest-apiInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when the user needs to manage MotherDuck service accounts, supported token operations, Duckling configuration, active accounts, or Dive embed sessions through the REST API.
https://api.motherduck.com/docs/specs, or an explicit OpenAPI spec supplied by the user.ask_docs_question feature is available, use it to check whether public REST API guidance has changed.motherduck-query for SQL and data-plane work.https://api.motherduck.com as the base URL unless the user provides another environment.Authorization: Bearer ${MOTHERDUCK_ADMIN_TOKEN} and keep admin read-write tokens in backend-managed secrets.POST /v1/users as service-account creation unless current docs explicitly broaden the API.username or dive_id; never invent production identifiers.read_write and read_scaling because the PUT payload requires both.400, 401, 403, 404, or 500 responses behind success-shaped fallbacks.references/REST_API_GUIDE.md for endpoint summaries, auth headers, request payloads, curl examples, validation limits, and operational gotchasmotherduck-connect for connection tokens and application connection posturemotherduck-security-governance for admin-token handling, service-account posture, and access-boundary questionsmotherduck-create-dive for designing Dives before minting embed sessionsdevelopment
Connect to MotherDuck from any application. Use when setting up database connectivity via the Postgres endpoint (recommended), pg_duckdb, native DuckDB API, or JDBC. Covers connection strings, authentication, SSL, and environment variable configuration.
development
Connect to MotherDuck from any application. Use when setting up database connectivity via the Postgres endpoint (recommended), pg_duckdb, native DuckDB API, or JDBC. Covers connection strings, authentication, SSL, and environment variable configuration.
development
Connect to MotherDuck from any application. Use when setting up database connectivity via the Postgres endpoint (recommended), pg_duckdb, native DuckDB API, or JDBC. Covers connection strings, authentication, SSL, and environment variable configuration.
data-ai
Create and manage MotherDuck data shares for zero-copy data distribution. Use when sharing databases with team members, other organizations, or making data publicly available.