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
14 other projects use a version of this.
Adopted by
Most recently taken up by
- chaakresh/claude-skillstheir own version, first seen Sep 7, 2026
- sidchaudhary/gtm-skillstheir own version, first seen Aug 21, 2026
- yuusakuri/agent-skillstheir own version, first seen Jul 30, 2026
- xeroc/skillstheir own version, first seen Jul 17, 2026
- jshsakura/awesome-opencode-skillstheir own version, first seen Jul 8, 2026
- risadams/ink-and-agencytheir own version, first seen Jul 7, 2026
Used with
Projects with it also use ab-test-analysis, value-proposition and 7 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.
skytiger6724Skillab-test-analysis
Analyze A/B test results with statistical significance, sample size validation, confidence intervals, and ship/extend/stop recommendations. Use when evaluating experiment results, checking if a test reached significance, interpreting split test data, or deciding whether to ship a variant.
Also in 6 projects that use this
skytiger6724Skillvalue-proposition
Design a detailed value proposition using a 6-part JTBD template — Who, Why, What before, How, What after, Alternatives. Use when creating a value proposition, analyzing customer value delivery, or articulating why customers should choose your product.
Also in 3 projects that use this
nandanosqlSkillfunnel-analysis
Build and analyze conversion funnels — identify drop-off points, diagnose conversion blockers, and design interventions. Covers funnel types, analysis methods, and common misinterpretations.
Also in 4 projects that use this
nandanosqlSkillnorth-star-metric
Define the single metric that best captures the core value your product delivers to customers. Covers selection, decomposition into input metrics, and common traps.
Also in 3 projects that use this
AnthropicSkillstakeholder-map
Map the people in a deal or account - roles, influence, sentiment, who's missing, and your best access path to the people you haven't reached. Use when the user asks "who are the players at [account]", "who's my way in", "am I single-threaded on [deal]", "map the stakeholders", or "who else should I be talking to".
Also in 3 projects that use this
silvainfmSkillmarketing-ideas
When the user needs marketing ideas, inspiration, or strategies for their SaaS or software product. Also use when the user asks for 'marketing ideas,' 'growth ideas,' 'how to market,' 'marketing strategies,' 'marketing tactics,' 'ways to promote,' or 'ideas to grow.' This skill provides 140 proven marketing approaches organized by category.
Also in 3 projects that use this
- +2 more from nandanosql
Other versions14 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 14
- indranilbanerjee/digital-marketing-pro★ 850same name
- jshsakura/awesome-opencode-skills★ 29same name
- NachoLafuente/5050-gtm★ 3same name
- sidchaudhary/gtm-skills★ 3same name
- risadams/ink-and-agency★ 2same name
- skytiger6724/qwen-skills★ 2same name
- yuusakuri/agent-skills★ 2same name
- miovrag/claude-skills★ 1same name
- nandanosql/all_in_one_pm_skills★ 1same name
- sp1e/claude-skills★ 1same name
4 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.

