← Back to library

Design a cancel flow, save offers and payment recovery

coreyhaines31's churn-prevention skill in the marketingskills GitHub repo helps subscription teams design cancel flows. It covers exit surveys, save offers matched to the reason given, pause options, dunning for failed cards, and win-back steps for people who still leave the product.

  • OutcomeA cancellation flow with an exit survey and fair save offers, plus a dunning plan for failed card payments.
  • SetupMinutes
  • LevelStarter
  • Creditcoreyhaines31
View original
Works with
Claude CodeClaude

Published Oct 20, 2026Updated Oct 20, 2026AI dry run on sample input: passed Oct 20, 2026Source verified Oct 24, 2026

When should you use it?

  • Customers cancel and you never learn why
  • Failed card payments quietly end subscriptions
  • You want a pause option instead of losing the customer

Not for: Making cancellation hard: offers must be optional and canceling must stay simple

What do you need, and what do you get?

You need

  • Monthly churn split into voluntary and failed-payment if you have it
  • Your billing tool and plans
  • Top cancellation reasons

You get

  • Cancel-flow design with exit survey
  • Save offer per cancel reason
  • Dunning email and retry plan
  • Win-back steps

How does it work, step by step?

  1. Install the skillIn a terminal: npx skills add coreyhaines31/marketingskills --skill churn-prevention. It installs as an Agent Skill for Claude Code and other agents that read SKILL.md files.
  2. Add your product contextThe skill looks for a product-marketing context file first; create one with your product, audience and positioning so it asks fewer questions.
  3. Customize itGive it your churn numbers and top cancel reasons, and say which offers you can afford (discount, pause, downgrade).
  4. Run itAsk for the task in plain language and review the output before anything is published or sent.

The prompt

Our adapted version, written to work in Claude Code and Claude. Values in lime are placeholders.

Fill in the blanks (optional; the copied prompt uses your values)

Prompt6 variables
Use the churn-prevention skill for {product}.
Churn: {monthly_churn} per month, of which {failed_payment_share} is failed payments. Billing tool: {billing_tool}. Top cancel reasons: {cancel_reasons}. Offers we can afford: {allowed_offers}.
Design an exit survey, one optional save offer per reason, a dunning retry and email plan, and a win-back step. Canceling must stay simple, with offers skippable.

The original skill is published by coreyhaines31 on GitHub (coreyhaines31/marketingskills). Open it there to install or import it; the prompt above is our own adaptation.

What can go wrong?

  • Check click-to-cancel and automatic-renewal rules where your customers are; a save offer must never block canceling.
  • Discount-heavy offers train customers to threaten to cancel.

Our take

Most small subscription businesses treat churn as one number, but it's two problems with different fixes. People who choose to leave need a reason-specific response; people whose card fails often never meant to leave at all. This skill plans both, and the failed-payment side is usually the quickest to sort out, because it's configuration in the billing tool plus a few emails. In our dry run for a sample bookkeeping-software subscription with 4% monthly churn, a third of it from failed payments, it proposed a four-question exit survey, a pause option for 'too busy', a downgrade for 'too expensive', a retry schedule with three dunning emails, and a win-back email at 30 days. It did not promise a recovery rate. We added one rule: canceling must stay one click from the account page, with any offer shown once and skippable. Measure it by cancellation reasons and recovered payments month by month, not by save-offer acceptance alone. A flow that saves customers who leave a month later hasn't saved anything, so track how long saved customers stay.

Where the time goes back: Failed-payment recovery is usually set up once and then left running in the billing tool.

FAQ

Is a save offer manipulative?
Not if it's one clear, optional offer matched to the reason and the cancel button stays visible. The skill's flows are a starting point; check them against consumer-protection rules.
Which agents can use this skill?
It is a SKILL.md file, so Claude Code and other agents that support Agent Skills can load it. In a chat assistant you can paste our prompt instead.

Source and credit

This playbook is based on work by coreyhaines31. We summarize it and link to it and write our own adapted prompt.

Original
churn-prevention skill · coreyhaines31/marketingskills
Creator
coreyhaines31
Published on
GitHub (coreyhaines31/marketingskills)
Original date
Feb 18, 2026
License
MIT
Originally for
Claude Code
AI dry run
Oct 20, 2026: passed. Dry-run tested by our AI test agent on sample input. Cancel stays one click; offers skippable.
Agent dry run of the published SKILL.md: fetched from the source repo, its steps followed on a realistic synthetic input, output checked against the skill's format and our guardrails. Plugin install inside Claude Cowork/Code not exercised.
Verified
Oct 24, 2026: source link resolves to the original, the credited creator published it, our excerpt or prompt matches it, and the license allows our use.

The original is licensed under the MIT License (Copyright (c) 2025 Corey Haines). Modified: our adapted prompt and summary are our own wording; the original is unchanged at the source link.

Are you the creator? Claim or correct this page.

More in Customer Success

All 8 Customer Success playbooks →

Related playbooks

Customer SuccessPrompt✓ AI dry run

Send your buyer a phone-friendly list of contract deadlines

Give the ratification date and the key contingency deadlines and get a friendly email to your buyer that lists each date in order, says what happens at each step and what the buyer must do.

Credit: David Stroh

Minutes
Customer SuccessPrompt✓ AI dry run

Spot early signs of customer churn

Review 90 days of usage data and flag accounts showing risk, with the reason for each.

Credit: OpenAI Academy

Under an hour
Customer SuccessWorkflow✓ AI dry run

Analyze a few thousand app reviews inside a code editor

Turn a CSV of customer reviews into ranked complaints, a severity-by-frequency grid and a journey map in about half a minute, then prototype from the findings.

Credit: Eric Xiao

Minutes
Finance & AccountingWorkflow✓ AI dry run

Side-business finance admin with a payment approval queue

Connect your business bank and accounting app to an assistant so invoices go out on request and contractor payments wait in a queue for your approval.

Credit: u/Status_Break_4512 on r/thesidehustle

Under an hour