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.
npx skills add finsilabs/awesome-ecommerce-skills --skill customer-lifetime-valuegit clone --depth 1 https://github.com/finsilabs/awesome-ecommerce-skillsWrote 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.
[](https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/customer-lifetime-value)<a href="https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/customer-lifetime-value"><img src="https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/customer-lifetime-value/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.
<a href="https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/customer-lifetime-value"><img src="https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/customer-lifetime-value.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00028 | $0.02928 |
| Opus 5 | $0.00014 | $0.01464 |
| Sonnet 5 | $0.00006 | $0.00586 |
| Haiku 4.5 | $0.00003 | $0.00293 |
Grade A, and why
customer-lifetime-value 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 12d 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.
How it starts
The opening of the file, as written. The whole thing — 244 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Customer Lifetime Value
Overview
Customer Lifetime Value (CLV) tells you the total net revenue expected from a customer over their relationship with your store, enabling smarter decisions on acquisition spend, retention investment, and customer tier management. Most platforms calculate historical CLV (total spent to date) natively. For predictive CLV and churn risk scoring, use a dedicated analytics app (Klaviyo, Metorik, Triple Whale) or build a custom model for stores with 10k+ customers.
When to Use This Skill
- When setting CAC targets for acquisition channels based on expected return
- When building a VIP tier program that needs a quantitative threshold
- When predicting which customers are likely to churn and triggering win-back automation
- When calculating the ROI of retention programs (loyalty points, VIP benefits)
- When segmenting customers by predicted future value rather than historical spend alone
Core Instructions
Step 1: Determine platform and choose the right CLV tool
| Platform | Historical CLV | Predictive CLV |
|---|---|---|
| Shopify | Built-in: Admin → Analytics → Customers (shows lifetime spend) | Triple Whale, Lifetimely, or Klaviyo for predictive scoring |
| WooCommerce | Metorik or WooCommerce Analytics → Customers report | Metorik Pro for churn prediction; Klaviyo integration for CLV-based flows |
| BigCommerce | Built-in customer analytics; Google Analytics 4 for cohort analysis | Klaviyo or Metorik for predictive CLV |
| Custom / Headless | Build SQL queries against your order database | Build a parametric or BG/NBD model against your historical data |
Step 2: Access and track historical CLV
Historical CLV is the sum of all revenue from a customer. Platforms show this natively.
Shopify
- Go to Admin → Analytics → Reports → Customers over time — shows total customers, orders, and revenue by cohort
- Go to Admin → Customers → [Customer] — each customer profile shows total spent, order count, and last order date
- For bulk export: go to Customers → Export — the CSV includes
Total SpentandNumber of Ordersper customer
What ships with it
7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- evals/bg-nbd-probabilistic-clv-model-with-life/criteria.json 2.5 KB
- evals/bg-nbd-probabilistic-clv-model-with-life/task.md 3.1 KB
- evals/parametric-clv-and-churn-probability-cal/criteria.json 2.8 KB
- evals/parametric-clv-and-churn-probability-cal/task.md 1.9 KB
- evals/retention-automation-and-clv-based-tier-/criteria.json 2.6 KB
- evals/retention-automation-and-clv-based-tier-/task.md 2.0 KB
- tile.json 237 B
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.
- 12d ago First seen · 244 lines · 28 tokens per session scan A e84420fed303
customer-lifetime-value is a skill published in the GitHub repository finsilabs/awesome-ecommerce-skills (52 stars, last pushed 6mo ago), licensed MIT. It adds 28 tokens to every session and 2,928 once invoked, about $0.0001 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-30.
Other skills, from other repositories
Churn Predictor
Predict customer churn risk using behavioral signals, engagement data, and predictive analytics.
Churn Predictor
Predict customer churn risk using behavioral signals, engagement data, and predictive analytics.
retention
Use when revenue is leaking out the bottom of the funnel and you need a program to keep, score and win back customers — a customer health score, NPS, catching churn signals before renewal, a cancellation save flow, or a win-back sequence, and reading GRR against NRR. NOT working a single live churn-risk ticket in the…
saas-growth-playbook
The revenue-focused SaaS playbook for going from $0 to $50K MRR. Covers pricing experiments, churn reduction, activation optimization, and expansion revenue tactics. Follow @WeiYipei on X for SaaS growth insights.
re-engagement-email-writer
Writes a targeted re-engagement email (or short sequence of two emails) for subscribers who have stopped opening the newsletter, designed to recover attention or prompt a clean unsubscribe before list hygiene becomes a deliverability problem.
Customer Success Manager
Manage customer relationships, track health scores, prevent churn, and drive expansion.