Agents/Retention/retention-audit
See which customers keep coming back, and why
retention-audit builds cohort retention curves from your analytics or a CSV and checks whether each one flattens or leaks to zero. It splits the curves by segment, then compares the people who stay with the people who leave. One page shows who they are, what they said and what to ask next.
08 RetentionEvery figure comes from the run’s files. The app has no users yet, so the agent invented the activity to rehearse the read.
Example
See a full run for a startup that sells to companies and one that sells to consumers
Each run shows the brief it started from, the cohorts it read, the curve per segment, who stays against who leaves, and the questions you can open.
Ruleyard and Kelvane are invented startups with no users yet. Every account, person, curve and quote in these runs is invented test data, generated to rehearse the read.
Steps
Name the action that means value and share the data. Claude draws the rest
Agrees the value action and the window
The action that means a customer got value. A login does not count. The window follows how often the value happens: weekly for a weekly report, 4-week blocks for something done once a month.
Active means value action, counted per week. Logging in won’t count. Agreed?
Agreed.
Connect your analytics or export two tables
With PostHog, Mixpanel, Amplitude or GA4 connected, the agent pulls the data itself. Without one, export the two tables it names and say “continue the retention curve”.
Draws the curve, overall and per segment
Weeks since sign-up across, the share still doing the value action up, with the moments that cut it marked. A curve that flattens above zero is the signal. One that keeps falling to zero is a leaky bucket.
Splits the people who stay from the people who leave
Stayers did the value action in most late windows. Leavers did it early, then stopped. Every trait the data holds is shown as stayers against leavers, and the biggest gaps say who the product is for.
Puts it on one page with what to ask next
Who they are, what the stayers said in the PMF survey, why the leavers cancelled, and three questions for interviews: one per group that matters.
the traits that separate stayers from leavers
answers from pmf-survey, counted
cancel reasons from why-people-churn, labelled
Inputs
Start from your project brief and a record of what people do in your product
Your brief names the action that means a customer got value. The agent counts who keeps doing it, week after week.
Four lines about your product
What it is, in one sentence, and what it costs
The kinds that use it: the lines to split by
What a customer does that means they got value
How many are active, and since when
A login does not count as value.
Sign-ups and value actions, per person
- Sign-ups, grouped into cohorts
- The value action, per week or month
- The segment of each person
PostHogMixpanelAmplitudeGA4
No analytics tool connected? Export one table of users and one of value actions, and attach them.
Survey answers and cancel reasons, if you have them
Joined to the two groups, so the page shows why as well as who.
Also read, if it exists: your assumption board. The agent updates it with what the curves show.
No project brief yet? The agent asks five questions in one message
- What is the product, in one sentence, and what does it cost?
- Which kinds of customer use it? Type, size or use case.
- What does a customer do that means they got value? A login doesn’t count.
- How many active users or customers, and since when?
- What data do you have: an analytics tool, Stripe, survey answers, a spreadsheet export?
Short answers are fine. The agent marks them HYPOTHESIS and gives them back as a short project brief for you to save.
Connectors
Connect your analytics to read retention straight from the source
PostHog, Mixpanel and Amplitude each have a free tier and connect to Claude. With one connected, the agent asks for retention by cohort itself and splits it by segment.
PostHog, Mixpanel or Amplitude
OptionalAnswers the agent’s questions about retention by sign-up cohort, where active means your value action. GA4 works the same way.
Outputs
Get the curve, who stays, who leaves and why, on one page
The retention curve, overall and per segment
With the moments that cut it marked, such as the trial ending. The table beside it uses the same segments and the same points.
Who stays and who leaves
Every trait the data holds, stayers against leavers. The biggest gaps describe who the product is for. Traits with no gap are named too.
What they said, and what to ask next
The survey answers of both groups and the cancel reasons of the leavers, counted, plus three questions for interviews.
The cost of keeping each segment
What one customer costs to serve per month against what they pay. Fit that loses money on every active user is not fit yet.
Retention: [segment] [share] active per [window]; flattens from [window], or leaks to zero.
Cost: [segment] costs [amount] a month to serve and pays [price].
Level: L1 to L4, and what to optimise at it.
The customer section is updated where the stayers say so, and the assumption board with the same evidence.
In Claude.ai the agent cannot write files, so it gives you the changed sections as text. Save them in your Project.
Best practice
Count the action that means value, draw the curve and split it every time
Count the action that means value
Creating a report counts. Logins happen whatever the product does, so they overstate retention.
Match the window to how often the value happens
Weekly for a weekly habit, 4-week blocks for a monthly one. A cohort younger than three windows cannot show a flat line yet.
Always draw the curve
A table of segment shares is no substitute. The chart and the table show the same segments, measured the same way.
Split every curve by segment
A blended curve can hide one segment that stays and another that leaves. Use segments that add up to all users.
Read a flat line above zero as the signal
A curve that keeps falling to zero is a leaky bucket, whatever the sign-ups say. Clubhouse had 9.6M downloads in February 2021 and 922k in April.
Check what each segment costs to serve
AI products pay for every use. With no numbers to hand, divide last month’s model and hosting invoices by that month’s active customers.
Next
Take who stays and who leaves into churn interviews and the decision to pivot
Your product, customer and problem, written once.
The survey answers it joins to stayers and leavers.
Whether people keep coming back, and who they are.
Next in line: asks the leavers why, in your cancel flow.
Sets the curves against what your plan still assumes.
Starts from the biggest drop and turns it into this week’s bets.
Questions
What founders ask about retention-audit
Which tools can it read?
PostHog, Mixpanel, Amplitude or GA4 through a connector. Without one, a CSV with one row per user (user id, sign-up date, segment) and one row per value action (user id, date). Your analytics tool exports it, or whoever built the product writes one database query.
What counts as active?
The action that means a customer got value, such as creating a report. You agree it with the agent before anything is computed. Logging in does not count.
When does a curve count as flat?
When the share still active stays within a few points for three windows or more. Cohorts younger than that cannot show it yet, and the agent says so instead of guessing.
Why compare the people who stay with the people who leave?
The curve shows how many stay. The comparison shows who: the traits with the biggest gap between the two groups describe who the product is for. Joined to the survey answers and cancel reasons, it also shows why.
Can it tell me what a customer costs to keep?
Yes. For each segment it works out what one customer costs to serve per month (model and infrastructure) against what they pay. With no numbers to hand, it asks for last month’s invoices and the number of active customers that month.
Where does the result go?
Into the Evidence section of your project brief: the retention per segment, the cost and margin per segment, and your level of fit. The other agents read it from there.
