/data-utils:setup-data-workspacefrom data-utils
Set up a "talk to your data" workspace in the current repo — discover local data files, load them into a DuckDB database, and append a CLAUDE.md block telling future Claude sessions how to query it. Use when the user wants to make a repo's data conversationally queryable without wiring up a full BI stack.
Ships in data-utils. 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.
None: SKILL.md is the whole skill.
Turn a folder of loose data files into a single queryable DuckDB database, and teach future Claude sessions (via CLAUDE.md) how to use it.
DuckDB is the right default here: zero-server, single-file .duckdb database, reads CSV/Parquet/JSON/Excel natively, and every skill in this plugin already assumes duckdb is on PATH.
data.duckdb at repo root).Scan the repo for data files, ignoring .git, node_modules, .venv, __pycache__, dist, build:
find . -type f \( -iname '*.csv' -o -iname '*.tsv' -o -iname '*.parquet' \
-o -iname '*.json' -o -iname '*.jsonl' -o -iname '*.ndjson' \
-o -iname '*.xlsx' -o -iname '*.xls' \) \
-not -path '*/\.*' -not -path '*/node_modules/*' -not -path '*/\.venv/*'
Report what was found: file count, total size, formats, any obvious groupings (e.g. all CSVs in data/raw/). If nothing is found, ask the user where the data lives.
Before loading, show the user the file list and confirm:
sales_2024.csv → sales_2024). Flag collisions.Generate a loader SQL script at scripts/load_data.sql (create scripts/ if needed). Example shape:
-- Auto-generated by setup-data-workspace
-- Re-run with: duckdb data.duckdb < scripts/load_data.sql
INSTALL excel; LOAD excel; -- only if xlsx present
CREATE OR REPLACE VIEW sales_2024 AS SELECT * FROM read_csv_auto('data/raw/sales_2024.csv');
CREATE OR REPLACE VIEW customers AS SELECT * FROM read_csv_auto('data/raw/customers.csv');
CREATE OR REPLACE TABLE budget AS SELECT * FROM read_xlsx('data/raw/budget.xlsx');
-- ...
Run it: duckdb data.duckdb < scripts/load_data.sql
Then verify: duckdb data.duckdb -c "SHOW TABLES;" and a SELECT COUNT(*) on each.
If data.duckdb might be regenerated from source (i.e. all loads are views or the raw files are committed), add data.duckdb to .gitignore. If the database is the primary artifact (raw files not in repo), leave it tracked but warn the user about size.
Append (or create) a ## Data section in the repo's CLAUDE.md. Keep it terse — this is operational context, not a tutorial:
## Data
This repo has a DuckDB database at `data.duckdb` with the following tables/views:
| Name | Source | Rows | Description |
|---|---|---|---|
| sales_2024 | data/raw/sales_2024.csv | 12,450 | <one-line description> |
| customers | data/raw/customers.csv | 3,201 | <one-line description> |
| budget | data/raw/budget.xlsx | 48 | <one-line description> |
To query:
duckdb data.duckdb -c "SELECT ... FROM sales_2024 ..."
To rebuild from source after data files change:
duckdb data.duckdb < scripts/load_data.sql
For analysis tasks, prefer the `data-utils` plugin skills (`/data-utils:trend-analysis`, `:correlation-analysis`, etc.) — they assume `duckdb` on PATH and will operate on `data.duckdb` by default.
Fill in row counts from Step 3. For descriptions, ask the user or infer from column names — mark inferred ones with (inferred).
Summarise:
/data-utils:data-dictionary-creator to document columns").data.duckdb, don't overwrite — offer to add new tables to it, or pick a different filename.read_csv_auto usually handles it; fall back to explicit read_csv(..., encoding='latin-1') if it errors.SELECT *.CLAUDE.md, create one with just the ## Data section — don't invent project-wide instructions.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
47 skills in this plugin
/add-changelogAdd or update a CHANGELOG.md in a data repository, recording dataset versions, schema changes, row-count deltas, enrichments applied, and re-publications. Follows Keep-a-Changelog conventions adapted for datasets. Use when the user wants versioned documentation of how a dataset has evolved over time./add-data-dictionaryCreate a data dictionary for a dataset (CSV, JSON, JSONL, Parquet, Excel) that documents every column/field — name, type, description, units, example values, nulls allowed, source. Use when a dataset has no accompanying documentation and the user wants one generated./add-iso3166Add ISO 3166 country codes (alpha-2, alpha-3, numeric) to a dataset that references countries by name but lacks standardised codes. Use when the user has a CSV/JSON/Parquet/Excel dataset with country names and wants ISO 3166 codes added as new columns/fields./analyst-data-enrichmentGoal-driven enrichment (analysis-first): identify what the user is trying to analyse, diagnose gaps in the current dataset, propose external data sources that could fill them, then plan and implement the enrichment. Use when the dataset alone can't answer the user's question and extra context (reference data, lookups, joinable public datasets) is needed./anomaly-analysisScan a dataset for significant anomalies — outliers, distribution shifts, impossible values, and unusual groupings. Use when the user wants a first-pass integrity and anomaly sweep of a CSV/Parquet/Excel file before deeper analysis./api-loaderPrepare or refactor a dataset for upload into a REST API or MCP server — mapping dataset columns to API request fields, handling batching, pagination, rate limits, authentication, idempotency, and error retries. Works from an OpenAPI spec the user provides, a user-pointed MCP tool schema, or documentation for a well-known API (Salesforce, HubSpot, Airtable, Notion, Stripe, Shopify, Pipedrive, etc.). Generates a loader script plus a dry-run preview before executing.data-utils@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin data-utils