# DuckDB Attach DB

> Session-state is Claude-skill local, not DuckDB server attach

**Subcategory:** DuckDB  
**License:** MIT  
**Source:** https://github.com/duckdb/duckdb-skills/blob/main/skills/attach-db/SKILL.md

---

## When it is useful

Attach a DuckDB database file and write a SQL state file so later queries restore the session. Session-state convention is Claude-skill local, not DuckDB server ATTACH.

## The Catch

Session-state convention is Claude-skill local, not DuckDB server attach. Distinct from read-file. Local OSS 0 USD, no cloud, no key. Distinct from Neon/PlanetScale.
