cohort-analysis
Skill149 starsChanged 8 months agoMITArchived repositoryView on GitHub
Analyze user retention by cohort. Use when: measuring customer retention; understanding lifecycle patterns; comparing acquisition cohorts; tracking engagement over time; identifying churn risks
- Installs packages
21 other projects use a version of this.
Adopted by
Most recently taken up by
- AtulPurohit/Antigravity-Awesome-Skillstheir own version, first seen Nov 29, 2026
- About-Intelligence/awesome-marketing-skillstheir own version, first seen Nov 8, 2026
- yuusakuri/agent-skillstheir own version, first seen Nov 1, 2026
- vijaysuperpositionist/skillstheir own version, first seen Nov 1, 2026
- brainbytes-dev/everything-claude-marketingtheir own version, first seen Nov 1, 2026
- daviszhen/agent-skillstheir own version, first seen Oct 25, 2026
Used with
Projects with it also use positioning-ideas, gtm-motions and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
About-IntelligenceSkillpositioning-ideas
Brainstorm product positioning ideas differentiated from competitors.
Also in 5 projects that use this
About-IntelligenceSkillgtm-motions
Identify the best GTM motions and tools across 7 motion types: Inbound, Outbound, Paid Digital, Community, Partners, ABM, and PLG.
Also in 5 projects that use this
skytiger6724Skillbrainstorm-experiments-existing
Design experiments to test assumptions for an existing product — prototypes, A/B tests, spikes, and other low-effort validation methods. Use when validating assumptions, testing feature ideas cheaply, or planning product experiments.
Also in 4 projects that use this
skytiger6724Skillbrainstorm-ideas-new
Brainstorm feature ideas for a new product in initial discovery from PM, Designer, and Engineer perspectives. Use when starting product discovery for a new product, exploring features for a startup idea, or doing initial ideation.
Also in 4 projects that use this
45ckSkillpestle-analysis
Also in 4 projects that use this
EdgeCaserSkillab-test-analysis
Evaluates experiment results for statistical significance, practical significance, segment effects, and next actions. Supports both frequentist and Bayesian interpretations. Helps PMs make ship/no-ship decisions with appropriate rigor.
Also in 6 projects that use this
- +2 more from About-Intelligence
- +4 more from skytiger6724
Other versions21 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 21
- indranilbanerjee/digital-marketing-pro★ 934same name
- jshsakura/awesome-opencode-skills★ 31same name
- About-Intelligence/awesome-marketing-skills★ 14same name
- sidchaudhary/gtm-skills★ 10same name
- brainbytes-dev/everything-claude-marketing★ 9same name
- AtulPurohit/Antigravity-Awesome-Skills★ 6same name
- NachoLafuente/5050-gtm★ 3same name
- Adhamxon/claude-code-skills★ 2same name
- gmanch94/claude-code-aidlc-template★ 2same name
- risadams/ink-and-agency★ 2same name
11 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository175 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- ad-spend-optimizerSkill
- google-ads-expertSkill
- design-trends-2026Skill
- image-to-3d-pipelineSkill
- minimalist-image-directorSkill
- web-design-directorSkill
- website-finishing-directorSkill
- ab-test-statsSkill
- funnel-analyzerSkill
- sentiment-analyzerSkill
- audiobook-productionSkill
- audio-editingSkill
- audio-logo-designSkill
- podcast-interviewSkill
- podcast-productionSkill
- podcast-seoSkill
- pydub-automationSkill
- remote-interviewSkill
- sonic-brandingSkill
- sound-design-filmSkill
- transcription-to-contentSkill
- ux-sound-designSkill
- video-testimonialSkill
- voice-designSkill
- voice-localizationSkill
- voiceover-directionSkill
- competitor-monitorSkill
- content-repurposerSkill
- data-visualizerSkill
- image-batchSkill
- pdf-extractorSkill
- report-generatorSkill
- video-processingSkill
- web-scraperSkill
- whisper-transcriptionSkill
- youtube-downloaderSkill
- brand-strategySkill
- brand-voice-learnerSkill
- brand-voiceSkill
- naming-6-gatesSkill
- boron-lettersSkill
- content-strategySkill
- content-writingSkill
- conversion-copywritingSkill
- copy-frameworksSkill
- copywriting-awarenessSkill
- copywriting-classicSkill
- cta-writingSkill
- dan-kennedy-copySkill
- educational-presentationSkill
- email-writingSkill
- expert-secretsSkill
- headline-formulasSkill
- landing-page-copySkill
- landing-page-optimizerSkill
- made-to-stickSkill
- permission-marketingSkill
- persuasion-principlesSkill
- purple-cow-marketingSkill
- The first 60 shown.
The file
Files
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
pip install pandas plotly clickCommands
Retention Analysis
python scripts/main.py retention data.csv --date-col signup --event-col purchase
python scripts/main.py retention data.csv --date-col signup --periods weekVisualize Cohorts
python scripts/main.py visualize cohorts.csv --output retention_chart.htmlExport Report
python scripts/main.py report data.csv --date-col signup --event-col active --output report.htmlExamples
Example 1: Analyze User Retention
python scripts/main.py retention users.csv --date-col signup_date --event-col last_active
# Output:
# Cohort Retention Analysis
# ──────────────────────────────────
# Cohort Users M1 M2 M3 M4
# Jan 2024 1,234 65% 48% 42% 38%
# Feb 2024 1,456 62% 45% 41% --
# Mar 2024 1,321 68% 52% -- --
# Apr 2024 1,567 64% -- -- --
#
# Avg Retention: 65% → 48% → 42% → 38%
# Best Cohort: Mar 2024 (68% M1)Example 2: Generate Visual Report
python scripts/main.py report transactions.csv \
--date-col signup \
--event-col purchase_date \
--output retention_report.html
# Generates interactive HTML with:
# - Retention heatmap
# - Cohort size chart
# - Trend analysisCohort Table Format
| Cohort | Size | Period 0 | Period 1 | Period 2 | Period 3 |
| 2024-01 | 1234 | 100% | 65% | 48% | 42% |
| 2024-02 | 1456 | 100% | 62% | 45% | - |
| 2024-03 | 1321 | 100% | 68% | - | - |
Skill Boundaries
What This Skill Does Well
- Structuring data analysis
- Identifying patterns and trends
- Creating visualization frameworks
- Calculating statistical measures
What This Skill Cannot Do
- Access your actual data
- Replace statistical expertise
- Make business decisions
- Guarantee prediction accuracy
Related Skills
- ab-test-stats - Test retention experiments
- funnel-analyzer - Analyze conversion funnels
Skill Metadata
- Mode: centaur
category: analytics
subcategory: retention
dependencies: [pandas, plotly]
difficulty: intermediate
time_saved: 4+ hours/weekDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

