motherduck-connect

motherduck-connect is a skill for Claude Code from motherduckdb/agent-skills. It costs 22 tokens per session (816 once invoked), scanned A, original, no licence file.

A guide to connecting applications to MotherDuck, a cloud database service built around DuckDB. It covers connection methods, sign-in details, encrypted connections, and environment settings.

In plain words
What is it for?
Use it to set up connections through the Postgres endpoint, pgduckdb, DuckDB's native API, or JDBC.
Why use it?
It helps avoid connection and configuration mistakes when an application needs to read or work with MotherDuck data.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the motherduck-skills plugin — 22 skills shipped together

Good fit Use it to set up connections through the Postgres endpoint, pgduckdb, DuckDB's native API, or JDBC.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/motherduckdb/agent-skills/motherduck-connect
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add motherduckdb/agent-skills --skill motherduck-connect
Clone the repo
git clone --depth 1 https://github.com/motherduckdb/agent-skills

Made for: Claude Code.

Or install motherduck-skills, the plugin that ships this one along with the rest of its 22 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for motherduck-connect

README.md
[![agentmods](https://agentmods.dev/badge/skills/motherduckdb/agent-skills/motherduck-connect/github.svg)](https://agentmods.dev/skills/motherduckdb/agent-skills/motherduck-connect)
Your own site
<a href="https://agentmods.dev/skills/motherduckdb/agent-skills/motherduck-connect"><img src="https://agentmods.dev/badge/skills/motherduckdb/agent-skills/motherduck-connect/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for motherduck-connect

Your own site · 80×15
<a href="https://agentmods.dev/skills/motherduckdb/agent-skills/motherduck-connect"><img src="https://agentmods.dev/badge/skills/motherduckdb/agent-skills/motherduck-connect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 816 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00022 $0.00816
Opus 5 $0.00011 $0.00408
Sonnet 5 $0.00004 $0.00163
Haiku 4.5 $0.00002 $0.00082

Measured 6d ago against content hash 95f9cace7b5a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

motherduck-connect scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/motherduck-skills-claude/skills/motherduck-connect/SKILL.md · 60 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago Changed · -12 lines · -30 tokens per session 95f9cace7b5a
  2. 13d ago First seen · 72 lines · 52 tokens per session scan A f7d9c7b8bef3

Subscribe to this mod's changes

motherduck-connect is a skill published in the GitHub repository motherduckdb/agent-skills (58 stars, last pushed 6d ago), with no licence file. It adds 22 tokens to every session and 816 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

phoenix-contexts

Phoenix context design — creating/splitting contexts, Scope (1.8+), Ecto.Multi, PubSub, routers, plugs, controllers. Use when editing contexts, routers, or designing boundaries.

oliver-kriska/claude-elixir-phoenix · 46 tokens

cesiumjs-core-utilities

CesiumJS core utilities and networking - Resource, Color, Event, Request, RequestScheduler, error handling, helper functions, feature detection. Use when fetching remote data, managing HTTP requests, working with colors, handling events, debugging errors, or using utility functions like defined, clone, or…

CesiumGS/cesiumjs-skills · 69 tokens

forge-connector

Guides building and deploying Atlassian Forge Teamwork Graph connector apps that ingest external data into Atlassian's Teamwork Graph, making it searchable in Rovo Search and surfaced in Rovo Chat. Use when the user wants to build a Forge connector, ingest external data into Atlassian, connect a third-party tool (e.g.…

atlassian/forge-skills · 121 tokens

forge-app-builder

Plan, build, scaffold, or safely extend Atlassian Forge apps using current official documentation. Use for fresh Forge apps, existing-app feature work, module and manifest changes, UI Kit or Custom UI implementation, backend functions and events, Atlassian or external APIs, storage, permissions, environment…

atlassian/forge-skills · 91 tokens

advanced-alchemy

Auto-activate for advancedalchemy imports, alembic/, SQLAlchemyAsyncRepositoryService, SQLAlchemyAsyncConfig, repositorytype, serviceclass, filters, or storage. Not for raw SQLAlchemy without Advanced Alchemy — use SQLAlchemy guidance.

litestar-org/litestar-skills · 54 tokens

sqlspec

Auto-activate for sqlspec, SQLSpec, SQLFileLoader, drivers, query builders, named SQL, filters, pagination, Arrow, framework extensions, ADK stores, data dictionary, or observers. Not for ORM repositories -- use advanced-alchemy.

litestar-org/litestar-skills · 54 tokens