# data-analyst

Turns your agent into a data analyst that validates SQL queries, runs statistical tests, and formats business findings.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 605 installs · ★ 980
- Author: borghei
- License: LicenseRef-MIT-Commons-Clause · policy=link-only · description only; the file stays with the author
- Source: https://github.com/borghei/Claude-Skills/tree/HEAD/data-analytics/data-analyst/SKILL.md
- Updated: 2026-10-23
- HTML: https://affpapa.org/en/nevibecode/skills/borghei-data-analyst

## What it does

The skill guides an agent through end-to-end data tasks. It starts by clarifying the core question, metrics, and table grain before writing queries. The instructions enforce SQL best practices: filtering early, organizing queries with CTEs, and inspecting query plans with `EXPLAIN ANALYZE`.

Data exploration comes before drawing any conclusions. The agent looks for duplicates, null values, and outliers. For statistical comparisons, the skill bundles Python functions using `scipy` and `numpy` to run independent t-tests and chi-square evaluations. If your environment lacks these packages, Python tests will fail.

Visualization choices follow concrete rules. Bar charts must start the Y-axis at zero, palettes cannot exceed seven colors, and pie charts with more than five slices are blocked. Findings are packaged into an actionable format covering what happened, why it matters, and next steps.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill data-analyst -a claude-code
```

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

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill data-analyst -a codex
```

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

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill data-analyst -a cursor
```

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install borghei/Claude-Skills data-analyst
```

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

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill data-analyst -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/borghei/Claude-Skills --path data-analytics/data-analyst
```

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill data-analyst -a opencode
```

### 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/borghei/Claude-Skills/tree/HEAD/data-analytics/data-analyst/SKILL.md

## When to use it
- write cohort retention SQL queries using common table expressions
- run two-sample t-tests and chi-square independence checks in Python
- inspect dataset distributions and clean out duplicates before modeling
- prepare business findings in a What, So What, Now What structure

## Example prompts
- Write an optimized SQL query to calculate month-over-month revenue growth using CTEs.
- Run a two-sample t-test on these test and control conversion rates.
- Structure this retention analysis using the What, So What, Now What template.

## Similar
- [validate-data](https://affpapa.org/en/nevibecode/skills/validate-data.md) — skill · 4 installs
- [data-analytics-skills-claude](https://affpapa.org/en/nevibecode/skills/data-analytics-skills-claude.md) — skill · 1300 installs
- [analyze-data-quality](https://affpapa.org/en/nevibecode/skills/analyze-data-quality.md) — skill · 9 installs
- [data-analysis](https://affpapa.org/en/nevibecode/skills/akillness-data-analysis.md) — skill · 598 installs
- [analyze](https://affpapa.org/en/nevibecode/skills/analyze.md) — skill · 5700 installs
- [data-science-expert](https://affpapa.org/en/nevibecode/skills/data-science-expert.md) — skill · 573 installs

## Other versions with the same name
- [data-analyst · ailabs-393](https://affpapa.org/en/nevibecode/skills/ailabs-393-data-analyst.md) — 1200 installs
- [data-analyst · cline](https://affpapa.org/en/nevibecode/skills/data-analyst.md) — 2200 installs
- [data-analyst · mindrally](https://affpapa.org/en/nevibecode/skills/mindrally-data-analyst.md) — 759 installs

From the same set: [borghei/claude-skills](https://affpapa.org/en/nevibecode/by/borghei/claude-skills.md) — 11 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
