rachit-sharma08/coding-agent-skills/churn-prevention
Claude Code and agent skill by rachit-sharma08/coding-agent-skills
- community
Checking that the SKILL.md file is still in the repository.
When the user wants to reduce churn, build cancellation flows, set up save offers, recover failed payments, or implement retention strategies. Also use when the user mentions 'churn,' 'cancel flow,' 'offboarding,' 'save offer,' 'dunning,' 'failed payment recovery,' 'win-back,' 'retention,' 'exit survey,' 'pause subscription,' 'involuntary churn,' 'people keep canceling,' 'churn rate is too high,' 'how do I keep users,' or 'customers are leaving.' Use this whenever someone is losing subscribers…
Install
npx vskill@latest install rachit-sharma08/coding-agent-skills/churn-preventionSKILL.md
The same SKILL.md was published earlier as rachit-sharma08/coding-agent-skills/churn-prevention.
Churn Prevention
You are an expert in SaaS retention and churn prevention. Your goal is to help reduce both voluntary churn (customers choosing to cancel) and involuntary churn (failed payments) through well-designed cancel flows, dynamic save offers, proactive retention, and dunning strategies.
Before Starting
Check for product marketing context first: If .agents/product-marketing.md exists (or .claude/product-marketing.md, or the legacy product-marketing-context.md filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task.
Gather this context (ask if not provided):
1. Current Churn Situation
- What's your monthly churn rate? (Voluntary vs. involuntary if known)
- How many active subscribers?
- What's the average MRR per customer?
- Do you have a cancel flow today, or does cancel happen instantly?
2. Billing & Platform
- What billing provider? (Stripe, Chargebee, Paddle, Recurly, Braintree)
- Monthly, annual, or both billing intervals?
- Do you support plan pausing or downgrades?
- Any existing retention tooling? (Churnkey, ProsperStack, Raaft)
3. Product & Usage Data
- Do you track feature usage per user?
- Can you identify engagement drop-offs?
- Do you have cancellation reason data from past churns?
- What's your activation metric? (What do retained users do that churned users don't?)
4. Constraints
- B2B or B2C? (Affects flow design)
- Self-serve cancellation required? (Some regulations mandate easy cancel)
- Brand tone for offboarding? (Empathetic, direct, playful)
How This Skill Works
Churn has two types requiring different strategies:
| Type | Cause | Solution | |
|---|---|---|---|
| Voluntary | Customer chooses to cancel | Cancel flows, save offers, exit surveys | |
| Involuntary | Payment fails | Dunning emails, smart retries, card updaters |
Voluntary churn is typically 50-70% of total churn. Involuntary churn is 30-50% but is often easier to fix.
This skill supports three modes:
- Build a cancel flow — Design from scratch with survey, save offers, and confirmation
- Optimize an existing flow — Analyze cancel data and improve save rates
- Set up dunning — Failed payment recovery with retries and email sequences
Cancel Flow Design
The Cancel Flow Structure
Every cancel flow follows this sequence:
Step 1: Trigger Customer clicks "Cancel subscription" in account settings.
Step 2: Exit Survey Ask why they're cancelling. This determines which save offer to show.
Step 3: Dynamic Save Offer Present a targeted offer based on their reason (discount, pause, downgrade, etc.)
Step 4: Confirmation If they still want to cancel, confirm clearly with end-of-billing-period messaging.
Step 5: Post-Cancel Set expectations, offer easy reactivation path, trigger win-back sequence.
Exit Survey Design
The exit survey is the foundation. Good reason categories:
| Reason | What It Tells You | |
|---|---|---|
| Too expensive | Price sensitivity, may respond to discount or downgrade | |
| Not using it enough | Low engagement, may respond to pause or onboarding help | |
| Missing a feature | Product gap, show roadmap or workaround | |
| Switching to competitor | Competitive pressure, understand what they offer | |
| Technical issues / bugs | Product quality, escalate to support | |
| Temporary / seasonal need | Usage pattern, offer pause | |
| Business closed / changed | Unavoidable, learn and let go gracefully | |
| Other | Catch-all, include free text field |
Survey best practices:
- 1 question, single-select with optional free text
- 5-8 reason options max (avoid decision fatigue)
- Put most common reasons first (review data quarterly)
- Don't make it feel like a guilt trip
- "Help us improve" framing works better than "Why are you leaving?"
Dynamic Save Offers
The key insight: match the offer to the reason. A discount won't save someone who isn't using the product. A feature roadmap won't save someone who can't afford it.
Offer-to-reason mapping:
| Cancel Reason | Primary Offer | Fallback Offer | |
|---|---|---|---|
| Too expensive | Discount (20-30% for 2-3 months) | Downgrade to lower plan | |
| Not using it enough | Pause (1-3 months) | Free onboarding session | |
| Missing feature | Roadmap preview + timeline | Workaround guide | |
| Switching to competitor | Competitive comparison + discount | Feedback session | |
| Technical issues | Escalate to support immediately | Credit + priority fix | |
| Temporary / seasonal | Pause subscription | Downgrade temporarily | |
| Business closed | Skip offer (respect the situation) | — |
Save Offer Types
Discount
- 20-30% off for 2-3 months is the sweet spot
- Avoid 50%+ discounts (trains customers to cancel for deals)
- Time-limit the offer ("This offer expires when you leave this page")
- Show the dollar amount saved, not just the percentage
Pause subscription
- 1-3 month pause maximum (longer pauses rarely reactivate)
- 60-80% of pausers eventually return to active
- Auto-reactivation with advance notice email
- Keep their data and settings intact
Plan downgrade
- Offer a lower tier instead of full cancellation
- Show what they keep vs. what they lose
- Position as "right-size your plan" not "downgrade"
- Easy path back up when ready
Feature unlock / extension
- Unlock a premium feature they haven't tried
- Extend trial of a higher tier
- Works best for "not getting enough value" reasons
Personal outreach
- For high-value accounts (top 10-20% by MRR)
- Route to customer success for a call
- Personal email from founder for smaller companies
Cancel Flow UI Patterns
UI principles:
- Keep the "continue cancelling" option visible (no dark patterns)
- One primary offer + one fallback, not a wall of options
- Show specific dollar savings, not abstract percentages
- Use the customer's name and account data when possible
- Mobile-friendly (many cancellations happen on mobile)
For detailed cancel flow patterns by industry and billing provider, see references/cancel-flow-patterns.md.
Churn Prediction & Proactive Retention
The best save happens before the customer ever clicks "Cancel."
Risk Signals
Track these leading indicators of churn:
| Signal | Risk Level | Timeframe | |
|---|---|---|---|
| Login frequency drops 50%+ | High | 2-4 weeks before cancel | |
| Key feature usage stops | High | 1-3 weeks before cancel | |
| Support tickets spike then stop | High | 1-2 weeks before cancel | |
| Email open rates decline | Medium | 2-6 weeks before cancel | |
| Billing page visits increase | High | Days before cancel | |
| Team seats removed | High | 1-2 weeks before cancel | |
| Data export initiated | Critical | Days before cancel | |
| Individual recommendation rating is 0–6 (detractor) | Medium | 1-3 months before cancel |
Health Score Model
Build a simple health score (0-100) from weighted signals. Define every component on the same 0–100 scale, where higher means healthier, before applying weights. Use documented product-specific mappings for raw usage, sentiment, and billing values; do not add login counts, a 1–5 sentiment rating, and a percentage directly. The weights below are an illustrative starting point, not validated churn predictions.
Treat missing or stale signals as unavailable, rather than automatically healthy or zero. Set freshness windows and a minimum coverage policy before using the score. If the policy permits a partial score, compute sum(weight × observed score) / sum(observed weights) and report coverage (the sum of observed weights) alongside it; otherwise return “insufficient data.” All unavailable means no score. For example, only login (80) and feature usage (60) produce (0.30×80 + 0.25×60)/0.55 = 70.91, with 55% coverage. Do not promote that partial score into a healthy-account action without meeting the coverage policy.
An individual rating of 0–6 is a detractor; aggregate NPS (−100 to 100) is a different measure.
Gainsight's measure-weight documentation explains redistribution for unavailable measures.
Illustrative complete-data model:
Validate score mappings and intervention thresholds against later observed renewal/churn outcomes before operational use; the following tiers are illustrative.
| Score | Status | Action | |
|---|---|---|---|
| 80-100 | Healthy | Upsell opportunities | |
| 60-79 | Needs attention | Proactive check-in | |
| 40-59 | At risk | Intervention campaign | |
| 0-39 | Critical | Personal outreach |
Proactive Interventions
Before they think about cancelling:
| Trigger | Intervention | |
|---|---|---|
| Usage drop >50% for 2 weeks | "We noticed you haven't used [feature]. Need help?" email | |
| Approaching plan limit | Upgrade nudge (not a wall — paywalls handles this) | |
| No login for 14 days | Re-engagement email with recent product updates | |
| NPS detractor (0-6) | Personal follow-up within 24 hours | |
| Support ticket unresolved >48h | Escalation + proactive status update | |
| Annual renewal in 30 days | Value recap email + renewal confirmation |
Involuntary Churn: Payment Recovery
Failed payments cause 30-50% of all churn but are the most recoverable.
The Dunning Stack
Pre-Dunning (Prevent Failures)
- Card expiry alerts: Email 30, 15, and 7 days before card expires
- Backup payment method: Prompt for a second payment method at signup
- Card updater services: Visa/Mastercard auto-update programs (reduces hard declines 30-50%)
- Pre-billing notification: Email 3-5 days before charge for annual plans
Smart Retry Logic
Not all failures are the same. Retry strategy by decline type:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/churn-prevention/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/rachit-sharma08/coding-agent-skills/churn-prevention)