Skip to content
Skills Library
Data & analytics · Analysis

customer-analytics

/customer-analytics

Customer analytics framework - cohort retention, lifecycle funnels, engagement scoring, segmentation, and behavioral diagnostics for product and CS teams. Use when: customer analytics, cohort analysis, retention curve, engagement score, customer segmentation, behavioral analysis, lifecycle funnel, RFM, activation diagnostics, usage analysis.

Licence
MIT
Last repository change
17.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 17.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Customer analytics framework - cohort retention, lifecycle funnels, engagement scoring, segmentation, and behavioral diagnostics for product and CS teams. Use when: customer analytics, cohort analysis, retention curve, engagement score, customer segmentation, behavioral analysis, lifecycle funnel, RFM, activation diagnostics, usage analysis.

Original author description

Customer analytics framework - cohort retention, lifecycle funnels, engagement scoring, segmentation, and behavioral diagnostics for product and CS teams. Use when: customer analytics, cohort analysis, retention curve, engagement score, customer segmentation, behavioral analysis, lifecycle funnel, RFM, activation diagnostics, usage analysis.

How it works

  1. Core Principle
  2. The LENS Framework
  3. Lifecycle Stages
  4. Engagement Scoring
  5. Net Retention Decomposition
  6. Segment Behavior
  7. Output
  8. Process
  9. Tips
  10. Pairs With
Original SKILL.md headings · 101 lines, 809 words
SKILL.md preview
---
name: customer-analytics
description: 'Customer analytics framework - cohort retention, lifecycle funnels, engagement scoring, segmentation, and behavioral diagnostics for product and CS teams. Use when: customer analytics, cohort analysis, retention curve, engagement score, customer segmentation, behavioral analysis, lifecycle funnel, RFM, activation diagnostics, usage analysis.'
---

# Customer Analytics (LENS Framework)

Design a customer analytics architecture that answers *which customers, doing what, are driving (or breaking) the business* - instead of dashboards full of vanity counts. LENS produces a defensible segmentation, a retention model, an engagement score, and a behavioral diagnostic loop that PMs and CS can act on weekly.

## Core Principle

**Customer analytics fails when it stops at "users went up." LENS forces decomposition into *who*, *what*, *when*, and *why* - the four axes a dashboard usually collapses into one number.**

## The LENS Framework

| Letter | Stage | The Question |
|--------|-------|--------------|
| **L** | Lifecycle Mapping | What are the named lifecycle stages and what does each one's "good" look like? |
| **E** | Engagement Scoring | What weighted score combines depth, breadth, and recency of value events? |
| **N** | Net Retention Decomposition | Where exactly is NRR coming from - new logo, expansion, contraction, churn? |
| **S** | Segment Behavior | Which segments behave differently, and which behavioral cohorts predict outcomes? |

## Lifecycle Stages

| Stage | "Good" Signal | Diagnostic |
|-------|---------------|------------|
| **New** | First value event within target window | Activation rate by cohort |
| **Activated** | ≥ N value events / week within 30 days | Stickiness (DAU/WAU or analog) |
| **Habituated** | Multi-workflow + multi-user adoption | Workflow coverage % |
| **Expanding** | New seats / modules / use cases attached | Expansion lead indicators |
| **At-risk** | Engagement decay + stakeholder loss | Churn-risk score |
| **Churned / Contracted** | Logo or ARR loss | Reason-coded post-mortems |

## Engagement Scoring

Engagement is **depth × breadth × recency**, not raw event counts.

| Dimension | Definition | Example |
|-----------|------------|---------|
| **Depth** | Frequency of core value events per active user | Core actions / week |
| **Breadth** | % of paid seats active + # of distinct workflows used | Seat activation, workflow coverage |
| **Recency** | Time since last value event, weighted exponentially | Decay half-life of 14-30 days |

Combine into a 0-100 score; bucket into Engaged / Mixed / Disengaged for routing into CS plays.

## Net Retention Decomposition

A single NRR number hides the truth. Always decompose:

