DuckDB CLI specialist for SQL analysis, data processing, and file conversion between CSV, Parquet, and JSON formats.
Ships in sundial-org-awesome-openclaw-skills-4. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Helps with data analysis, SQL queries and file conversion via DuckDB CLI.
# CSV
duckdb -c "SELECT * FROM 'data.csv' LIMIT 10"
# Parquet
duckdb -c "SELECT * FROM 'data.parquet'"
# Multiple files with glob
duckdb -c "SELECT * FROM read_parquet('logs/*.parquet')"
# JSON
duckdb -c "SELECT * FROM read_json_auto('data.json')"
# Create/open database
duckdb my_database.duckdb
# Read-only mode
duckdb -readonly existing.duckdb
| Flag | Format |
|---|---|
-csv | Comma-separated |
-json | JSON array |
-table | ASCII table |
-markdown | Markdown table |
-html | HTML table |
-line | One value per line |
| Argument | Description |
|---|---|
-c COMMAND | Run SQL and exit |
-f FILENAME | Run script from file |
-init FILE | Use alternative to ~/.duckdbrc |
-readonly | Open in read-only mode |
-echo | Show commands before execution |
-bail | Stop on first error |
-header / -noheader | Show/hide column headers |
-nullvalue TEXT | Text for NULL values |
-separator SEP | Column separator |
duckdb -c "COPY (SELECT * FROM 'input.csv') TO 'output.parquet' (FORMAT PARQUET)"
duckdb -c "COPY (SELECT * FROM 'input.parquet') TO 'output.csv' (HEADER, DELIMITER ',')"
duckdb -c "COPY (SELECT * FROM read_json_auto('input.json')) TO 'output.parquet' (FORMAT PARQUET)"
duckdb -c "COPY (SELECT * FROM 'data.csv' WHERE amount > 1000) TO 'filtered.parquet' (FORMAT PARQUET)"
| Command | Description |
|---|---|
.tables [pattern] | Show tables (with LIKE pattern) |
.schema [table] | Show CREATE statements |
.databases | Show attached databases |
| Command | Description |
|---|---|
.mode FORMAT | Change output format |
.output file | Send output to file |
.once file | Next output to file |
.headers on/off | Show/hide column headers |
.separator COL ROW | Set separators |
| Command | Description |
|---|---|
.timer on/off | Show execution time |
.echo on/off | Show commands before execution |
.bail on/off | Stop on error |
.read file.sql | Run SQL from file |
| Command | Description |
|---|---|
.edit or \e | Open query in external editor |
.help [pattern] | Show help |
| Shortcut | Action |
|---|---|
Home / End | Start/end of line |
Ctrl+Left/Right | Jump word |
Ctrl+A / Ctrl+E | Start/end of buffer |
| Shortcut | Action |
|---|---|
Ctrl+P / Ctrl+N | Previous/next command |
Ctrl+R | Search history |
Alt+< / Alt+> | First/last in history |
| Shortcut | Action |
|---|---|
Ctrl+W | Delete word backward |
Alt+D | Delete word forward |
Alt+U / Alt+L | Uppercase/lowercase word |
Ctrl+K | Delete to end of line |
| Shortcut | Action |
|---|---|
Tab | Autocomplete / next suggestion |
Shift+Tab | Previous suggestion |
Esc+Esc | Undo autocomplete |
Context-aware autocomplete activated with Tab:
CREATE TABLE sales AS SELECT * FROM 'sales_2024.csv';
INSERT INTO sales SELECT * FROM 'sales_2025.csv';
COPY sales TO 'backup.parquet' (FORMAT PARQUET);
SELECT
COUNT(*) as count,
AVG(amount) as average,
SUM(amount) as total
FROM 'transactions.csv';
SELECT
category,
COUNT(*) as count,
SUM(amount) as total
FROM 'data.csv'
GROUP BY category
ORDER BY total DESC;
SELECT a.*, b.name
FROM 'orders.csv' a
JOIN 'customers.parquet' b ON a.customer_id = b.id;
DESCRIBE SELECT * FROM 'data.csv';
# Read from stdin
cat data.csv | duckdb -c "SELECT * FROM read_csv('/dev/stdin')"
# Pipe to another command
duckdb -csv -c "SELECT * FROM 'data.parquet'" | head -20
# Write to stdout
duckdb -c "COPY (SELECT * FROM 'data.csv') TO '/dev/stdout' (FORMAT CSV)"
Save common settings in ~/.duckdbrc:
.timer on
.mode duckbox
.maxrows 50
.highlight on
.keyword green
.constant yellow
.comment brightblack
.error red
Open complex queries in your editor:
.edit
Editor is chosen from: DUCKDB_EDITOR → EDITOR → VISUAL → vi
Secure mode that restricts file access. When enabled:
.read, .output, .import, .sh etc.LIMIT on large files for quick previewread_csv_auto and read_json_auto guess column typesmemory_limit values on some Ubuntu versionsWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/sundial-org-awesome-openclaw-skills-4:duckdb-enfrom sundial-org-awesome-openclaw-skills-4
sundial-org-awesome-openclaw-skills-4@cascade-ai-ml-agents-misc-2 is listed by joshuarweaver/cascade-ai-ml-agents-misc-2 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-ai-ml-agents-misc-2 --plugin sundial-org-awesome-openclaw-skills-4908 skills in this plugin
/1passwordSet up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op./a11y-checkerScan HTML and JSX for accessibility issues with AI-powered fix suggestions/abm-outboundMulti-channel ABM automation that turns LinkedIn URLs into coordinated outbound campaigns. Scrapes profiles, enriches with Apollo (email + phone), gets mailing addresses via Skip Trace, then orchestrates email sequences, LinkedIn touches, and handwritten letters via Scribeless. The secret weapon for standing out in crowded inboxes.Other plugins' skills for the same job