Systems Lab

Agent skill

customer-analytics

Customer analytics framework - cohort retention, lifecycle funnels, engagement scoring, segmentation, and behavioral diagnostics for product and CS teams.

slowingSelf-containedInstructions only809 words

Filed under Analytics and reporting.

From varunk130/ai-gtm-skill-library · 31 skills · 5 · pushed 2026-07-31

What it does when it runs

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.

Read from the skill and the 0 files bundled beside it. A skill’s own description is written to be selected by an agent, so it describes the job and not the dependencies.

Keys and connectors you must supply
None found.
Hosts it reaches
No third-party host appears in the skill or its bundled files.
Tool permissions it declares
No allowed-tools in the frontmatter. It only issues instructions, so there is nothing to bound.
Actions present in the files
None. Instructions only.

Ask about customer-analytics

Opens your assistant with this page's verified links already in the prompt.

Is this safe to install?ClaudeChatGPT
Adapt it to my stackClaudeChatGPT
What else do I need for it to workClaudeChatGPT
Rather ask a human? Talk to Cheetah
git clone --depth 1 --filter=blob:none --sparse https://github.com/varunk130/ai-gtm-skill-library.git /tmp/ai-gtm-skill-library
git -C /tmp/ai-gtm-skill-library sparse-checkout set "revops-skills/customer-analytics"
mkdir -p ~/.claude/skills/customer-analytics
cp -R "/tmp/ai-gtm-skill-library/revops-skills/customer-analytics/." ~/.claude/skills/customer-analytics/

Picked up without a restart. A project skill of the same name is shadowed by your personal one. For one repository only, swap ~/.claude/skills for .claude/skills. Claude Code docs ↗

The folder is the same in every client that implements the format — 46 of them — so if yours is not above, only the destination changes.

Reproduced in full from varunk130/ai-gtm-skill-library/blob/90e878c73a8fbfd1cab864424ccf674fdc889157/revops-skills/customer-analytics/SKILL.md, which is licensed MIT (repository). 809 words, 11 headings.

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

LetterStageThe Question
LLifecycle MappingWhat are the named lifecycle stages and what does each one's "good" look like?
EEngagement ScoringWhat weighted score combines depth, breadth, and recency of value events?
NNet Retention DecompositionWhere exactly is NRR coming from - new logo, expansion, contraction, churn?
SSegment BehaviorWhich segments behave differently, and which behavioral cohorts predict outcomes?

Lifecycle Stages

Stage"Good" SignalDiagnostic
NewFirst value event within target windowActivation rate by cohort
Activated≥ N value events / week within 30 daysStickiness (DAU/WAU or analog)
HabituatedMulti-workflow + multi-user adoptionWorkflow coverage %
ExpandingNew seats / modules / use cases attachedExpansion lead indicators
At-riskEngagement decay + stakeholder lossChurn-risk score
Churned / ContractedLogo or ARR lossReason-coded post-mortems

Engagement Scoring

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

DimensionDefinitionExample
DepthFrequency of core value events per active userCore actions / week
Breadth% of paid seats active + # of distinct workflows usedSeat activation, workflow coverage
RecencyTime since last value event, weighted exponentiallyDecay 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:

ComponentFormulaWhat It Tells You
GRR(Starting ARR − Churn − Contraction) / Starting ARRFloor on the business
Expansion %Expansion ARR / Starting ARRUpside from existing book
NRRGRR + Expansion %Compound growth signal
Churn driversReason-coded, % of churned ARR by reasonWhere to fix the leak
Contraction driversSeat reductions vs price reductions vs downgradesWhere pricing/packaging is misaligned

Segment Behavior

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

LensExampleUse For
FirmographicIndustry × Size × RegionGTM motion design
BehavioralActivation pattern, workflow mix, usage intensityLifecycle 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

ArtifactDescription
Lifecycle ModelNamed stages with entry/exit criteria + "good" definitions
Engagement Score SpecDimensions, weights, decay, bucket thresholds
NRR DecompositionWaterfall: starting → expansion → contraction → churn → ending
Segment Behavior MatrixBehavior cohorts × outcome (retention, expansion, time-to-value)
Diagnostic LoopWeekly review template: anomaly → hypothesis → action → owner
Cohort Retention CurvesM0-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

Other skills for the same job

Different authors, same problem. Matched on the words in the skill name, across every library in the catalogue except this one.

Need help setting it up?

This page tells you what customer-analytics does and what it needs. Cheetah builds the agent setup it runs inside: data, CRM, sequencing and the guardrails.

Book a call →

The directory stays free. There is nothing gated behind this.