| Component | Formula | What It Tells You |
|-----------|---------|-------------------|
| **GRR** | (Starting ARR − Churn − Contraction) / Starting ARR | Floor on the business |
| **Expansion %** | Expansion ARR / Starting ARR | Upside from existing book |
| **NRR** | GRR + Expansion % | Compound growth signal |
| **Churn drivers** | Reason-coded, % of churned ARR by reason | Where to fix the leak |
| **Contraction drivers** | Seat reductions vs price reductions vs downgrades | Where pricing/packaging is misaligned |

## Segment Behavior

Segments must be **decision-driving**, not decorative. Two segmentation lenses:

| Lens | Example | Use For |
|------|---------|---------|
| **Firmographic** | Industry × Size × Region | GTM motion design |
| **Behavioral** | Activation pattern, workflow mix, usage intensity | Lifecycle interventions, expansion targeting |

The behavioral lens almost always predicts retention better than the firmographic one - most teams underuse it.

## Output

Save to `outputs/customer-analytics-[scope]-[YYYY-MM-DD].md`

| Artifact | Description |
|----------|-------------|
| **Lifecycle Model** | Named stages with entry/exit criteria + "good" definitions |
| **Engagement Score Spec** | Dimensions, weights, decay, bucket thresholds |
| **NRR Decomposition** | Waterfall: starting → expansion → contraction → churn → ending |
| **Segment Behavior Matrix** | Behavior cohorts × outcome (retention, expansion, time-to-value) |
| **Diagnostic Loop** | Weekly review template: anomaly → hypothesis → action → owner |
| **Cohort Retention Curves** | M0-M12 retention by acquisition cohort and segment |

## Process

1. **Map lifecycle stages** with entry/exit criteria - agree with PM and CS before instrumenting
2. **Define engagement score** with explicit weights; validate against historical churn
3. **Decompose NRR** into a waterfall - every component reason-coded
4. **Build behavioral cohorts** that predict outcomes better than firmographics
5. **Stand up the diagnostic loop** - weekly anomaly review, owner assigned, action tracked
6. **Wire cohort retention curves** into the executive cadence, not buried in a tool

## Tips

1. **Avoid vanity engagement metrics** - logins, page views, and DAU rarely predict retention
2. **Validate the score against churn before deploying** - score that doesn't correlate is decoration
3. **Segment behavior beats firmographic targeting** for retention plays
4. **Treat contraction separately from churn** - different root causes, different fixes
5. **Anomaly without action is noise** - every diagnostic must end with an owner

## Pairs With

- **journey-architect** - Lifecycle stages map directly to journey gates
- **customer-success** - Health score consumes the engagement score
- **growth-loop** - Retention curves feed loop-strength analysis
- **revenue-analytics** - NRR decomposition rolls into revenue diagnostics

Versions

RepositoryScoreLicence
This page · varunk130/ai-gtm-skill-library100MIT
SkillMedev/skills100MIT

Database snapshot: 13.11.2026 · package version 0f4997b35f99 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 95engineering-gameplay-analytics
    Use when tracking player events, implementing retention analytics, building engagement funnels, measuring D1/D7/D30 retention, or setting up gameplay telemetry. Triggers: analytics, telemetry, events, retention, D1 D7 D30, funnel, engagement, session tracking, player behavior.
  • 100customer-segmentation
    Segments customers using RFM scoring, behavioral clustering, or needs-based research, validates the segments, and writes actionable segment profiles. Use when targeting campaigns, designing lifecycle programs, prioritizing markets or personas, or explaining differences in value…
  • 95product-analytics
    Use this skill when the user says 'product analytics', 'tracking plan', 'event taxonomy', 'retention curve', 'cohort analysis', 'funnel', 'DAU/MAU', 'north star metric', 'activation metric', 'amplitude', 'mixpanel', 'posthog'. It defines metrics, a tracking plan and event…
  • 100cohort-analysis
    Analyze user retention by cohort. Use when: measuring customer retention; understanding lifecycle patterns; comparing acquisition cohorts; tracking engagement over time; identifying churn risks
  • 100product-analytics
    A/B test evaluation, cohort retention, funnels and significance. Use when analyzing experiments, feature adoption or conversion drop-offs.
  • 100cohort-analysis
    Perform cohort analysis on user engagement data — retention curves, feature adoption trends, and segment-level insights. Use when analyzing user retention by cohort, studying feature adoption over time, investigating churn patterns, or identifying engagement trends.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.