Cohort Analysis

Analyze user retention by cohort. Use when: measuring customer retention; understanding lifecycle patterns; comparing acquisition cohorts; tracking engagement over time; identifying churn risks

150 stars 32 forksData & Analytics

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add guia-matthieu/clawfu-skills --skill cohort-analysis
Manual install
git clone --depth 1 https://github.com/guia-matthieu/clawfu-skills.git /tmp/clawfu-skills
mkdir -p ~/.claude/skills
cp -r /tmp/clawfu-skills/skills/analytics/cohort-analysis ~/.claude/skills/cohort-analysis

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Cohort Analysis

> Analyze retention and behavior patterns by grouping users into cohorts - understand how different customer groups behave over time.

## When to Use This Skill

- **Retention tracking** - Measure how users stick around over time
- **Acquisition analysis** - Compare cohorts from different channels
- **Product changes** - Measure impact on user behavior
- **Churn prediction** - Identify at-risk cohorts
- **LTV estimation** - Project customer lifetime value

## What Claude Does vs What You Decide

| Claude Does | You Decide |
|-------------|------------|
| Structures analysis frameworks | Metric definitions |
| Identifies patterns in data | Business interpretation |
| Creates visualization templates | Dashboard design |
| Suggests optimization areas | Action priorities |
| Calculates statistical measures | Decision thresholds |

## Dependencies

```bash
pip install pandas plotly click
```

## Commands

### Retention Analysis
```bash
python scripts/main.py retention data.csv --date-col signup --event-col purchase
python scripts/main.py retention data.csv --date-col signup --periods week
```

### Visualize Cohorts
```bash
python scripts/main.py visualize cohorts.csv --output retention_chart.html
```

### Export Report
```bash
python scripts/main.py report data.csv --date-col signup --event-col active --output report.html
```

## Examples

### Example 1: Analyze User Retention
Read the full skill on GitHub

Details

Skill name
cohort-analysis
Path
skills/analytics/cohort-analysis/SKILL.md
License
MIT
Repo updated
1 October 2026

FAQ

What does the Cohort Analysis skill do?

Analyze user retention by cohort. Use when: measuring customer retention; understanding lifecycle patterns; comparing acquisition cohorts; tracking engagement over time; identifying churn risks

How do I install the Cohort Analysis skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add guia-matthieu/clawfu-skills --skill cohort-analysis. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Cohort Analysis popular?

It lives in guia-matthieu/clawfu-skills, which has 150 GitHub stars and 32 forks, and is included in 1 curated skill list.

Related skills

Aarrr Metrics

150

guia-matthieu/clawfu-skills

Measure and optimize growth using the AARRR (Pirate Metrics) framework with stage-specific KPIs and funnel analysis

Marketing, Sales & BusinessIn 1 list32

Ab Test Stats

150

guia-matthieu/clawfu-skills

Calculate A/B test statistical significance. Use when: determining if test results are significant; calculating required sample size; estimating test duration; analyzing conversion experiments; making data-driven decisions

Testing & QAIn 1 list32

Account Health

150

guia-matthieu/clawfu-skills

Assess customer account health using product usage, support sentiment, payment status, and relationship signals

Finance & CryptoIn 1 list32

Data Visualization Quality

201

swyxio/skills

Decide whether quantitative data should be visualized, choose and design an analytically faithful chart or table, and reject misleading or low-information artifacts. Use for charts, dashboards, analytical tables, visualization specifications, or production visualization pipelines; do not use for generic page styling or interaction mechanics.

Data & Analytics12

Character Naming

191

jwynia/agent-skills

Break LLM name defaults with external entropy. Use when character names cluster around statistical medians (Chen, Patel, Maya, Marcus), when cast has collision risks, or when fantasy cultures need phonologically consistent naming.

Data & Analytics24

Data Visualizer

150

guia-matthieu/clawfu-skills

Create marketing visualizations from data. Use when: creating charts for reports; visualizing campaign performance; generating dashboards; presenting data insights; exporting charts for presentations

Data & AnalyticsIn 1 list32

Browse the most popular Claude skills, all data & analytics skills, or write your own with the skills generator.