data-dictionary

Installation
SKILL.md

Data Dictionary Generator

v1.0 — Auto-generate comprehensive codebooks from .dta files

Read Stata .dta files and produce a structured markdown data dictionary with variable names, types, labels, value labels, summary statistics, and missingness. Outputs a ready-to-use codebook document.

Argument: $ARGUMENTS

  • Path to a .dta file or directory containing .dta files

Modes (append to argument):

  • summary (default) — One-page overview: variable list with types, labels, missingness
  • full — Comprehensive codebook: summary + value labels + summary stats + distributions for key variables
  • analysis — Analysis-ready: full + notes on which variables are outcomes vs controls, indices vs components

Flags:

  • vars:consumption,assets — Only document variables matching these patterns
  • output:path/to/output.md — Custom output path (default: same directory as input, named codebook_[filename].md)
  • format:md (default) | format:csv — Output format
Related skills

More from thinkingwithagents/skills

Installs
7
GitHub Stars
4
First Seen
Apr 27, 2026