duckdb
Skill by ericrisco
DuckDB is an in-process analytical SQL database that queries Parquet, CSV, JSON and Arrow files in place. It suits single-machine analysis, not multi-user servers or app transactions.
Install duckdb
Built from the published package, never by AI.
git clone --depth 1 https://github.com/ericrisco/rsc-harness /tmp/rsc-harness && mkdir -p ~/.claude/skills && cp -r /tmp/rsc-harness/skills/duckdb ~/.claude/skills/duckdbRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/ericrisco/rsc-harness /tmp/rsc-harness && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/rsc-harness/skills/duckdb ~/.gemini/antigravity-cli/skills/duckdbAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
DuckDB is an in-process analytical (OLAP) database. It links into a process like SQLite but stores data by column and vectorizes execution for aggregates, joins and window functions. There is no server or daemon. The skill says it is installed with pip or as a single CLI binary.
Its main feature is reading Parquet, CSV, JSON and Arrow files in place, without a load step, so a folder of files can be queried as a table. It can also read S3 and other remote data through the httpfs extension. The skill covers Python and dataframe interop, a friendly SQL dialect, persistent or in-memory databases, export to Parquet, and tuning threads and memory. It is written for analysts and developers who need fast local analytics on large files. It advises against using DuckDB for concurrent multi-user serving or for an app's transactional writes.
Written from the project's SKILL.md and checked against it.
What it can do
- Query files in placeScans Parquet, CSV, JSON and Arrow files directly, without loading them into pandas first.
- Remote and lakehouse readsReads S3 and other remote data with httpfs and a secret, without downloading the files first.
- Python and dataframe interopQueries pandas, Polars or Arrow frames by variable name and returns results in those formats.
- Friendly SQL dialectUses FROM-first syntax, GROUP BY ALL, ORDER BY ALL, EXCLUDE and REPLACE to cut boilerplate.
- In-memory or persistent databasesOpens a throwaway in-memory database or a single-file persistent database, depending on the need.
- Export to ParquetWrites query results to Parquet with COPY, optionally hive-partitioned with PARTITION_BY.
- Resource tuningCaps thread count and memory with PRAGMA threads and PRAGMA memory_limit for large workloads.
- Version pinning guidanceRecommends the v1.4.x LTS line for long-lived projects and 1.5.x for exploration.
- Smoke-test verificationRuns scripts/verify.sh, a self-contained check using the duckdb CLI or the Python module.
What you need
- Python with pip, or the DuckDB CLI binary
- Cloud credentials in the environment or a role, for S3 access
Try asking
- Sum revenue by region from all the Parquet files in my sales folder
- Query this 3 GB CSV with DuckDB instead of loading it into pandas
- Read the S3 partitioned Parquet files directly and total the amount column
Good to know
- Single process with one writer, so it is not a multi-user analytics server.
- Not meant for an app's transactional CRUD workload.
- Scales up within one machine, not out across a cluster.
- Vector and embedding search is better handled by a dedicated vector database.
Security check
C- Downloads a script from the internet and runs itIn
skills/duckdb/SKILL.md:curl https://install.duckdb.org | sh
Checked automatically: skills/duckdb/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to duckdb
All alternatives →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.
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.
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.
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.
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.
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.
Compare with kaggle-cli, bigquery-bigframes or data-loading
duckdb: common questions
When should I use DuckDB instead of ClickHouse?
The skill says DuckDB suits embedded single-node analysis, usually under about 10GB on one box. ClickHouse is the better pick when many people query concurrently.
Can DuckDB query files without loading them into memory?
Yes. The skill says DuckDB scans only the columns and row groups it needs from Parquet, so a bare file path can be queried directly.
Which DuckDB version should I use for production?
The skill recommends the v1.4.x LTS line for long-lived projects, because its storage format and extension ABI are stable within that line.
How do I install duckdb?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is duckdb free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is duckdb safe to use?
It scores 71 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.
What are alternatives to duckdb?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
