Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
duckdb avatar

Attach Db

  • 617 installs
  • 527 repo stars
  • Updated April 23, 2026
  • duckdb/duckdb-skills

Attaches a DuckDB database file, explores its schema (tables, columns, row counts) and writes a SQL state file so later queries auto-restore the session.

About

attach-db attaches a DuckDB database file, explores its schema - tables, columns and row counts - and writes a SQL state file so subsequent queries can restore the session automatically. A solo builder reaches for it to quickly wire up a local DuckDB database and understand its structure before running analytical queries.

  • Attach a DuckDB file for querying
  • Explores tables, columns, row counts
  • Writes SQL state for session restore
  • Pairs with the query skill

Attach Db by the numbers

  • 617 all-time installs (skills.sh)
  • Ranked #115 of 911 Databases skills by installs in the Skillselion catalog
  • Data as of Aug 3, 2026 (Skillselion catalog sync)
npx skills add https://github.com/duckdb/duckdb-skills --skill attach-db

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs617
repo stars527
Last updatedApril 23, 2026
Repositoryduckdb/duckdb-skills

What it does

Attaches a DuckDB database file, explores its schema (tables, columns, row counts) and writes a SQL state file so later queries auto-restore the session.

Who is it for?

analysts wiring up a DuckDB file

Skip if: non-DuckDB databases

Related skills

Databasesdatabasesanalytics

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.