/churn-preventionChurn prevention
Reduces churn with cancel flows, save offers and payment recovery.
Plans automated email flows from welcome to win-back.
$ npx skills add coreyhaines31/marketingskills --skill emailsOpen your project folder in a terminal and paste this. Claude then uses the skill when a task calls for it. Add -g to install it for every project.
The original as published on GitHub. The summary above is Velin's.
You are an expert in email marketing and automation. Your goal is to create email sequences that nurture relationships, drive action, and move people toward conversion.
Load the matching reference before drafting or auditing the relevant part of a sequence. Combine references when the request includes both flow design and individual email copy.
| User intent | Load | Covers |
|---|---|---|
| Build a welcome, lead nurture, re-engagement, or product onboarding flow | sequence-templates.md | Sequence goals, timing, email order, and conversion actions |
| Identify missing lifecycle emails or audit onboarding, retention, billing, usage, win-back, or campaigns | email-types.md | Email purposes, triggers, audiences, and the lifecycle audit checklist |
| Write or edit individual emails within a sequence; improve CTA, personalization, or segmentation | copy-guidelines.md | Structure, tone, length, merge fields, dynamic content, and copy testing |
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.
Check its Learnings section before drafting: angles, offers, and formats already tested there shouldn't be re-proposed as new ideas, and active lessons apply unless the user says otherwise.
Before creating a sequence, understand:
Sequence Type
Audience Context
Goals
Depends on:
Consider:
Patterns that work:
Length: 5-7 emails over 12-14 days Goal: Activate, build trust, convert
Key emails:
Length: 6-8 emails over 2-3 weeks Goal: Build trust, demonstrate expertise, convert
Key emails:
Length: 3-4 emails over 2 weeks Trigger: 30-60 days of inactivity Goal: Win back or clean list
Key emails:
Length: 5-7 emails over 14 days Goal: Activate, drive to aha moment, upgrade Note: Coordinate with in-app onboarding—email supports, doesn't duplicate
Key emails:
For detailed templates: See references/sequence-templates.md
For detailed email type reference: See references/email-types.md
Subscribers learn to recognize generated email fast, and they stop reading. Write from the specific thing you want them to know or do.
Never write these:
Email-specific tells:
For the full blacklist, use the copywriting skill's AI-tells reference.
For detailed copy, personalization, and testing guidelines: See references/copy-guidelines.md
Sequence Name: [Name]
Trigger: [What starts the sequence]
Goal: [Primary conversion goal]
Length: [Number of emails]
Timing: [Delay between emails]
Exit Conditions: [When they leave the sequence]
Email [#]: [Name/Purpose]
Send: [Timing]
Subject: [Subject line]
Preview: [Preview text]
Body: [Full copy]
CTA: [Button text] → [Link destination]
Segment/Conditions: [If applicable]
What to measure and benchmarks
For implementation, see the tools registry. Key email tools:
| Tool | Best For | MCP | Guide |
|---|---|---|---|
| Customer.io | Behavior-based automation | - | customer-io.md |
| Mailchimp | SMB email marketing | ✓ | mailchimp.md |
| Nitrosend | AI-native email (sequences via prompts) | ✓ | nitrosend.md |
| Resend | Developer-friendly transactional | ✓ | resend.md |
| SendGrid | Transactional email at scale | - | sendgrid.md |
| Kit | Creator/newsletter focused | - | kit.md |
{
"skill_name": "emails",
"evals": [
{
"id": 1,
"prompt": "Create a welcome email sequence for new users who sign up for our project management tool's free trial. The trial is 14 days. We want to get them to their aha moment (creating their first project and inviting a team member).",
"expected_output": "Should check for product-marketing.md first. Should create a welcome sequence (5-7 emails) following the core principles: one email one job, value before ask. Should map each email to a specific goal in the 14-day trial journey. Should include timing/delays between emails. Each email should follow the email copy structure: hook → context → value → CTA → sign-off. Should include subject lines following the subject line strategy. Should align sequence with the aha moment (first project + team invite). Output should follow the structured format with sequence overview and per-email specs.",
"assertions": [
"Checks for product-marketing.md",
"Creates 5-7 email welcome sequence",
"Follows one email one job principle",
"Maps emails to trial timeline (14 days)",
"Includes timing between emails",
"Each email has hook, context, value, CTA",
"Includes subject lines for each email",
"Aligns with stated aha moment",
"Output follows structured per-email format"
],
"files": []
},
{
"id": 2,
"prompt": "We need a lead nurture sequence for people who download our 'State of DevOps 2024' report. Goal is to get them to book a demo of our CI/CD platform.",
"expected_output": "Should create a lead nurture sequence (6-8 emails). Should follow value before ask — first emails should provide related value, not immediately push for demo. Should map the sequence from awareness (report download) through consideration (related content, case studies) to decision (demo request). Should include timing between emails. Each email should have clear subject line, hook, single CTA. Should gradually increase commitment asks across the sequence.",
"assertions": [
"Creates 6-8 email lead nurture sequence",
"Follows value before ask principle",
"Maps from awareness through consideration to decision",
"Includes timing between emails",
"Each email has clear subject line and single CTA",
"Gradually increases commitment asks",
"Connects to original download topic"
],
"files": []
},
{
"id": 3,
"prompt": "our email open rates have tanked. used to be 35% now we're at 18%. what's going on and how do we fix our subject lines?",
"expected_output": "Should trigger on casual phrasing. Should diagnose potential causes of declining open rates: sender reputation, list hygiene, subject line quality, sending frequency, deliverability issues. Should apply the subject line strategy from the skill: test curiosity vs benefit vs urgency patterns, personalization, optimal length. Should recommend a re-engagement campaign to clean the list. Should provide specific subject line formulas and examples. Should suggest testing framework for subject lines.",
"assertions": [
"Triggers on casual phrasing",
"Diagnoses potential causes beyond just subject lines",
"Addresses sender reputation and deliverability",
"Recommends list hygiene or re-engagement",
"Applies subject line strategy with specific patterns",
"Provides subject line formulas and examples",
"Suggests testing framework"
],
"files": []
},
{
"id": 4,
"prompt": "Build a re-engagement sequence for subscribers who haven't opened any emails in 90 days. We have about 5,000 inactive subscribers.",
"expected_output": "Should create a re-engagement sequence (3-4 emails). Should follow the re-engagement pattern: first email acknowledges absence and offers value, middle emails escalate with compelling reasons to re-engage, final email is a clear 'last chance' before removal. Should recommend aggressive subject lines to break through. Should include a sunset policy (remove non-responders after sequence completes). Should address the impact on deliverability of keeping inactive subscribers.",
"assertions": [
"Creates 3-4 email re-engagement sequence",
"Acknowledges absence in first email",
"Escalates through the sequence",
"Includes 'last chance' final email",
"Recommends sunset policy for non-responders",
"Addresses deliverability impact of inactive subscribers",
"Uses compelling subject lines"
],
"files": []
},
{
"id": 5,
"prompt": "What's the ideal timing for our onboarding email sequence? We send the first email immediately after signup, but we're not sure about the rest.",
"expected_output": "Should provide timing guidance for onboarding sequences. Should reference the timing and delays framework: immediate first email (welcome/confirmation), then suggest data-driven timing based on user behavior triggers vs fixed time delays. Should recommend behavior-triggered emails when possible (user completed action → next email) with time-based fallbacks. Should provide typical timing patterns for SaaS onboarding (day 0, day 1, day 3, day 5, day 7, etc.). Should note that optimal timing depends on product complexity and trial length.",
"assertions": [
"Provides timing guidance for onboarding sequences",
"Recommends immediate first email",
"Discusses behavior-triggered vs time-based timing",
"Provides typical timing patterns",
"Notes timing depends on product and trial length",
"Recommends behavior triggers with time-based fallbacks"
],
"files": []
},
{
"id": 6,
"prompt": "Help me optimize our post-signup onboarding experience. Users sign up but 60% never complete setup.",
"expected_output": "Should recognize this is an in-app onboarding optimization task, not an email sequence task. Should defer to or cross-reference the onboarding skill, which handles in-app onboarding flows, checklists, and activation optimization. May offer to help with the email component of onboarding but should make clear that onboarding is the primary skill for this task.",
"assertions": [
"Recognizes this as in-app onboarding optimization",
"References or defers to onboarding skill",
"Does not attempt full onboarding redesign using email patterns",
"May offer email component support"
],
"files": []
},
{
"prompt": "Write the first email of a welcome sequence for our meal-planning app, with a subject line and preview text.",
"expected_output": "Should write a welcome email with a specific subject line and preview text that avoid AI tells: no fake 'Re:'/'Fwd:', no curiosity bait or hype emoji, no em dashes. The body should open with the reason for writing (no 'I hope this email finds you well'), avoid contrast reveals, negation lists, and self-answered questions, and end with one specific action rather than 'feel free to reach out'.",
"assertions": [
"Subject line has no fake Re:/Fwd:, bait, or em dash",
"No stock opener",
"No contrast reveal or negation list",
"Ends with one specific action"
],
"files": [],
"id": 7
}
]
}
A comprehensive guide to lifecycle and campaign emails. Use this as an audit checklist and implementation reference.
Trigger: User signs up (free or trial) Goal: Activate user, drive to aha moment Typical sequence: 5-7 emails over 14 days
Key metrics: Activation rate, feature adoption
Trigger: User converts to paid Goal: Reinforce purchase decision, drive adoption, reduce early churn Typical sequence: 3-5 emails over 14 days
Key point: Different from new user series—they've committed. Focus on reinforcement and expansion, not conversion.
Trigger: User hasn't completed critical setup step after X time Goal: Nudge completion of high-value action Format: Single email or 2-3 email mini-sequence
Example triggers:
Copy approach:
Trigger: Existing user invites teammate Goal: Activate the invited user Recipient: The person being invited
Copy approach:
Trigger: Free user shows engagement, or trial ending Goal: Convert free to paid Typical sequence: 3-5 emails
Trigger options:
Sequence structure:
Trigger: User approaching plan limits or using features available on higher tier Goal: Upsell to next tier Format: Single email or 2-3 email sequence
Trigger examples:
Copy approach:
Trigger: Customer milestone (30/60/90 days, key achievement, support resolution) Goal: Generate social proof on G2, Capterra, app stores Format: Single email
Best timing:
Copy approach:
Trigger: Signs of struggle (drop in usage, failed actions, error encounters) Goal: Save at-risk user, improve experience Format: Single email
Trigger examples:
Copy approach:
Trigger: Time-based (weekly, monthly, quarterly) Goal: Demonstrate value, drive engagement, reduce churn Format: Single email, recurring
What to include:
Examples:
Key point: Make them feel good and remind them of value delivered.
Trigger: Time-based (quarterly) or event-based (post-milestone) Goal: Measure satisfaction, identify promoters and detractors Format: Single email
Best practices:
Follow-up based on score:
Trigger: Customer milestone, promoter NPS score, or campaign Goal: Generate referrals Format: Single email or periodic reminders
Good timing:
Copy approach:
Trigger: Monthly subscriber at renewal time or campaign Goal: Convert monthly to annual (improve LTV, reduce churn) Format: Single email or 2-email sequence
Value proposition:
Best timing:
Trigger: Payment fails Goal: Recover revenue, retain customer Typical sequence: 3-4 emails over 7-14 days
Sequence structure:
Copy approach:
Key metrics: Recovery rate, time to recovery
Trigger: User cancels subscription Goal: Learn why, opportunity to save Format: Single email (immediate)
Options:
Questions to ask:
Winback opportunity: Based on reason, offer targeted save (discount, pause, downgrade, training).
Trigger: X days before renewal (14 or 30 days typical) Goal: No surprise charges, opportunity to expand Format: Single email
What to include:
Required for: Annual subscriptions, high-value contracts
Trigger: Time-based Goal: Drive engagement, demonstrate value Format: Single email, recurring
Content by frequency:
Structure:
Personalization: Must be relevant to their actual usage. Empty reports are worse than no report.
Trigger: Specific achievement or event Goal: Celebrate, drive continued engagement Format: Single email per event
Milestone examples:
Copy approach:
Trigger: Trial ended without conversion Goal: Convert or re-engage Typical sequence: 3-4 emails over 30 days
Sequence structure:
Segmentation: Different approach based on trial engagement level:
Trigger: Time after cancellation (30, 60, 90 days) Goal: Win back churned customers Typical sequence: 2-3 emails spread over 90 days
Sequence structure:
Copy approach:
Key point: They're more likely to return if their reason was addressed.
Trigger: Time-based (monthly) Goal: Engagement, brand presence, content distribution Format: Single email, recurring
Content mix:
Best practices:
Trigger: Calendar events (Black Friday, New Year, etc.) Goal: Drive conversions with timely offer Format: Campaign burst (2-4 emails)
Common opportunities:
Sequence structure:
Trigger: New feature release Goal: Adoption, engagement, demonstrate momentum Format: Single email per major release
What to include:
Segmentation: Consider targeting based on relevance:
Trigger: Time-based (weekly or monthly) Goal: Thought leadership, engagement, brand value Format: Curated newsletter
Content:
Best for: B2B products where customers care about industry trends.
Trigger: Price change announcement Goal: Transparent communication, minimize churn Format: Single email (or sequence for major changes)
Timeline:
Copy approach:
Important: Honesty and advance notice build trust even when price increases.
Use this to audit your current email program:
Detailed templates for common email sequences.
Email 1: Welcome (Immediate)
Email 2: Quick Win (Day 1-2)
Email 3: Story/Why (Day 3-4)
Email 4: Social Proof (Day 5-6)
Email 5: Overcome Objection (Day 7-8)
Email 6: Core Feature (Day 9-11)
Email 7: Conversion (Day 12-14)
Email 1: Deliver + Introduce (Immediate)
Email 2: Expand on Topic (Day 2-3)
Email 3: Problem Deep-Dive (Day 4-5)
Email 4: Solution Framework (Day 6-8)
Email 5: Case Study (Day 9-11)
Email 6: Differentiation (Day 12-14)
Email 7: Objection Handler (Day 15-18)
Email 8: Direct Offer (Day 19-21)
Email 1: Check-In (Day 30-60 of inactivity)
Email 2: Value Reminder (Day 2-3 after)
Email 3: Incentive (Day 5-7 after)
Email 4: Last Chance (Day 10-14 after)
Coordinate with in-app onboarding. Email supports, doesn't duplicate.
Email 1: Welcome + First Step (Immediate)
Email 2: Getting Started Help (Day 1)
Email 3: Feature Highlight (Day 2-3)
Email 4: Success Story (Day 4-5)
Email 5: Check-In (Day 7)
Email 6: Advanced Tip (Day 10-12)
Email 7: Upgrade/Expand (Day 14+)
Reduces churn with cancel flows, save offers and payment recovery.
Plans checklists, templates and guides people trade an email for.
Gets new users to their first real result faster after signup.