sql
Skill14 starsChanged yesterdayMITView on GitHub
Query/export CSV, Parquet, JSON, SQLite, PostgreSQL via DuckDB, sqlite3, psql; SQL/dbt quality.
18 other projects use a version of this.
Adopted by
Most recently taken up by
- fmind/dotword for word, first seen Nov 29, 2026
- rodri-oliveira-dev/agentic-engineering-skillstheir own version, first seen Nov 29, 2026
- base58ed/claude_code_filestheir own version, first seen Oct 20, 2026
- G1Joshi/Agent-Skillstheir own version, first seen Oct 13, 2026
- nimadorostkar/Claude-Skills-collectiontheir own version, first seen Oct 13, 2026
- zeeshanalimughal/claude-skillstheir own version, first seen Oct 13, 2026
Used with
Projects with it also use react, terraform and 1 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
VercelSkillreact
React renderer for json-render that turns JSON specs into React components. Use when working with @json-render/react, building React UIs from JSON, creating component catalogs, or rendering AI-generated specs.
Also in 6 projects that use this
ihiteshguptaSkillterraform
Expert in Infrastructure as Code with Terraform. Use for creating, managing, and versioning infrastructure across cloud providers.
Also in 3 projects that use this
OpenAISkillobservability
Vercel Observability expert guidance — Drains (logs, traces, speed insights, web analytics), Web Analytics, Speed Insights, runtime logs, custom events, OpenTelemetry integration, and monitoring dashboards. Use when instrumenting, debugging, or optimizing application performance and user experience on Vercel.
Also in 3 projects that use this
Other versions18 projects use a version of this.
Word for word · 1
- fmind/dot★ 14100% same
Edited · 0
None found.
Wrote their own version · 17
- Zafer-Liu/Data-Analysis-Agent★ 2.6ksame name
- SparkDevNetwork/Rock★ 702same name
- sendou-ink/sendou.ink★ 305same name
- maragudk/skills★ 49same name
- nimadorostkar/Claude-Skills-collection★ 41same name
- G1Joshi/Agent-Skills★ 15same name
- redpanda-data/skills★ 9same name
- rodri-oliveira-dev/agentic-engineering-skills★ 9same name
- thechandanbhagat/claude-skills★ 8same name
- Spardutti/claude-skills★ 3same name
7 more not listed
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 repository41 other files it gives its agents.
- AGENTS.mdAGENTS.md
- dot_agents/AGENTS.mdAGENTS.md
- chezmoiSkill
- dot-developmentSkill
- dot-releaseSkill
- dot-skillsSkill
- agent-frameworksSkill
- agent-harnessesSkill
- bfSkill
- calibrateSkill
- clipboardSkill
- cloud-opsSkill
- code-securitySkill
- containersSkill
- decisionSkill
- diagrams-as-codeSkill
- docsSkill
- dot-cliSkill
- draftSkill
- extractSkill
- finopsSkill
- fmindSkill
- full-reviewSkill
- gcloudSkill
- git-deliverySkill
- githubSkill
- gwsSkill
- humanizeSkill
- infra-as-codeSkill
- miseSkill
- mlopsSkill
- openspecSkill
- proposalSkill
- pythonSkill
- shellSkill
- skillifySkill
- <name>Skill
- sreSkill
- subagentSkill
- web-frontendSkill
- writeSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Use DuckDB for local analytics across CSV, Parquet, JSON, and attached SQLite files.
- Very specific: line 31
Reconcile grain, nulls, bounds, & money: check key uniqueness and pre/post-join counts (1:N fan-out), use NOT EXISTS over NOT IN …
“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SQL, DuckDB, SQLite & PostgreSQL
Use DuckDB for local analytics across CSV, Parquet, JSON, and attached SQLite files; keep SQLite for embedded application state; use postgres for live PostgreSQL/pgvector inspection via psql.
Commands
duckdb -no-init -light-mode -batch -bail -json -c "SELECT count(*) AS n FROM 'events/*.json'"
duckdb -no-init -light-mode -batch -bail -no-agent -c "ATTACH 'app.sqlite' AS s (TYPE sqlite, READ_ONLY); SELECT count(*) FROM s.users"
sqlite3 -noinit -batch -bail -readonly -ifexists app.sqlite '.schema'
sqlite3 -noinit -batch -bail -noheader -list -readonly -ifexists app.sqlite 'PRAGMA integrity_check'Keep these flags on every call: -light-mode skips DuckDB 2.0's 5s interactive/PTY OSC 11 probe; -ifexists prevents SQLite typos from creating empty DBs (PRAGMA integrity_check prints ok); -safe guards untrusted .sql files (in DuckDB it disables all filesystem access, so use it only on already-opened .duckdb files, not CSV/Parquet scans). DuckDB 2.0 agent mode auto-enables on non-TTY agent runs and truncates with a footer at 1,000 rows / 10 KB / 500 chars; default duckbox output also truncates rows and wide SUMMARIZE columns even with -no-agent, so pass -json or -csv for full results (plus -no-agent when DUCKDB_AGENT_MODE=1 is set to suppress the stderr notice).
Workflow
- Inspect, bound, isolate:
DESCRIBE/SUMMARIZE(pin CSV types),SET max_execution_time=<ms>, markLIMITpreviews partial, export Parquet (commit.sql, not.duckdb; open-readonly). - Reconcile grain, nulls, bounds, & money: check key uniqueness and pre/post-join counts (
1:Nfan-out), useNOT EXISTSoverNOT IN (nullable),IS NOT DISTINCT FROM,NaNvsNULL, UTC[start, end)(neverBETWEENon timestamps),DECIMAL/minor ints for money, andNULLIF(denom, 0). Verify data contracts and dbt quality gates via quality-and-dbt.
Gotchas
- Live-written SQLite & CSV import: query a
.backupsnapshot (plaincpmisses WAL commits) orsqlite3 -readonly; firstATTACH ... (TYPE sqlite)needs network forsqlite. SQLite.import --csvturns empty fields (,,) into''(TEXT) rather thanNULL(where'' > 10is true), so normalize withNULLIF(col, '')or query CSVs in DuckDB. - DuckDB 2.0 changes: defaults to
v2.0.0+(-storage-version v1.5.6/STORAGE_VERSION 'v1.5.6'for 1.x readers); uselambda x: x + 1,///%by zero errors,~is partial regex (migration). - Quote globs & cap spill: quote
'events/*.parquet'; cap shared hosts viaSET memory_limit='256MB',SET threads=1,SET temp_directory='...', andSET max_temp_directory_size='...'.
Task guides
<!-- guides:start -->- postgres: Inspect PostgreSQL and pgvector safely via psql and Cloud SQL Auth Proxy: read-only timeouts, EXPLAIN plans, locks.
- quality-and-dbt: Lint and format SQL with sqruff or sqlfluff and enforce dbt v2/Core contracts and slim CI tests.
- remote-storage: Remote object storage (S3, GCS, HTTP, Hugging Face) and extensions: install, load, and credential providers.
<!-- guides:end -->Official Skills
Upstream: duckdb/duckdb-skills (querying, formats, attached DBs, spatial, S3, docs) per vendor-skill policy.
Documentation
- DuckDB CLI · agent mode · SQLite CLI · Releases: DuckDB · SQLite
- Companions: gcloud/bigquery, mlops/analytics, mlops/polars, python/script, python/foundation.
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.

