Churn predictor

From eddiebelaval/squire · View interactive version

Churn predictor is an AI agent skill from the GitHub repository eddiebelaval/squire. Predict customer churn risk using behavioral signals, engagement data, and predictive analytics

How to use this skill

Skill file

Churn Predictor

Expert churn prediction system that identifies at-risk customers before they leave using behavioral signals, engagement patterns, and predictive analytics. This skill provides structured workflows for building churn models, monitoring risk signals, and executing retention interventions.

Churn is the silent killer of growth. By the time a customer announces they're leaving, it's often too late. This skill helps you identify churn risk early when intervention can still make a difference, prioritize retention efforts, and systematically reduce churn.

Built on data science best practices and customer success methodologies, this skill combines leading indicator analysis, risk scoring, and intervention playbooks to predict and prevent churn before it happens.

Core Workflows

Workflow 1: Churn Signal Identification

Map the behaviors that predict churn

  1. Behavioral Signals

| Signal Type | Examples | Risk Level |

|-------------|----------|------------|

| Usage Decline | 30%+ drop in logins, sessions, actions | High |

| Feature Abandonment | Stopped using key features | Medium-High |

| Engagement Drop | No response to emails, missed meetings | Medium |

| Support Patterns | Spike in tickets, negative sentiment | High |

| Billing Issues | Failed payments, downgrade requests | High |

  1. Account Signals
  1. Relationship Signals
  1. Time-Based Signals

Workflow 2: Risk Scoring Model

Build a composite churn risk score

  1. Score Components

```

Churn Risk Score =

(Usage Score × 0.30) +

(Engagement Score × 0.25) +

(Support Score × 0.20) +

(Relationship Score × 0.15) +

(Account Score × 0.10)

Scale: 0-100 (higher = more at risk)

```

  1. Usage Score Factors
  1. Engagement Score Factors
  1. Risk Categories

| Score | Risk Level | Action |

|-------|------------|--------|

| 0-20 | Low | Standard monitoring |

| 21-40 | Moderate | Proactive outreach |

| 41-60 | Elevated | Intervention needed |

| 61-80 | High | Urgent save attempt |

| 81-100 | Critical | Executive escalation |

Workflow 3: Cohort & Trend Analysis

Understand churn patterns across customer segments

  1. Cohort Analysis
  1. Segment Analysis
  1. Churn Timing Patterns
  1. Leading Indicator Validation

Workflow 4: Alert & Escalation System

Surface risk at the right time to the right people

  1. Alert Triggers
  1. Escalation Matrix

| Risk Level | Owner | Escalation | Response SLA |

|------------|-------|------------|--------------|

| Moderate | CSM | None | 5 days |

| Elevated | CSM | Manager copy | 48 hours |

| High | CSM + Manager | VP briefed | 24 hours |

| Critical | Manager | VP/Exec sponsor | Same day |

  1. Alert Content
  1. Alert Channels

Workflow 5: Intervention Playbooks

Systematic approaches to save at-risk customers

  1. Intervention Matching

| Root Cause | Intervention |

|------------|--------------|

| Low adoption | Training, onboarding redo |

| Technical issues | Engineering escalation, workarounds |

| Value unclear | ROI analysis, executive alignment |

| Champion left | Relationship rebuild with new stakeholders |

| Pricing concerns | Discount, plan adjustment, payment terms |

| Competitive | Feature comparison, roadmap preview |

  1. Save Play Execution
  1. Intervention Tactics
  1. Outcome Tracking

Quick Reference

| Action | Command/Trigger |

|--------|-----------------|

| Check risk score | "Show churn risk for [Customer]" |

| List at-risk accounts | "Show accounts above [X] risk score" |

| Analyze churn patterns | "Analyze churn patterns by [segment]" |

| Review alerts | "Show churn alerts this week" |

| Create save plan | "Create intervention plan for [Customer]" |

| Score validation | "Validate churn model accuracy" |

| Cohort analysis | "Analyze retention by cohort" |

| Signal analysis | "Find leading churn indicators" |

| Trend report | "Show risk score trends" |

| Intervention report | "Report on save play outcomes" |

Best Practices

Signal Selection

Scoring Model

Alert Design

Intervention

Model Maintenance

Churn Signals Library

Usage Signals

| Signal | Calculation | Warning Threshold |

|--------|-------------|-------------------|

| Login decline | % change week-over-week | -30% for 2+ weeks |

| DAU/MAU ratio | Daily active / Monthly active | Below 0.2 |

| Feature breadth | # features used / available | Below 30% |

| Seat utilization | Active users / licensed seats | Below 50% |

| Session depth | Actions per session | Below baseline by 40% |

Engagement Signals

| Signal | Calculation | Warning Threshold |

|--------|-------------|-------------------|

| Email engagement | Open rate × Click rate | Below 5% |

| Meeting attendance | Attended / Scheduled | Below 60% |

| Response time | Avg days to respond | Above 5 days |

| QBR participation | Attended / Scheduled | Miss 2+ in row |

| Training completion | Completed / Available | Below 25% |

Support Signals

| Signal | Calculation | Warning Threshold |

|--------|-------------|-------------------|

| Ticket volume | Tickets / month | 3× baseline |

| Sentiment score | Negative / Total | Above 30% |

| Escalation rate | Escalated / Total | Above 20% |

| Resolution satisfaction | CSAT on resolved | Below 3/5 |

| Open ticket age | Avg days open | Above 7 days |

Relationship Signals

| Signal | Calculation | Warning Threshold |

|--------|-------------|-------------------|

| NPS change | Current - Previous | Drop of 3+ points |

| Health score | Composite score | Below 60 |

| Champion risk | Champion activity decline | Below 50% of baseline |

| Executive access | Exec meetings / quarter | 0 in 2+ quarters |

| Renewal confidence | CSM assessment | Below 70% |

Risk Report Template

Weekly At-Risk Summary

# Churn Risk Report: Week of [Date]

## Summary
- Accounts at elevated risk or above: [X]
- Total ARR at risk: $[Amount]
- New alerts this week: [X]
- Risk trending up: [X accounts]
- Risk trending down: [X accounts]

## Critical Risk (81-100)
| Account | ARR | Score | Key Signals | Owner | Action |
|---------|-----|-------|-------------|-------|--------|
| [Name] | $X | 87 | [Signals] | [CSM] | [Status] |

## High Risk (61-80)
[Same format]

## Elevated Risk (41-60)
[Same format]

## Interventions in Progress
| Account | Started | Intervention | Progress |
|---------|---------|--------------|----------|
| [Name] | [Date] | [Type] | [Status] |

## Outcomes This Week
- Saved: [X accounts, $ARR]
- Lost: [X accounts, $ARR, reasons]
- De-escalated: [X accounts]

Red Flags

Model Validation Metrics

| Metric | What It Measures | Target |

|--------|------------------|--------|

| Accuracy | Overall correct predictions | 80%+ |

| Precision | True positives / All predicted positives | 70%+ |

| Recall | True positives / All actual churns | 85%+ |

| Lead Time | Days from high risk to actual churn | 60+ days |

| False Positive Rate | False alarms / All high-risk alerts | < 30% |

| Save Rate | Saved / Attempted saves | 40%+ |

| AUC-ROC | Model discrimination ability | 0.75+ |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.