Analyze user retention by cohort
analyze-cohortscommandsetup L2★11,239
phuryn/pm-skills ↗What it does
Analyze user retention and engagement by cohort
Best for
Measuring product retention and engagement trends by user cohort to guide onboarding improvements and feature prioritization.
Inputs
- · CSV/spreadsheet (user_id, signup_date, activity_date, event_type)
- · Or: description of analysis needed (channel, plan tier, feature)
Outputs
- · Cohort retention table (markdown + CSV)
- · Retention curves by cohort
- · Key findings (best/worst cohort, trend, benchmarks)
- · Recommendations + follow-up SQL queries
Requires
- · Python (pandas) for cohort table generation
- · SQL (optional, if data integration needed)
Preconditions
- · User-level data with signup_date + activity_date
- · Cohort definition chosen (week/month/channel/tier)
- · Retention event defined (login/core action/purchase)
Failure modes
- · Cohort definition too vague → results hard to interpret
- · Early cohorts may look different (founder bias)
- · Seasonal effects can masquerade as trends
- · Incomplete data (missing sign-ups or activities) skews retention
Trust signals
- · Pandas-based cohort table generation
- · Retention curve visualization
- · By-cohort comparison (best/worst/stable)
- · Benchmark comparisons
- · Follow-up SQL templates for deeper investigation