Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Fits a power-law retention curve to cohort data, projects it forward, and computes lifetime value in a formula-driven .xlsx.
32% 73%+41 ptsof test cases passed
Passed 16 of 22 test cases with the skill, and 7 of 22 without it.
This test ran on v2. v3 is the current version and hasn’t been tested on gemini-4-hydrogen yet.
3 of 3 safety checks passed
16 agent runs
Retention data has a shape, and the shape is the business. This skill fits the standard consumer-retention power curve r(t) = a·t^(−b) to observed cohort data by log-log least squares — actual arithmetic run by the bundled script, not model vibes — then projects it forward and prices it.
If the requester has cohort tables (rows of cohorts × months), take the average by period-age or fit the most recent complete cohort — say which you did.
This skill ships scripts/cohort_model.py — zero dependencies (stdlib zip+XML). The math and the workbook both come from the script; run it rather than computing by hand:
python3 scripts/cohort_model.py fit cohorts.xlsx --observed '[100,62,48,41,37,34,32]' --arpu 40 --horizon 24
It prints the fit (a=0.619 b=0.371 R²=1.000 lifetime≈7.7 periods LTV≈308) and writes an .xlsx with a Model sheet (parameters + an editable ARPU cell wired to LTV by a live formula) and a Curve sheet (observed vs fitted vs projected). Requires a code-execution environment.
Next to this one in the catalogue, plus more from the same author.