# data-profiler

data-profiler enforces a structured R exploratory protocol for empirical datasets. It verifies observation units, missing patterns, and panel structure before any regression runs.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 165 repo stars
- Author: aspi6246
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/aspi6246/Claude-Code-Skills-for-Academics/tree/HEAD/data-profiler/SKILL.md
- Updated: 2026-08-21
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/data-profiler

## What it does

This skill guides Claude Code through a fixed four-step data inspection checklist. The assistant begins by inventorying file properties, variable types, and potential record keys. Next, it tests observation unit hypotheses to uncover key duplicates and clarifies whether panel records are balanced over time.

Detailed profiling covers numerical distributions, quantiles, and category counts, alongside date timeline continuity. The protocol also scans for domain red flags like inverted date intervals, negative values in bounded metrics, or broken financial identifier strings such as CUSIP or GVKEY.

All inspection routines operate strictly read-only using `tidyverse`, `data.table`, and `arrow`. The skill forbids modifying original data files and requires consulting an existing codebook before running code.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add aspi6246/Claude-Code-Skills-for-Academics --skill data-profiler -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/data-profiler/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/data-profiler/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add aspi6246/Claude-Code-Skills-for-Academics --skill data-profiler -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/data-profiler/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add aspi6246/Claude-Code-Skills-for-Academics --skill data-profiler -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/data-profiler/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install aspi6246/Claude-Code-Skills-for-Academics data-profiler
```

2. **Manually: put the files in place**
- File: `.github/skills/data-profiler/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add aspi6246/Claude-Code-Skills-for-Academics --skill data-profiler -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/aspi6246/Claude-Code-Skills-for-Academics --path data-profiler
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/data-profiler/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/aspi6246/Claude-Code-Skills-for-Academics/tree/HEAD/data-profiler/SKILL.md

## When to use it
- Detect duplicate identifiers and confirm the true unit of observation
- Evaluate panel balance, entry, and exit spans across time periods
- Spot abnormal missing code conventions, outliers, and logical conflicts

## Example prompts
- Profile this dataset before we run any regressions
- Explore this data and check the panel structure
- Examine variable definitions and check for duplicate keys in this table

## Similar
- [explore-data](https://affpapa.org/en/nevibecode/skills/explore-data.md) — skill · 6100 installs
- [review-r](https://affpapa.org/en/nevibecode/skills/review-r.md) — skill · ★ 1729 repo stars
- [r-expert](https://affpapa.org/en/nevibecode/skills/r-expert.md) — skill · 328 installs
- [r](https://affpapa.org/en/nevibecode/rules/r.md) — rule · ★ 41430 repo stars
- [r-cursorrules-prompt-file-best-practices](https://affpapa.org/en/nevibecode/rules/r-cursorrules-prompt-file-best-practices.md) — rule · ★ 41178 repo stars
- [metaphlan-profiler](https://affpapa.org/en/nevibecode/skills/metaphlan-profiler.md) — skill · 1 install

## Other versions with the same name
- [data-profiler · datadrivenconstruction](https://affpapa.org/en/nevibecode/skills/datadrivenconstruction-data-profiler.md) — 115 installs

From the same set: [aspi6246/claude-code-skills-for-academics](https://affpapa.org/en/nevibecode/by/aspi6246/claude-code-skills-for-academics.md) — 17 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
