cohort-retention

cohort-retention is a skill for Claude Code, Codex from appeeky/stripe-skills. It costs 65 tokens per session (329 once invoked), scanned A, original, MIT.

A table that tracks subscribers who joined in the same month and shows how many remain over time. A cohort is a group of customers sharing a starting point, such as their signup month.

In plain words
What is it for?
Use it to measure retention after one, two, three, or six months, compare signup-month groups, and find the period with the largest drop.
Why use it?
It shows when customers tend to leave and whether newer signup groups stay longer or generate more recurring revenue than older ones.

Skill for Claude CodeCodex

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

Good fit Use it to measure retention after one, two, three, or six months, compare signup-month groups, and find the period with the largest drop.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/appeeky/stripe-skills/cohort-retention"><img src="https://agentmods.dev/badge/skills/appeeky/stripe-skills/cohort-retention.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 329 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.00065 $0.00329
Opus 5.5 $0.00026 $0.00132
Sonnet 5.5 $0.00013 $0.00066
Haiku 4.5 $0.00006 $0.00033

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

Security

Grade A, and why

cohort-retention 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 2mo 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.

skills/cohort-retention/SKILL.md · 35 lines

What it actually says

Cohort Retention

Stripe MCP Setup

Requires Stripe MCP (https://docs.stripe.com/mcp). GetMcpTools before CallMcpTool. Paginate all lists (limit: 100, starting_after while has_more). Amounts in cents. Read-only for audits; confirm before writes.

Workflow

  1. List subscriptions (all statuses) with created and canceled_at/ended_at
  2. Bucket by signup month (created)
  3. For each cohort, compute % still active at month 1, 2, 3...
  4. Optionally weight by MRR for revenue retention

Output Template

Cohort Retention (logo)

| Cohort | Size | M1 | M2 | M3 | M6 |
|--------|------|----|----|----|----|
| 2026-01 | | | | | |

Revenue retention (NRR) latest cohort: [X]%
Insight: [where the biggest drop occurs]

Flag the month with steepest drop -- that's the retention leak to fix (route to churn-analysis or onboarding).

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. 2mo ago First seen · 35 lines · 65 tokens per session scan A be20475a9c9d

Subscribe to this mod's changes

cohort-retention is a skill published in the GitHub repository appeeky/stripe-skills (5 stars, last pushed 3mo ago), licensed MIT. It adds 65 tokens to every session and 329 once invoked, about $0.0003 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

cohort-retention compared with skills from other repositories

cohort-retention next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cohort-retentionappeeky/stripe-skillsSkill53mo agoMITA65Claude Code, Codex
stock-liquidityhimself65/finance-skillsSkill3.5k3d agoMITA129Claude Code
company-valuationhimself65/finance-skillsSkill3.5k3d agoMITA155Claude Code
fintel-datahimself65/finance-skillsSkill3.5k3d agoMITA157Claude Code
earnings-recaphimself65/finance-skillsSkill3.5k3d agoMITA112Claude Code
estimate-analysishimself65/finance-skillsSkill3.5k3d agoMITA117Claude Code
alpha-vantageforyourhealth111-pixel/Vibe-SkillsSkill3.8k3d agoApache-2.0A126Claude Code, Codex