Auto-generates a Markdown codebook from a dataset (CSV, DTA, Excel, Parquet) with types and summary statistics.

Custom licenceAuto-check: notesDocuments & Office

Install Codebook

skills CLI
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill codebook -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install brycewang-stanford/Auto-Empirical-Research-Skills codebook --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/29-quarcs-lab-project20XXy/dot-claude/skills/codebook .claude/skills/codebook && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
codebook
GitHub stars
4.5k
Token cost
~527 tokens
SKILL.md length
238 words
Files
1
Skills in repo
364
Repo updated
First seen
Licence
Custom licence

At a glance

Auto-generates a Markdown codebook from a dataset (CSV, DTA, Excel, Parquet) with types and summary statistics.

  • Works in 6 steps: Determine the file format from the… → Load the dataset using uv run python and… → Generate a Markdown codebook with → …
  • Documenting variables
  • SKILL.md covers Arguments, Steps and Error handling
  • Calls uv

What it does

Codebook is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. Auto-generates a Markdown codebook from a dataset (CSV, DTA, Excel, Parquet) with types and summary statistics. Use when documenting variables.

Its SKILL.md is about 530 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Documents & Office, covering DataFrames, Excel spreadsheets and Data analysis. It works with Microsoft Excel and pandas. The repository describes itself as: 🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI…

When your agent uses it

  • Documenting variables
  • Tasks that involve DataFrames
  • Tasks that involve Excel spreadsheets

Example prompts

  • “/codebook”

Requirements

  • Pre-approved tools (allowed-tools): Bash, Read, Write, Glob, Grep

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Determine the file format from the extension
  2. Load the dataset using uv run python and extract metadata for each variable
  3. Generate a Markdown codebook with
  4. Derive the output filename from the dataset name
  5. Save to references/-codebook.md
  6. Report the file path and the number of variables documented.

What it can do on your machine

Read from SKILL.md and the folder at commit 9fa87d8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read
    • Write
    • Glob
    • Grep

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • uv

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Codebook loads about 527 tokens when it runs. Until then it costs about 38 tokens; SKILL.md has 238 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~38
When it runs · the whole SKILL.md, loaded when a task matches
~527

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read, Write, Glob, Grep

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 238 words (~527 tokens).

“Auto-generate a Markdown codebook documenting all variables in a dataset.”

— opening of SKILL.md by brycewang-stanford, Custom licence
name
codebook
allowed-tools
Bash, Read, Write, Glob, Grep
argument-hint
<path to dataset>

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/29-quarcs-lab-project20XXy/dot-claude/skills/codebook of brycewang-stanford/Auto-Empirical-Research-Skills.

Open the folder on GitHubat commit 9fa87d8

Compare with similar skills

Codebook next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Codebook compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Codebook this skillbrycewang-stanford/Auto-Empirical-Research-Skills4.5k—~527Automated safety check: NotesCustom licence
Excel ParserHarryoung/efka104—~2.3kAutomated safety check: PassApache-2.0
CSV and Excel MergerOneWave-AI/claude-skills323—~1.6kAutomated safety check: PassMIT
Sn Da Image CaptionMichaelYang-lyx/AIDABench1111 repos~2kAutomated safety check: PassNone
Sn Da Excel WorkflowMichaelYang-lyx/AIDABench1111 repos~2.5kAutomated safety check: PassNone
Tabular Cleanupgaasher/Agent-Loop-Skills174—~4kAutomated safety check: PassMIT

Similar skills

  • Excel Parser

    Harryoung/efka

    Smart Excel/CSV file parsing with intelligent routing based on file complexity analysis.

    104 GitHub stars~2.3k tokensUpdated 6 mo ago
    Documents & OfficeAuto-check passed
  • CSV and Excel Merger

    OneWave-AI/claude-skills

    Combines CSV, TSV and Excel files into one verified table with pandas, by stacking or joining, mapping columns, normalizing keys and removing duplicates.

    323 GitHub stars~1.6k tokensUpdated 5 days ago
    Documents & OfficeAuto-check passed
  • Sn Da Image Caption

    MichaelYang-lyx/AIDABench

    图片理解与数据提取 skill。当图片文件(.png/.jpg/.jpeg/.gif/.webp/.bmp)是主要输入且用户需要理解、提取数据或分析图片内容时使用。提供预配置的 caption 脚本(scripts/caption.py),通过 vision 模型将图片转为文本描述,无需额外配置 API Key。覆盖:(1) 通过 scripts/caption.py…

    111 GitHub starsUsed in 1 repo~2k tokens
    Documents & OfficeAuto-check passed
  • Sn Da Excel Workflow

    MichaelYang-lyx/AIDABench

    Excel 数据分析多步编排器。覆盖:(1) 读取多 Sheet Excel 文件并统计行数,(2) 大文件检测(≥10k 行自动 Parquet 优化),(3) 数据清洗(缺失值、文本标准化、无效字符),(4) 条件筛选与分类提取,(5) 跨 Sheet 统计聚合,(6) 导出 Excel/CSV 并提供下载链接。覆盖从数据读取到报告生成全流程,按步骤编排 capability 子…

    111 GitHub starsUsed in 1 repo~2.5k tokens
    Documents & OfficeAuto-check passed
  • Tabular Cleanup

    gaasher/Agent-Loop-Skills

    A skill your agent uses when the user has a messy tabular data dump (CSV/TSV/parquet/Excel/JSON) and wants it iteratively cleaned to an inferred data contract — a checklist of deterministic…

    174 GitHub stars~4k tokensUpdated 3 mo ago
    Documents & OfficeAuto-check passed
  • Pie Chart Data Analysis

    MichaelYang-lyx/AIDABench

    对多Sheet Excel或CSV数据进行分类汇总统计,自动识别关键字段并生成包含占比、数值及美化饼图的可下载分析报告。

    111 GitHub starsUsed in 1 repo~964 tokens
    Documents & OfficeAuto-check passed

