install-duckdb
Skill2 starsChanged 3 months agoMITView on GitHub
Install or update DuckDB extensions. Each argument is either a plain extension name (installs from core) or name@repo (e.g. magic@community). Pass --update to update extensions instead of installing.
- Pipes a download into a shell
- Installs packages
3 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- justmytwospence/strava-mcpword for word, first seen Nov 8, 2026
- duckdb/duckdb-skillsword for word, first seen Mar 19, 2026
- carlopi/duckdb-claude-skillsedited, first seen Mar 9, 2026
Other versions3 projects use a version of this.
Word for word · 2
- duckdb/duckdb-skills★ 598100% same
- justmytwospence/strava-mcp★ 0100% same
Edited · 1
- carlopi/duckdb-claude-skills★ 298% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository12 other files it gives its agents.
- attach-dbSkill
- convert-fileSkill
- data-analysisSkill
- database-connectSkill
- deer-data-analysisSkill
- pandas-3xSkill
- pdfSkill
- querySkill
- read-fileSkill
- statistical-modelingSkill
- visualizationSkill
- xlsx-toolsSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 4 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
If not found, tell the user:
- Distinctive: line 32
Stop if DuckDB is not found.
- Very specific: line 36
If --update is present in $@, remove it from the argument list and set mode to update.
- Very specific: line 44
If it contains @, split on @ → INSTALL <name> FROM <repo>.
- Distinctive: line 47
Run all in a single DuckDB call:
- Very specific: line 62
If CURRENT == LATEST → report DuckDB CLI is up to date.
- Very specific: line 63
If CURRENT != LATEST → ask the user:
- Distinctive: line 66
If the user agrees, detect the platform and run the appropriate upgrade command:
- Very specific: line 73
No extension names → update all: UPDATE EXTENSIONS.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Arguments: $@
Each extension argument has the form name or name@repo.
name→INSTALL name;name@repo→INSTALL name FROM repo;
Step 1 — Locate DuckDB
DUCKDB=$(command -v duckdb)If not found, tell the user:
DuckDB is not installed. Install it first with one of:
- macOS:
brew install duckdb- Linux:
curl -fsSL https://install.duckdb.org | sh- Windows:
winget install DuckDB.cliThen re-run
/duckdb-skills:install-duckdb.
Stop if DuckDB is not found.
Step 2 — Check for --update flag
If --update is present in $@, remove it from the argument list and set mode to update.
Otherwise mode is install.
Step 3 — Build and run statements
Install mode:
Parse each remaining argument:
- If it contains
@, split on@→INSTALL <name> FROM <repo>; - Otherwise →
INSTALL <name>;
Run all in a single DuckDB call:
"$DUCKDB" :memory: -c "INSTALL <ext1>; INSTALL <ext2> FROM <repo2>; ..."Update mode:
First, check if the DuckDB CLI itself is up to date:
CURRENT=$(duckdb --version | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
LATEST=$(curl -fsSL https://duckdb.org/data/latest_stable_version.txt)- If
CURRENT==LATEST→ report DuckDB CLI is up to date. If
CURRENT!=LATEST→ ask the user:DuckDB CLI is outdated (installed:
CURRENT, latest:LATEST). Upgrade now?If the user agrees, detect the platform and run the appropriate upgrade command:
- macOS (
brewavailable):brew upgrade duckdb - Linux:
curl -fsSL https://install.duckdb.org | sh - Windows:
winget upgrade DuckDB.cli
- macOS (
Then update extensions:
- No extension names → update all:
UPDATE EXTENSIONS; - With extension names → update in a single call (ignore
@repo):UPDATE EXTENSIONS (<name1>, <name2>, ...);
"$DUCKDB" :memory: -c "UPDATE EXTENSIONS;"
# or
"$DUCKDB" :memory: -c "UPDATE EXTENSIONS (<ext1>, <ext2>, ...);"Report success or failure after the call completes.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

