Skip to content
duckdb avatar

Duckdb Docs

Full-text search over locally cached DuckDB and DuckLake docs and blog posts, returning ranked doc chunks.

CCM score
71 of 100
skills.sh installs
1.5K
GitHub stars
623
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers DuckDB docs and blog plus DuckLake docs, with version filters for lts, current, blog, stable, and preview
  • Converts natural-language questions into BM25 search terms, then ranks the top 8 chunks by score
  • Caches the search index at $HOME/.duckdb/docs/ and refreshes it when older than 2 days
  • Designed for answering DuckDB syntax and function questions from inside an agent session

Install

$ npx -y skills add duckdb/duckdb-skills --skill duckdb-docs -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

You are helping the user find relevant DuckDB or DuckLake documentation.

Query: $@

Follow these steps in order.

Step 1 — Check DuckDB is installed

command -v duckdb

If not found, delegate to /duckdb-skills:install-duckdb and then continue.

Step 2 — Ensure required extensions are installed

duckdb :memory: -c "INSTALL httpfs; INSTALL fts;"

If this fails, report the error and stop.

Step 3 — Choose the data source and extract search terms

The query is: $@

Data source selection

There are two search indexes available:

IndexRemote URLLocal cache filenameVersionsUse when
DuckDB docs + bloghttps://duckdb.org/data/docs-search.duckdbduckdb-docs.duckdblts, current, blogDefault — any DuckDB question
DuckLake docshttps://ducklake.select/data/docs-search.duckdbducklake-docs.duckdbstable, previewQuery mentions DuckLake, catalogs, or DuckLake-specific features

Both indexes share the same schema:

Details

Repository
github.com/duckdb/duckdb-skills
Categories
Databases, Technical Documentation
First seen
Jun 3, 2026

Questions

What does the duckdb-docs skill do?

The duckdb-docs skill searches DuckDB and DuckLake documentation and blog posts for a question or keyword. It uses full-text search against a locally cached index and returns the relevant documentation chunks, then gives a short answer based on them.

Which skills lead the Databases category next to duckdb-docs?

Within the Databases category, other top skills include supabase-postgres-best-practices and several Prisma skills such as prisma-client-api and prisma-cli. The duckdb-docs skill focuses on searching DuckDB and DuckLake documentation rather than general database work.

How do I install the duckdb-docs skill?

Run npx -y skills add duckdb/duckdb-skills --skill duckdb-docs -y in a project. Once installed, the agent can search the DuckDB and DuckLake docs for you, and it needs the DuckDB CLI on the machine.

What does the skill need before it can search the docs?

The skill needs the DuckDB CLI installed, and it loads the httpfs and fts extensions. The first search downloads the search index to a local cache, which needs network access.

More from duckdb/duckdb-skills

All 6

Similar to Duckdb Docs

More Databases