customer-analytics

customer-analytics is a skill for Claude Code, Codex from varunk130/ai-gtm-skill-library. It costs 61 tokens per session (1,241 once invoked), scanned A, original, MIT.

A customer analytics framework examines how different groups of customers use a product, reach milestones, stay, or leave. A cohort is a group of customers who share a starting point or other trait.

In plain words
What is it for?
It helps define customer lifecycle stages, score engagement, compare cohorts, segment customers, and break down net revenue retention into its sources.
Why use it?
It turns broad usage totals into findings about which customers behave differently and what may predict retention or churn.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps define customer lifecycle stages, score engagement, compare cohorts, segment customers, and break down net revenue retention into its sources.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/varunk130/ai-gtm-skill-library/customer-analytics
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add varunk130/ai-gtm-skill-library --skill customer-analytics
Clone the repo
git clone --depth 1 https://github.com/varunk130/ai-gtm-skill-library

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for customer-analytics

README.md
[![agentmods](https://agentmods.dev/badge/skills/varunk130/ai-gtm-skill-library/customer-analytics/github.svg)](https://agentmods.dev/skills/varunk130/ai-gtm-skill-library/customer-analytics)
Your own site
<a href="https://agentmods.dev/skills/varunk130/ai-gtm-skill-library/customer-analytics"><img src="https://agentmods.dev/badge/skills/varunk130/ai-gtm-skill-library/customer-analytics/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for customer-analytics

Your own site · 80×15
<a href="https://agentmods.dev/skills/varunk130/ai-gtm-skill-library/customer-analytics"><img src="https://agentmods.dev/badge/skills/varunk130/ai-gtm-skill-library/customer-analytics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,241 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00061 $0.01241
Opus 5 $0.00030 $0.00620
Sonnet 5 $0.00012 $0.00248
Haiku 4.5 $0.00006 $0.00124

Measured 9d ago against content hash 783f6a28d152, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

customer-analytics scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

revops-skills/customer-analytics/SKILL.md · 105 lines

How it starts

The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

Read the full file on GitHub · 105 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 105 lines · 61 tokens per session scan A 783f6a28d152

Subscribe to this mod's changes

customer-analytics is a skill published in the GitHub repository varunk130/ai-gtm-skill-library (5 stars, last pushed 1mo ago), licensed MIT. It adds 61 tokens to every session and 1,241 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

session-deep-dive

Deep qualitative analysis of high-signal sessions. Spawns subagents with v2 template, synthesizes patterns, compares against known findings. Use after /session-scan.

oliver-kriska/claude-elixir-phoenix · 40 tokens

brainstorm

Brainstorm Elixir/Phoenix features — explore ideas, compare approaches, gather requirements. Use when vague idea, not sure how to approach, or want to discuss before plan.

oliver-kriska/claude-elixir-phoenix · 39 tokens

plugin-dev-workflow

Guide plugin development workflow — editing skills, agents, hooks, or eval framework in this repo. Use when modifying files in plugins/elixir-phoenix/, lab/eval/, or lab/autoresearch/. Ensures changes pass eval, lint, and tests before committing.

oliver-kriska/claude-elixir-phoenix · 59 tokens

elixir-idioms

OTP/BEAM patterns and Elixir idioms — GenServer, Supervisor, Task, Registry, pattern matching, with chains, pipes. Use when designing processes or debugging BEAM issues.

oliver-kriska/claude-elixir-phoenix · 44 tokens

tidewave-integration

Tidewave MCP runtime tools — debugging, smoke testing, live state inspection, SQL queries, hex docs. Use when evaluating code in a running Phoenix app.

oliver-kriska/claude-elixir-phoenix · 38 tokens

110-java-maven-best-practices

Use when you need to review, improve, or troubleshoot a Maven pom.xml file — including dependency management with BOMs, plugin configuration, version centralization, multi-module project structure, build profiles, or any situation where you want to align your Maven setup with industry best practices. This should…

jabrena/plinth · 115 tokens