SkillsReviewed · motherduckdb

motherduck-load-data

motherduck-load-data is an AI assistant skill for developers importing data into MotherDuck, but a PostgreSQL connection cannot handle its local-file and dataframe workflows. It supplies bulk-loading guidance for files, cloud storage and external databases, with validation steps for row counts, column types and business totals.

Researched 17 Nov 2026

In short.

motherduck-load-data is an AI assistant skill for developers and data teams importing data into MotherDuck, but local-file and dataframe workflows require a native DuckDB client. It guides an assistant through source classification, bulk loading into raw or staging tables, and validation. Its reference covers file formats, cloud authentication, whole-database imports and external-source patterns. Current compatibility, performance and operating costs are unknown; no code or SQL was executed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete selected folder plugins/motherduck-skills/skills/motherduck-load-data: SKILL.md and references/INGESTION_PATTERNS.md, plus the repository-level LICENSE outside that folder. All three supplied files are tied to revision e2843d8fe6c7a7345bb6c1cc4261aacead52e4ca. Other repository skills, installation documentation, linked product documentation and third-party tools are outside the supplied scope. No commands, code, SQL, connections, imports or benchmarks were executed; runtime behavior, current compatibility and actual costs remain unverified.

The overview

Identity

The resource is the motherduck-load-data skill in motherduckdb/agent-skills. Its selected folder contains SKILL.md and references/INGESTION_PATTERNS.md: assistant instructions and supporting ingestion examples. The files do not supply a standalone ingestion engine.

