Setup & Installation
What This Skill Does
Attaches a DuckDB database file to your current project session. It explores the schema, collects table names, column definitions, and row counts, then writes a shared state file so future queries restore the connection automatically via `duckdb -init`. Instead of manually writing ATTACH statements and checking schemas every session, this skill writes and maintains the state file once so every subsequent query just works.
When to use it
- Working with attach db functionality
- Implementing attach db features
- Debugging attach db related issues
