跳到正文
cccskills
免费在 GitHub 公开

motherduck-cli

Use the MotherDuck CLI for terminal queries, authentication, and file-based Dive or Flight workflows.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(3)

  • SKILL.md3.1 KB
  • agents/openai.yaml219 B
  • references/CLI_PLAYBOOK.md7.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Use the MotherDuck CLI

Source Of Truth

  • Prefer the current MotherDuck CLI documentation and command reference. Read command help before relying on remembered flags because the command surface can evolve.
  • Before authoring or editing a Dive or Flight, run motherduck dive guide or motherduck flight guide. Those built-in guides are the current runtime contract.
  • Use motherduck <command> --help after a parsing or option error instead of guessing at syntax.

Default Posture

  • Reuse an authenticated CLI when available; check with motherduck status before starting a login flow.
  • For automation, pass MOTHERDUCK_TOKEN through the environment and set an absolute, task-specific MOTHERDUCK_HOME so parallel agents do not share credentials or assets.
  • Request --output json for machine-readable resource operations and check both the exit code and returned success field. motherduck query --output json returns a bare JSON array instead.
  • Redirect large query results to a file rather than pulling every row into model context.
  • Never run motherduck new merely because authentication is missing. Account creation requires an explicit signup request.
  • Treat dive push, flight push, scheduling, secret changes, and account creation as external mutations. Perform them only when the user's build/change request includes that outcome.

Workflow

  1. Inspect the host project and existing CLI/authentication state.
  2. Install or upgrade only when needed, following the current platform-specific docs.
  3. Choose CLI or MCP based on the task shape:
    • files, local edits, CI, large results, or repeated iterations: CLI
    • chat-only exploration, inline answers, or no filesystem: MCP
    • mixed workflow: explore through MCP, then build from local files through the CLI
  4. For queries, use motherduck query with the smallest suitable output format.
  5. For a Dive or Flight, read its built-in guide, pull or initialize the local project, edit files, validate or preview, then push only when publication is requested.
  6. Capture the resource ID, URL, or run number from JSON output and verify the remote state after mutation.

For answer, review, or planning requests, recommend commands without logging in, creating an account, or changing remote resources. For explicit build/change requests, complete the in-scope CLI workflow and validate its result; ask before destructive deletes or materially broader external changes.

References

Read only the reference sections needed for the current task.

  • Read references/CLI_PLAYBOOK.md for installation, authentication, JSON contracts, query patterns, agent isolation, and complete Dive/Flight file workflows.

Related Skills

Load related skills only for missing capabilities; reuse established context.

  • motherduck-connect for choosing the underlying application connection path
  • motherduck-explore and motherduck-query for catalog discovery and SQL behavior
  • motherduck-create-dive and motherduck-create-flight for the product-specific authoring workflow

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Build MotherDuck analytics into customer-facing applications with tenant isolation, backend routing, and serving APIs.

中文简介正在准备中。当前显示原文说明。

motherduckdb/agent-skills622026年9月6日 更新

Build a MotherDuck dashboard as a Dive, choosing the analytical story, metrics, and section queries.

中文简介正在准备中。当前显示原文说明。

motherduckdb/agent-skills622026年9月6日 更新

Build ingestion-to-serving pipelines on MotherDuck, including stage boundaries, transformations, and publication.

中文简介正在准备中。当前显示原文说明。

motherduckdb/agent-skills622026年9月6日 更新

Set up or troubleshoot MotherDuck connections, authentication, client runtimes, and read scaling.

中文简介正在准备中。当前显示原文说明。

motherduckdb/agent-skills622026年9月6日 更新

Create, edit, publish, share, or embed MotherDuck Dives using their React and SQL runtime.

中文简介正在准备中。当前显示原文说明。

motherduckdb/agent-skills622026年9月6日 更新

Create, run, schedule, or debug MotherDuck Flights, Python jobs executed on MotherDuck compute.

中文简介正在准备中。当前显示原文说明。

motherduckdb/agent-skills622026年9月6日 更新

查看 motherduckdb 的全部技能

报告此技能的问题