Back to skills

query

data

Runs SQL queries against DuckDB databases or files like CSV and Parquet. Accepts raw SQL or natural language questions and translates them to DuckDB Friendly SQL. Handles schema inspection, result siz

Setup & Installation

npx skills add https://github.com/duckdb/query --skill query
or paste the link and ask your coding assistant to install it
https://github.com/duckdb/query
View on GitHub

What This Skill Does

Runs SQL queries against DuckDB databases or files like CSV and Parquet. Accepts raw SQL or natural language questions and translates them to DuckDB Friendly SQL. Handles schema inspection, result size estimation, and error recovery automatically. DuckDB's Friendly SQL idioms like FROM-first queries, GROUP BY ALL, and direct file access reduce the boilerplate needed compared to writing standard SQL against a traditional database setup.

When to use it

  • Working with query functionality
  • Implementing query features
  • Debugging query related issues