More from brycewang-stanford/Auto-Empirical-Research-Skills

All 364 skills in this repo
  • Latex Paper En

    brycewang-stanford/Auto-Empirical-Research-Skills

    English LaTeX academic paper assistant for existing .tex projects.

    4.5k GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • Bayesian Workflow

    brycewang-stanford/Auto-Empirical-Research-Skills

    Opinionated Bayesian modeling workflow with PyMC and ArviZ. An agent skill from brycewang-stanford/Auto-Empirical-Research-Skills.

    4.5k GitHub stars~3.5k tokensUpdated 2 days ago
    Auto-check passed
  • Five Questions

    brycewang-stanford/Auto-Empirical-Research-Skills

    Deeply analyze any empirical economics PDF using the five-question framework (五问框架): research question, identification strategy, core estimand, robustness logic, and scholarly contribution.

    4.5k GitHub stars~1.7k tokensUpdated 2 days ago
    Auto-check: notes
  • Kaggle Research

    brycewang-stanford/Auto-Empirical-Research-Skills

    A skill your agent uses when a research task needs reproducible Kaggle discovery, metadata inspection, bounded public-data downloads, competition or kernel discovery, model discovery, or an…

    4.5k GitHub stars~868 tokensUpdated 2 days ago
    Auto-check passed
  • Latex Thesis Zh

    brycewang-stanford/Auto-Empirical-Research-Skills

    Chinese LaTeX thesis assistant for existing .tex degree thesis projects (XeLaTeX/LuaLaTeX/latexmk).

    4.5k GitHub stars~1.5k tokensUpdated 2 days ago
    Auto-check passed
  • Obsidian Project Memory

    brycewang-stanford/Auto-Empirical-Research-Skills

    This skill should be used when the user asks to maintain an Obsidian knowledge base for a research project, import an existing research repository into Obsidian, keep project memory or daily notes…

    4.5k GitHub stars~2.4k tokensUpdated 2 days ago
    Auto-check passed

Questions about Codebook

What does Codebook do?

Auto-generates a Markdown codebook from a dataset (CSV, DTA, Excel, Parquet) with types and summary statistics. Codebook is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. Auto-generates a Markdown codebook from a dataset (CSV, DTA, Excel, Parquet) with types and summary statistics.

When should I use Codebook?

Codebook fits situations like: documenting variables; tasks that involve DataFrames; tasks that involve Excel spreadsheets.

How do I install Codebook in Claude Code?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill codebook -a claude-code`. Or copy the skill folder (skills/29-quarcs-lab-project20XXy/dot-claude/skills/codebook in brycewang-stanford/Auto-Empirical-Research-Skills) into .claude/skills/codebook in your project. Claude Code loads it when a task matches its description.

How do I install Codebook in Codex?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill codebook -a codex`. Or copy the skill folder (skills/29-quarcs-lab-project20XXy/dot-claude/skills/codebook in brycewang-stanford/Auto-Empirical-Research-Skills) into .agents/skills/codebook in your project. Codex loads it when a task matches its description.

Can I use Codebook in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill codebook -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/codebook, .gemini/skills/codebook, .github/skills/codebook and .opencode/skills/codebook in your project.

What does Codebook need to run?

Going by SKILL.md and its folder, Codebook needs the command-line tools its instructions call (uv). Its frontmatter pre-approves these tools: Bash, Read, Write, Glob, Grep.

Does Codebook access the network?

SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Codebook safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Codebook use?

Codebook has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Codebook use?

About 527 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Codebook?

Skills that share tags, products or a category with Codebook: Excel Parser (Harryoung/efka, 104 stars), CSV and Excel Merger (OneWave-AI/claude-skills, 323 stars), Sn Da Image Caption (MichaelYang-lyx/AIDABench, 111 stars) and Sn Da Excel Workflow (MichaelYang-lyx/AIDABench, 111 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Codebook?

brycewang-stanford (a GitHub user) maintains it in brycewang-stanford/Auto-Empirical-Research-Skills, which has 4,529 GitHub stars. The repository holds 364 skills in this directory. The repository was last updated on October 5, 2026.

Source: brycewang-stanford/Auto-Empirical-Research-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.