setup-data-workspace

setup-data-workspace is a skill for Claude Code from danielrosehill/Claude-Data-Analyst-plugin. It costs 73 tokens per session (1,257 once invoked), scanned A, original, MIT.

A setup tool that finds data files in a code repository, loads them into DuckDB, and documents how future Claude sessions can query them. DuckDB is a database stored in one file that can read common formats without a separate server.

In plain words
What is it for?
Use it to discover CSV, TSV, Parquet, JSON, JSONL, or Excel files, create a queryable DuckDB database, and add repository instructions for working with the data.
Why use it?
It makes scattered local data easier to query conversationally without setting up a full business-intelligence system.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md.

Part of the data-analyst plugin — 14 skills shipped together

Good fit Use it to discover CSV, TSV, Parquet, JSON, JSONL, or Excel files, create a queryable DuckDB database, and add repository instructions for working with the data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/danielrosehill/claude-data-analyst-plugin/setup-data-workspace
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add danielrosehill/Claude-Data-Analyst-plugin --skill setup-data-workspace
Clone the repo
git clone --depth 1 https://github.com/danielrosehill/Claude-Data-Analyst-plugin

Made for: Claude Code.

Or install data-analyst, the plugin that ships this one along with the rest of its 14 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for setup-data-workspace

README.md
[![agentmods](https://agentmods.dev/badge/skills/danielrosehill/claude-data-analyst-plugin/setup-data-workspace/github.svg)](https://agentmods.dev/skills/danielrosehill/claude-data-analyst-plugin/setup-data-workspace)
Your own site
<a href="https://agentmods.dev/skills/danielrosehill/claude-data-analyst-plugin/setup-data-workspace"><img src="https://agentmods.dev/badge/skills/danielrosehill/claude-data-analyst-plugin/setup-data-workspace/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for setup-data-workspace

Your own site · 80×15
<a href="https://agentmods.dev/skills/danielrosehill/claude-data-analyst-plugin/setup-data-workspace"><img src="https://agentmods.dev/badge/skills/danielrosehill/claude-data-analyst-plugin/setup-data-workspace.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,257 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00073 $0.01257
Opus 5.5 $0.00029 $0.00503
Sonnet 5.5 $0.00015 $0.00251
Haiku 4.5 $0.00007 $0.00126

Measured 22d ago against content hash e8c789555435, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

setup-data-workspace scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 22d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/setup-data-workspace/SKILL.md · 107 lines

How it starts

The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Setup Data Workspace

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.

Inputs

  • Target repo (default: current working directory).
  • Optional: explicit data directory (default: scan the repo for data files).
  • Optional: database filename (default: data.duckdb at repo root).

Procedure

Step 1 — Discover data

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.

Step 2 — Confirm scope

Before loading, show the user the file list and confirm:

  • Which files to load (default: all discovered).
  • Table naming — default: sanitised filename stem (e.g. sales_2024.csv → sales_2024). Flag collisions.
  • Whether to load as views (re-read source on every query, always fresh) or tables (materialised, faster but frozen). Default: views for CSV/JSON, tables for Excel (xlsx reading is slow).

Step 3 — Create the database

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');
-- ...

Read the full file on GitHub · 107 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 22d ago Changed e8c789555435
  2. 2mo ago First seen · 107 lines · 73 tokens per session scan A 5d6b8fc38adb

Subscribe to this mod's changes

setup-data-workspace is a skill published in the GitHub repository danielrosehill/Claude-Data-Analyst-plugin (12 stars, last pushed 3d ago), licensed MIT. It adds 73 tokens to every session and 1,257 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

setup-data-workspace compared with skills from other repositories

setup-data-workspace next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
setup-data-workspacedanielrosehill/Claude-Data-Analyst-pluginSkill123d agoMITA73Claude Code
alibabacloud-data-agent-mcp-skillaliyun/data-agent-skillSkill575d agononeB141Claude Code, Codex
wren-usageCanner/wren-engineSkill6616mo agoApache-2.0A126Claude Code
wren-onboardingCanner/wren-engineSkill6616mo agoApache-2.0B98Claude Code
rag-pineconedavila7/claude-code-templatesSkill33ktodayMITA65Claude Code, Codex
data-engineerdavila7/claude-code-templatesSkill33ktodayMITA35Claude Code, Codex
similarity-search-patternsforyourhealth111-pixel/Vibe-SkillsSkill3.8ktodayApache-2.0A30Claude Code, Codex