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 $0.00032 $0.00164
Sonnet 5 $0.00013 $0.00066
Haiku 4.5 $0.00006 $0.00033

Measured 11d ago against content hash be20475a9c9d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 11d 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. 11d 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 1mo ago), licensed MIT. It adds 65 tokens to every session and 329 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

stock-liquidity

Analyze stock liquidity using bid-ask spreads, volume profiles, order book depth, market impact estimates, and turnover ratios via Yahoo Finance data. Use this skill whenever the user asks about liquidity, trading costs, bid-ask spread, market depth, volume analysis, slippage, market impact, turnover ratio, or how…

himself65/finance-skills · 188 tokens

company-valuation

Estimate the intrinsic value of a public company using DCF, relative (peer multiple) and sum-of-parts (SOTP) methods, then triangulate to an implied share price with upside/downside versus the current market price. Use this skill whenever the user asks: "what is AAPL worth", "valuation of NVDA", "fair value of TSLA"…

himself65/finance-skills · 234 tokens

fintel-data

Query Fintel (fintel.io) institutional market intelligence via the REST API at https://api.fintel.io/v1 with FINTELAPIKEY (X-API-KEY header), or the official MCP server at https://mcp.fintel.io/mcp. Read-only data: short interest, borrow rate/fee and shares available to borrow, daily short volume, fails-to-deliver…

himself65/finance-skills · 234 tokens

estimate-analysis

Deep-dive into analyst estimates and revision trends for any stock using Yahoo Finance data. Use when the user wants to understand analyst estimate direction, how EPS or revenue forecasts changed over time, compare estimate distributions, or analyze growth projections across periods. Triggers: "estimate analysis for…

himself65/finance-skills · 195 tokens

earnings-preview

Generate a pre-earnings briefing for any stock using Yahoo Finance data. Use this skill whenever the user wants to prepare for an upcoming earnings report, understand what analysts expect, review a company's beat/miss track record, or get a quick overview before an earnings call. Triggers include: "earnings preview…

himself65/finance-skills · 221 tokens

earnings-recap

Generate a post-earnings analysis for any stock using Yahoo Finance data. Use when the user wants to review what happened after earnings, understand beat/miss results, see stock reaction, or get an earnings recap. Triggers: "AAPL earnings recap", "how did TSLA earnings go", "MSFT earnings results", "did NVDA beat…

himself65/finance-skills · 186 tokens