The original resource folder is [https://github.com/motherduckdb/agent-skills/tree/main/plugins/motherduck-skills/skills/motherduck-load-data]. The supplied source snapshot is pinned to revision e2843d8fe6c7a7345bb6c1cc4261aacead52e4ca.

Assessment

The strongest fit is an assistant helping with bounded batch imports into MotherDuck. The skill makes a useful distinction between data on local disk or in memory and data already accessible from cloud storage. That distinction determines which client and loading operations are available.

The instructions provide concrete loading and validation patterns, but the files contain no execution results or compatibility measurements. They support an assessment of the documented approach; successful operation in a particular environment remains unverified.

Users

Developers, analysts and data engineers using an AI assistant can use this skill to plan or implement imports from local files, cloud objects, dataframes and external databases. Beginners get a source-to-destination procedure; experienced developers get SQL patterns and client restrictions.

It is less suited to someone seeking a complete continuous-replication service. The skill favors batch ingestion and refers ongoing change-data replication to separate tools.

Capabilities

The skill documents first loads, append operations, dataframe or Arrow bulk loading, local DuckDB database uploads and physical imports of remote DuckDB database files. Its defaults favor Parquet, batch operations and native MotherDuck storage.

The reference adds CSV parsing controls, Parquet partition discovery and schema matching, nested JSON handling, cloud credentials, Delta Lake and Iceberg scans, partitioned loads and exports. It also describes PostgreSQL and MySQL attachment patterns, managed replication options and API ingestion through dlt. These are documented recipes and external integrations; their availability depends on the environment.

Using it

Requirements

Implementation requires MotherDuck access, permission to write to the destination, access to the source data and an appropriate client. Protected object storage also requires suitable credentials. The selected files do not specify supported assistant hosts or minimum client versions.

The reference identifies Python duckdb and Node.js @duckdb/node-api as native DuckDB paths for local files, dataframe registration, secrets and extension workflows. PostgreSQL drivers such as psycopg and pg submit SQL through the MotherDuck Postgres endpoint and have a narrower ingestion surface.

Delta and Iceberg examples depend on the corresponding extensions. PostgreSQL and MySQL attachment examples require a local DuckDB environment with the relevant extension; the reference says those extensions are not pre-installed on MotherDuck. Current extension availability was not assessed.

Mechanism

The assistant first identifies where the data lives, then chooses a loading path. CREATE TABLE AS SELECT creates a table from a query result; INSERT INTO ... SELECT appends query results to an existing table. Raw data lands with minimal transformation, followed by row-count, type and business-aggregate checks.

For remote files, the reference shows server-side reads using MD_RUN = REMOTE. For local files or in-memory data, it directs the assistant to a native DuckDB client. It distinguishes whole-database file imports, which physically copy data, from MotherDuck database or share clones described as zero-copy.

The skill separates planning from implementation: an advice request should produce a recommended path, while an implementation request includes loading and validation. It instructs the assistant to ask before destructive replacement or broader external writes; actual assistant compliance is unverified.

Setup

The selected folder does not include host-specific installation commands or a MotherDuck account-authentication walkthrough. How to install the skill in a particular assistant is unknown from these files.

For an import, establish the appropriate MotherDuck connection, prepare the destination database when the ingestion tool does not create it, and configure access to private source objects. Use a native DuckDB client when CREATE SECRET or local-data access is required.

After uploading a local DuckDB database, explicitly select the remote database or qualify remote table names before validation. The reference warns that uploading a database does not change the active query context.

Example

For Parquet orders already stored in S3, a first-load adaptation of the reference's remote-read pattern is:

CREATE TABLE "my_db"."ingest"."orders_stage" AS SELECT * FROM read_parquet('s3://bucket/orders/*.parquet', MD_RUN = REMOTE);

The names and storage path are placeholders. The destination database and schema must be prepared, and private objects require working credentials. After loading, compare the destination row count, inferred column types and a known total such as order value against the source. This illustration was not executed.

Assessment & evidence

Limitations

The Postgres endpoint cannot substitute for every native DuckDB workflow described here. The reference excludes local-file COPY, local database attachments, CREATE SECRET, extension installation and local execution from that path.

Several reference snippets use CREATE OR REPLACE, which can replace existing destinations. CSV examples using ignore_errors can omit malformed rows. The main skill's confirmation and validation instructions therefore matter, but the files cannot establish that an assistant will follow them or that every data-quality issue will be detected.

Cloud credential discovery, extension behavior, large-dataset performance and results on real source data were not assessed.

Reasoning

The approach has a clear rationale: choose a client that can access the actual source, move data in bulk, and validate the landing table before adding business transformations. The reference explains batching in terms of fewer client-server round trips and documents column selection and filtering for large loads.

Keeping raw landing separate from modeling makes ingestion checks easier to interpret. Row counts, types and selected aggregates provide useful checks, though they do not establish complete semantic correctness. The evidence supplies no measured speed or reliability improvement.

Alternatives

Developers comfortable managing imports directly can use the native DuckDB clients and SQL patterns described in the reference. Applications already using PostgreSQL drivers can use the documented remote-read path when their files are accessible to MotherDuck.

For ongoing database replication, the reference names Fivetran, Airbyte, Estuary and, for some sources, Streamkap. For REST APIs, it shows dlt. These are separate tools requiring their own evaluation; comparative prices, latency and reliability are not supplied.

The main skill also points to a separate DuckLake skill when object-storage-backed lakehouse storage is explicitly required. That related skill is outside the supplied evidence.

Evidence

The source material consists of the complete skill instructions, its ingestion reference and the repository MIT licence. The pinned instruction file is [https://raw.githubusercontent.com/motherduckdb/agent-skills/e2843d8fe6c7a7345bb6c1cc4261aacead52e4ca/plugins/motherduck-skills/skills/motherduck-load-data/SKILL.md].

The pinned reference is [https://raw.githubusercontent.com/motherduckdb/agent-skills/e2843d8fe6c7a7345bb6c1cc4261aacead52e4ca/plugins/motherduck-skills/skills/motherduck-load-data/references/INGESTION_PATTERNS.md]. Its SQL, Python and shell fragments are documentation examples. No execution logs, benchmark results or verified import outputs are supplied, and nothing was executed.

Access & freshness

Costs

The files provide no MotherDuck service prices, assistant or model prices, cloud-storage transfer charges or managed-ingestion prices. Total operating cost is unknown.

The reference notes that importing a whole DuckDB file physically copies its data and can take time and storage proportional to the source. No throughput, resource-usage or cost measurements are supplied.

Rights

SKILL.md declares MIT, and the repository licence names MotherDuck as the 2026 copyright holder. The licence permits use, copying, modification, redistribution, sublicensing and sale, provided the copyright and permission notices accompany copies or substantial portions. It includes an as-is warranty disclaimer.

The licence is available at [https://raw.githubusercontent.com/motherduckdb/agent-skills/e2843d8fe6c7a7345bb6c1cc4261aacead52e4ca/LICENSE]. Rights in imported datasets and terms for external services are not established by these files.

Freshness

The supplied snapshot was captured on 2026-11-17 at 04:44:15.908 UTC from revision e2843d8fe6c7a7345bb6c1cc4261aacead52e4ca. That capture time does not establish a publication or last-update date.

The skill explicitly asks assistants to prefer current MotherDuck loading, storage and endpoint documentation. The files supply no supported-version matrix, so compatibility with a particular current client or service configuration remains unverified.

Actions

Start by identifying whether the source is local, in memory, remotely accessible or an external database. Choose the corresponding native DuckDB or Postgres-endpoint path, then confirm its authentication and extension requirements against current MotherDuck documentation.

For an initial evaluation, use a bounded dataset with known row counts, types and business totals. Make any intended replacement of existing objects explicit, validate the landed destination, and add modeling only when transformation is part of the requested work. These steps are recommendations; no evaluation results are available.

Evidence for this report

LICENSEnotice · checked 2026-11-17