duckdb-patterns

Perform in-memory analytics on CSV, Parquet, and JSON files with DuckDB.

12|4|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/TeiNam/kiro-with-harness --skill duckdb-patterns-teinam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: duckdb-patterns
Source: https://github.com/TeiNam/kiro-with-harness/tree/main/skills/duckdb-patterns
Command: npx skills add https://github.com/TeiNam/kiro-with-harness --skill duckdb-patterns-teinam

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires duckdb, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables efficient local analytics and complex querying for large datasets, leveraging DuckDB's capabilities to handle memory-intensive tasks and interoperate with SQL.

Core Features & Use Cases

  • In-memory Analytics: Perform in-memory analysis for datasets that exceed system memory limits.
  • SQL-Fluent Operations: Use SQL for clarity, joins, and window functions on data.
  • OLAP and Data Storage: Embedded OLAP for Python/Node and support for Parquet, CSV, JSON, Postgres, and S3.
  • Use Case: When dealing with complex queries that would bottleneck pandas or require extensive infrastructure setup, DuckDB can offer a more efficient and flexible solution.

Quick Start

Load a large CSV file into DuckDB for analysis with the command: duckdb -c "SELECT * FROM read_csv_auto('large_data.csv') LIMIT 10;"

Frequently Asked Questions about duckdb-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run complex SQL queries on large CSV files without pandas?

You can run complex SQL queries on large CSV files by loading them directly into DuckDB for in-memory analytics. This bypasses pandas bottlenecks, using SQL for joins and window functions on datasets that exceed system memory limits.

What is embedded OLAP and when do I need it for local analytics?

Embedded OLAP integrates in-memory analytical processing directly within Python or Node applications. You need it for local analytics when executing complex, memory-intensive SQL queries against large datasets without extensive infrastructure setup.

Does DuckDB support federated querying with Parquet, JSON, and Postgres?

Yes, DuckDB supports federated querying and file ingestion for Parquet, CSV, JSON, Postgres, and S3. This allows you to perform embedded OLAP and interoperate with SQL across multiple data sources simultaneously.

Can I analyze datasets that exceed system memory limits locally?

Yes, you can analyze datasets exceeding system memory limits using DuckDB's in-memory computation capabilities. It handles memory-intensive tasks efficiently, allowing local analytics on large datasets that would otherwise bottleneck traditional tools.

What's the best way to query large datasets in Python without heavy infrastructure?

Using DuckDB for embedded OLAP within Python is an efficient solution for querying large datasets without heavy infrastructure. It provides SQL-fluent operations and in-memory computation, avoiding the extensive setup required by traditional databases.

Why does my pandas workflow bottleneck on complex data joins?

Pandas workflows bottleneck on complex joins because they lack embedded OLAP optimization. Switching to DuckDB provides SQL-fluent operations and in-memory analytics, offering a more efficient and flexible solution for complex queries on large datasets.