retention-analyst

retention-analyst is a skill for Claude Code, Codex from hamza-ali-shahjahan/hamzaish. It costs 36 tokens per session (745 once invoked), scanned A, original, MIT.

A product-analysis tool for studying customer retention, meaning how many users continue using a product over time. It examines retention curves and separates acquisition problems from product-market-fit problems, where a product does not meet a strong enough need.

In plain words
What is it for?
Use it to find likely causes of churn, review retention patterns, and propose ways to keep more customers.
Why use it?
It helps explain whether customers leave because too many new users arrive without staying, or because the product is not retaining them well. It turns retention data into possible actions.

Skill for Claude CodeCodex

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

Good fit Use it to find likely causes of churn, review retention patterns, and propose ways to keep more customers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hamza-ali-shahjahan/hamzaish/retention-analyst
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 hamza-ali-shahjahan/hamzaish --skill retention-analyst
Clone the repo
git clone --depth 1 https://github.com/hamza-ali-shahjahan/hamzaish

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 retention-analyst

README.md
[![agentmods](https://agentmods.dev/badge/skills/hamza-ali-shahjahan/hamzaish/retention-analyst/github.svg)](https://agentmods.dev/skills/hamza-ali-shahjahan/hamzaish/retention-analyst)
Your own site
<a href="https://agentmods.dev/skills/hamza-ali-shahjahan/hamzaish/retention-analyst"><img src="https://agentmods.dev/badge/skills/hamza-ali-shahjahan/hamzaish/retention-analyst/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 retention-analyst

Your own site · 80×15
<a href="https://agentmods.dev/skills/hamza-ali-shahjahan/hamzaish/retention-analyst"><img src="https://agentmods.dev/badge/skills/hamza-ali-shahjahan/hamzaish/retention-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 745 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.00036 $0.00745
Opus 5.5 $0.00014 $0.00298
Sonnet 5.5 $0.00007 $0.00149
Haiku 4.5 $0.00004 $0.00075

Measured 3mo ago against content hash cfeefb22f703, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

retention-analyst 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 3mo 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.

_archive/v0/agents/scale/retention-analyst/SKILL.md · 74 lines

How it starts

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

Retention Analyst

When you activate

  • Monthly retention review
  • User asks: "why are users churning?", "is our retention healthy?", "what's our N-month curve look like?"

What you produce

Saved to products/<name>/scale/retention-YYYY-MM.md:

## Retention Analysis — <product> — <month>

### Cohort retention curve (last 6 cohorts)
| Cohort | M0 | M1 | M2 | M3 | M4 | M5 |
|---|---|---|---|---|---|---|
| Jan | 100 | 65 | 45 | 38 | 35 | 34 |
| Feb | 100 | 62 | 48 | 40 | 36 | - |

### Health check
- M1 retention: <%> — benchmark for category: <%>
- M3 retention: <%> — benchmark: <%>
- "Flattening" (M3-M6 stable): yes / no
- Sean Ellis-equivalent: <last survey % "very disappointed">

### Churn analysis
**Who churned this month:** <N users>
**Segments most at risk:** <segments>
**Top 3 likely reasons (from exit surveys + behavior):**
1. <reason> — N users
2. <reason> — N users
3. <reason> — N users

### Activation correlation
% of churned users who never activated: <%>
% who activated then churned: <%>
Implication: <activation problem? value problem? competitive loss?>

### Interventions to test (ranked)
1. <intervention> — expected impact: <est> — cost: <hours / $>
2. ...
3. ...

### What this looks like by stage
- If M3 < 20%: leaky bucket — fix retention before scaling acquisition
- If M3 20-40%: classic post-PMF — focus on activation + first-value time
- If M3 > 40% AND flattening: healthy — scale acquisition

Protocol

  1. Pull cohort data from PostHog (or whatever analytics is wired). The standard query: retention by signup cohort, weekly or monthly buckets.
  2. Compare to category benchmarks:
    • Consumer SaaS: M1 ~25%, M3 ~15%, "healthy" if flattens above 10%
    • B2B SaaS: M1 ~50%, M3 ~40%, "healthy" if flattens above 30%
    • Marketplaces: highly variable
    • Tools (utility): "use and forget" is OK if NSM is usage volume per session
  3. Identify the worst-performing cohort and what's different about it.
  4. Pull exit survey data + behavioral signals (what did churners do in the last 7 days?).
  5. Cluster reasons. Rank interventions by impact / cost.
  6. Bucket the verdict — leaky bucket vs activation vs competition vs natural ceiling.

Read the full file on GitHub · 74 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. 3mo ago First seen · 74 lines · 36 tokens per session scan A cfeefb22f703

Subscribe to this mod's changes

retention-analyst is a skill published in the GitHub repository hamza-ali-shahjahan/hamzaish (11 stars, last pushed 1mo ago), licensed MIT. It adds 36 tokens to every session and 745 once invoked, about $0.0001 per session on Opus 5.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

retention-analyst compared with skills from other repositories

retention-analyst next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
retention-analysthamza-ali-shahjahan/hamzaishSkill111mo agoMITA36Claude Code, Codex
gingiris-launchGingiris/gingiris-launchSkill2157mo agoMITA326Claude Code, Codex
payments-polaralifanov/ai-garage-launchSkill23mo agoMITA53Claude Code
stack-referencealifanov/ai-garage-launchSkill23mo agoMITA67Claude Code
unit-economicsalifanov/ai-garage-launchSkill23mo agoMITA73Claude Code
make-playbooktamdogood/make-playbookSkill55mo agoMITA97Claude Code
traffic-channelsalifanov/ai-garage-launchSkill23mo agoMITA59Claude Code