# people-analytics

The people-analytics skill examines workforce metrics, engagement surveys, pay equity, and employee flight risk. Use it when an HR question needs structured analysis or a prediction model.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 206 installs · ★ 1183 repo stars
- 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/hr-operations/people-analytics/SKILL.md
- Updated: 2026-10-23
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/people-analytics

## What it does

The skill turns an HR question into an analysis plan: clarify the outcome, inspect source quality, choose a method, test the findings, and turn them into specific recommendations. It covers descriptive work, regression, classification, and segmentation. Predictive results are checked for statistical value and bias across protected groups.

Its Python example trains a `RandomForestClassifier` with `pandas` and `sklearn`, ranks feature importance, and scores current employees for flight risk. Training data needs employee features plus `left_company`; scoring also uses `employee_id` and the model’s feature columns. The workflow requires anonymized or aggregated data before analysis, so privacy preparation is part of the process.

## Install

### Claude Code (native platform)

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

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

### Codex

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

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

### Cursor

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

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install borghei/Claude-Skills hr-operations/people-analytics/SKILL.md
```

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

### Gemini CLI

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

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

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add borghei/Claude-Skills --skill people-analytics -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/hr-operations/people-analytics/SKILL.md

## When to use it
- frame a workforce analysis question
- score employee flight risk
- find drivers behind staff turnover
- test pay equity with regression
- break down engagement survey results

## Example prompts
- Analyze turnover in `employees.csv` and identify the main factors linked to departures.
- Train a flight-risk model from `tenure_months`, `salary_ratio_to_market`, and `engagement_score`.
- Run a pay equity analysis by department and state the limits of the result.

## Similar
- [people-report](https://affpapa.org/en/nevibecode/skills/people-report.md) — skill · 2800 installs
- [test-reporting-analytics](https://affpapa.org/en/nevibecode/skills/test-reporting-analytics.md) — skill · 126 installs
- [people-property](https://affpapa.org/en/nevibecode/skills/people-property.md) — skill · 183 installs
- [labor-allocation](https://affpapa.org/en/nevibecode/skills/labor-allocation.md) — skill · 116 installs
- [gws-people](https://affpapa.org/en/nevibecode/skills/gws-people.md) — skill · 34500 installs
- [google-cloud-solution-agentic-analytics-spark-knowledge-catalog](https://affpapa.org/en/nevibecode/skills/google-cloud-solution-agentic-analytics-spark-knowledge-catalog.md) — skill · 5000 installs

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