NEW Browse AI tools across categories — updated daily. See what's new →
Official ★ Featured Data & AnalysisBackend & Database

DuckDB / attach-db

Attach a DuckDB database file for interactive querying with automatic schema exploration

This skill ships only metadata — no inline instructions. See the source repo for details.

Install this skill

1

One command (all agents)

Runs the npx skills CLI which auto-detects every AI coding agent you have installed (Claude Code, Cursor, Codex, OpenCode, Windsurf, Copilot, and 51 more).

npx skills add https://github.com/duckdb/duckdb-skills/tree/main/skills/attach-db
Alternative: shorthand form
npx skills add duckdb/duckdb-skills --skill attach-db
2

Install to a specific agent

Pick the agent you use. The CLI writes the skill to that agent's standard skill directory.

npx skills add duckdb/duckdb-skills --skill attach-db --agent claude-code
npx skills add duckdb/duckdb-skills --skill attach-db --agent cursor
npx skills add duckdb/duckdb-skills --skill attach-db --agent codex
npx skills add duckdb/duckdb-skills --skill attach-db --agent opencode
npx skills add duckdb/duckdb-skills --skill attach-db --agent github-copilot
npx skills add duckdb/duckdb-skills --skill attach-db --agent windsurf
3

Manual install (no CLI)

Prefer to skip the CLI? Clone the repo and drop the skill folder into your agent's skills directory.

git clone https://github.com/duckdb/duckdb-skills.git
cp -r duckdb-skills/skills/attach-db ~/.claude/skills/

For other agents, replace ~/.claude/skills/ with their skill directory — see the full list.

4

Use it

Once installed, ask your agent to "use the attach-db skill" or describe what you want (e.g. "Attach a DuckDB database file for interactive querying with automatic schema exp"). Most agents auto-discover the skill from its SKILL.md description — no slash command needed.

Requires: Node.js 18+ for npx skills. Skill files are MIT-style permissive by default — check the source repo for the actual license.

SKILL.md source

---
name: attach-db
description: Attach a DuckDB database file for interactive querying with automatic schema exploration
---

Related skills 6