dataset-recipes

dataset-recipes is a skill for Claude Code from boettiger-lab/data-workflows. It costs 82 tokens per session (1,728 once invoked), scanned A, original, BSD-3-Clause.

A collection of complete examples for importing geographic and other large datasets. The recipes cover formats such as File Geodatabases, zipped Census files, Cloud-Optimized GeoTIFFs, and remote archives.

In plain words
What is it for?
Use it to choose an ingestion pattern, inspect remote archive contents, preprocess multi-file sources, and build repeatable dataset workflows.
Why use it?
It provides proven starting points for new data pipelines instead of requiring every import to be designed from scratch. One example shows how to inspect a small table inside a huge remote ZIP without downloading the whole archive.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: positional $N argument.

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.

agentmods
npx agentmods add skills/boettiger-lab/data-workflows/dataset-recipes
Any agent
npx skills add boettiger-lab/data-workflows --skill dataset-recipes
Clone the repo
git clone --depth 1 https://github.com/boettiger-lab/data-workflows

Made for: Claude Code.

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 dataset-recipes

README.md
[![agentmods](https://agentmods.dev/badge/skills/boettiger-lab/data-workflows/dataset-recipes.svg)](https://agentmods.dev/skills/boettiger-lab/data-workflows/dataset-recipes)
Your own site
<a href="https://agentmods.dev/skills/boettiger-lab/data-workflows/dataset-recipes"><img src="https://agentmods.dev/badge/skills/boettiger-lab/data-workflows/dataset-recipes.svg" alt="Measured on agentmods" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,728 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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.00082 $0.01728
Opus 5 $0.00041 $0.00864
Sonnet 5 $0.00016 $0.00346
Haiku 4.5 $0.00008 $0.00173

Measured 5d ago against content hash 92da5f823852, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

dataset-recipes scanned grade A with 1 finding 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 5d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

for id in 01 02 03; do curl -sS -O "https://example.com/data_${id}.zip" & done
.claude/skills/dataset-recipes/SKILL.md · 110 lines

How it starts

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

Dataset Recipes

Copy the closest-shaped recipe rather than deriving a pipeline from scratch.

💡 Read one small table out of a HUGE remote zip — range reads, no localize (#518)

To inspect a schema, a lookup/domain table, or one layer's coverage inside a multi-GB zipped GDB, do not localize the archive (a PVC + 30 GB download for a 126-row table). GDAL's /vsizip//vsicurl/ reads the zip central directory plus only the bytes it needs over HTTP range requests — a small cluster job, seconds to a couple of minutes:

# authoritative coded domain out of the archived 30 GB national GDB (internal endpoint)
SRC="/vsizip//vsicurl/http://rook-ceph-rgw-nautiluss3.rook/public-usgs-nhd/raw/NHD_H_National_GDB.zip/NHD_H_National_GDB.gdb"
ogr2ogr -f CSV /vsistdout/ "$SRC" NHDFCode          # 126 rows, ~25 s, no PVC
ogrinfo -ro -q "$SRC" -dialect SQLITE \
  -sql "SELECT COUNT(*), SUM(StreamOrde > 0) FROM NHDPlusFlowlineVAA"
  • Works on a public source URL too (/vsizip//vsicurl/https://prd-tnm.s3.amazonaws.com/...) — ideal for pre-flighting a candidate import before committing to a build.
  • Use -dialect SQLITE: OGR SQL has no CASE, and keep the SQL on one line (a folded YAML block mangles multi-line SQL). SUM(cond) works in the SQLITE dialect.
  • Full-table COUNT(*) over range reads is slow (minutes) because it decodes every feature; schema reads and small tables are fast. Aggregate on the small table, not the geometry layer.
  • Working manifests: catalog/usgs-nhd/k8s/extract-fcode-domain.yaml, catalog/usgs-nhd/k8s/preflight-nhdplus-hr-vaa.yaml.
  • ⛔ Never hand-write a coded domain from memory (#294) — this is how you get the real one.

Step 1c: Preprocessing multi-file zipped datasets

cng-convert-to-parquet rejects multiple .zip URLs. For per-state/per-region zips, preprocess: download in parallel, unzip, pass shapefiles (the tool merges them automatically):

for id in 01 02 03; do curl -sS -O "https://example.com/data_${id}.zip" & done
wait && unzip -q -o "*.zip"
cng-convert-to-parquet /tmp/data/*.shp s3://bucket/output.parquet

See catalog/census/k8s/tract/preprocess-tract.yaml for a complete k8s job.

Read the full file on GitHub · 110 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. 5d ago First seen · 110 lines · 82 tokens per session scan A 92da5f823852

Subscribe to this mod's changes

dataset-recipes is a skill published in the GitHub repository boettiger-lab/data-workflows (5 stars, last pushed yesterday), licensed BSD-3-Clause. It adds 82 tokens to every session and 1,728 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

arboreto

Infer gene regulatory networks (GRNs) from gene expression data using scalable algorithms (GRNBoost2, GENIE3). Use when analyzing transcriptomics data (bulk RNA-seq, single-cell RNA-seq) to identify transcription factor-target gene relationships and regulatory interactions. Supports distributed computation for…

K-Dense-AI/scientific-agent-skills · 66 tokens

pyhealth

Build clinical/healthcare deep-learning pipelines with PyHealth — loading EHR/signal/imaging datasets (MIMIC-III/IV, eICU, OMOP, SleepEDF, ChestXray14, EHRShot), defining tasks (mortality, readmission, length-of-stay, drug recommendation, sleep staging, ICD coding, EEG events), instantiating models (Transformer…

K-Dense-AI/scientific-agent-skills · 216 tokens

torchdrug

Build and troubleshoot TorchDrug 0.2.1 workflows for molecular graphs, property prediction, self-supervised pretraining, molecule generation, retrosynthesis, protein representation learning, and knowledge graph reasoning. Use when code imports torchdrug or needs its datasets, models, tasks, or Engine.

K-Dense-AI/scientific-agent-skills · 61 tokens

deepspot-m

Generate transcriptome-wide virtual spatial transcriptomics from H&E histology with DeepSpot-M. Use when you need spatial gene expression in log1p-CPM for 224x224 tiles at about 20x, want to query protein-coding genes by symbol instead of a fixed panel, or want to run prediction across a whole slide after tiling with…

K-Dense-AI/scientific-agent-skills · 80 tokens

pick-a-pii-model

Select an on-device OpenMed PII model from the committed registry by language, runtime format, and size budget, then require recall validation before deployment. Use when an agent must choose a local PII detector for CPU, Apple Silicon, or a mobile export without relying on live model discovery.

maziyarpanahi/openmed · 64 tokens

esm

Comprehensive toolkit for protein language models including ESM3 (generative multimodal protein design across sequence, structure, and function) and ESM C (efficient protein embeddings and representations). Use this skill when working with protein sequences, structures, or function prediction; designing novel…

synthetic-sciences/openscience · 86 tokens