All skills

Codebook Generator

/generate-codebookNEW
Data & Study Design

What it does

Generate a citable data dictionary / codebook from a tabular dataset (CSV, Excel, Parquet, Stata, SAS). Profiles every variable — role, type, level frequencies, range, missingness — and flags coded variables with unknown meanings as [NEEDS DICTIONARY] rather than guessing.

Highlights

  • Per-variable profiling → codebook.md + .json
  • Flags unknown codes, never guesses
  • Feeds /define-variables (dictionary-first)

Install this skill

git clone https://github.com/aperivue/medsci-skills.git
cp -r medsci-skills/skills/generate-codebook ~/.claude/skills/
Full documentationView source on GitHub

Related skills