
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-dbAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 617 |
|---|---|
| repo stars | ★ 527 |
| Last updated | April 23, 2026 |
| Repository | duckdb/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