motherduck-cli

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

Terminal skills for operating MotherDuck, a cloud data platform built around DuckDB, from the command line.

In plain words
What is it for?
For logging in through the shell, running queries, and creating or editing MotherDuck Dives and Flights in files.
Why use it?
It supports shell-based authentication, structured query results, and file-based authoring when work needs to happen in a terminal.

Skill for Claude CodeCodex

Written for Claude Code and Codex: argument-hint in frontmatter, but also agents/openai.yaml present.

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

Good fit For logging in through the shell, running queries, and creating or editing MotherDuck Dives and Flights in files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/motherduckdb/agent-skills/motherduck-cli
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-cli
Clone the repo
git clone --depth 1 https://github.com/motherduckdb/agent-skills

Made for: Claude Code, Codex.

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-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/motherduckdb/agent-skills/motherduck-cli/github.svg)](https://agentmods.dev/skills/motherduckdb/agent-skills/motherduck-cli)
Your own site
<a href="https://agentmods.dev/skills/motherduckdb/agent-skills/motherduck-cli"><img src="https://agentmods.dev/badge/skills/motherduckdb/agent-skills/motherduck-cli/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-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/motherduckdb/agent-skills/motherduck-cli"><img src="https://agentmods.dev/badge/skills/motherduckdb/agent-skills/motherduck-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 662 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.00023 $0.00662
Opus 5 $0.00012 $0.00331
Sonnet 5 $0.00005 $0.00132
Haiku 4.5 $0.00002 $0.00066

Measured 5d ago against content hash 09e4d9aecc1f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

motherduck-cli 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 5d 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-cli/SKILL.md · 52 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. 5d ago Changed · +2 lines · -29 tokens per session 09e4d9aecc1f
  2. 12d ago First seen · 50 lines · 52 tokens per session scan A 6717c1e79270

Subscribe to this mod's changes

motherduck-cli is a skill published in the GitHub repository motherduckdb/agent-skills (57 stars, last pushed 5d ago), with no licence file. It adds 23 tokens to every session and 662 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

onboarding

Skill "onboarding" from knitli/toolshed, covering codeweaver first-run onboarding, your goal, setup flow, 1. welcome & overview and 2. embedding provider selection.

knitli/toolshed · 0 tokens

setup

Skill "setup" from knitli/toolshed, covering codeweaver setup / reconfiguration, your goal, setup flow, 1. welcome & context and 2. embedding provider selection.

knitli/toolshed · 0 tokens

signals-scout-data-warehouse

Signals scout for warehouse imports. Watches external data sources, sync schemas, webhook push channels, and materialized views for failures, silent staleness, and row-volume cliffs, and suggests materialization candidates from recurring query-log hot spots.

PostHog/ai-plugin · 54 tokens

tuning-incremental-sync-config

Change the sync configuration of an existing data warehouse schema — switch synctype, pick a different incrementalfield, set primarykeycolumns, choose cdctablemode, or change syncfrequency. Use when the user asks "switch my orders table from full refresh to incremental", "this table is syncing too slowly / too…

PostHog/ai-plugin · 109 tokens

querying-posthog-data

Required reading before writing any HogQL/SQL or calling execute-sql against PostHog. Use whenever the user wants to search, find, or do complex aggregations PostHog entities (insights, dashboards, cohorts, feature flags, experiments, surveys, hog flows, data warehouse, persons, etc.) and query analytics data (trends…

PostHog/ai-plugin · 184 tokens

adding-warehouse-person-properties

Sync columns from a synced data warehouse table onto PostHog person or group properties, so warehouse data becomes usable anywhere person and group properties already work: feature flag targeting, cohorts, insight filters and breakdowns, surveys, session replay filters, workflows, and the person profile. Use when the…

PostHog/ai-plugin · 139 tokens