Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

motherduck-create-flight

Skill by motherduckdb

Creates, runs, schedules and debugs MotherDuck Flights, which are Python jobs that run on MotherDuck compute. Written for data teams that automate ingestion, refresh and alerting work.

  • Score 67
  • 62 stars
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install motherduck-create-flight

Built from the published package, never by AI.

git clone --depth 1 https://github.com/motherduckdb/agent-skills /tmp/agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agent-skills/skills/motherduck-create-flight ~/.claude/skills/motherduck-create-flight

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install motherduck-create-flight in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill helps an AI assistant create, run, schedule and debug MotherDuck Flights. A Flight is a single-file Python script with a main() function that runs on MotherDuck compute. Scripts read non-secret settings from config and sensitive values from Flight secrets, and connect with duckdb.connect("md:"), which injects the access token automatically.

The skill sets out a workflow. When MCP is available, it checks the Flight guide first, creates the Flight without a schedule, triggers one on-demand run, reads the logs, and only then adds a UTC cron schedule. It also sets defaults for pinned dependencies, idempotent loads and bulk loading. It is meant for data teams running ingestion, refresh, export or alerting jobs on MotherDuck.

Written from the project's SKILL.md and checked against it.

What it can do

  • get_flight_guideLoads the current Flight authoring contract, runtime limits and tool semantics before changes.
  • create_flightCreates a Flight with source code, pinned requirements, config and secret names.
  • update_flightReplaces Flight fields in full, including the schedule_cron setting.
  • edit_flight_sourceMakes surgical edits to a Flight's source code, creating a new version.
  • run_flightTriggers an on-demand run of a Flight.
  • get_flight_runChecks the status of a run until it reaches a terminal state.
  • get_flight_logsReads the logs of a Flight run to debug it.
  • grant_accessGrants run access on a Flight to users, roles or a Dive's viewers after user confirmation.
  • view_flight_runShows a Flight run as a step diagram instead of raw logs.

What you need

  • A MotherDuck account
  • Python scripts with pinned dependencies
  • MotherDuck MCP or a MotherDuck connection

Try asking

  • Create a Flight that refreshes my orders table nightly from S3 files
  • Run my sales_sync Flight on demand and show me the logs
  • Debug why my last Flight run failed and suggest a fix

Good to know

  • Schedules use 5-field cron in UTC.
  • Heavy compute should run in SQL, not in Python memory on the Flight.
  • Interactive analysis and one-off queries are better handled with motherduck-query.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/motherduck-create-flight/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to motherduck-create-flight

All alternatives →
kaggle-cliKaggle
94

Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.

AAA Skill 7.7k
bigquery-bigframesgoogle
94

Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.

AAA Skill 25k
data-loadingmicrosoft
94

Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.

AAA Skill 18k
data-manager-api-setupgoogle
94

Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.

AAA Skill 25k
managed-airflow-dag-authoringgoogle
94

Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.

AAA Skill 25k
data-feedsdavila7
94

Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.

AAA Skill 34k

Compare with kaggle-cli, bigquery-bigframes or data-loading

motherduck-create-flight: common questions

What is a MotherDuck Flight?

A Flight is a single-file Python job, with a main() function, that runs on MotherDuck compute. It can be scheduled or triggered on demand.

How does a Flight get database credentials?

The runtime injects MOTHERDUCK_TOKEN automatically when the script connects with duckdb.connect("md:"). The skill says never to hardcode a token in source, config or requirements.

Should I add a schedule right away?

The skill recommends creating the Flight without a schedule first, running it on demand, and reading the logs. A schedule is added only after a successful run.

How do I install motherduck-create-flight?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is motherduck-create-flight free?

The code is public, but no licence file was found, so check the repository before commercial use.

Is motherduck-create-flight safe to use?

It scores 67 of 100. Grades: maintenance A, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to motherduck-create-flight?

Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.

motherduck-create-flight Install

Add to stack

Loading.