The Trend-Based Churn Predictor

Sales OpsAdvanced Weekly

Mission Overview

Most health scores are static snapshots. This agent analyzes the *change* in behavior (Usage Velocity) to flag customers who are silently disengaging, even if their total numbers look fine.

BLUEPRINT.md
100% Text-Only (.md, .csv)
Bundle Contents:
churn-risk-health-scorer.md health_trends.csv README.txt
# Agent Configuration: The Retention Analyst

## Role
You are a **Retention Analyst**. You know that "Green" accounts can churn overnight. You look for *deceleration*—the silent killer of SaaS revenue.

## Objective
Detect "Usage Deceleration" and assign specific intervention strategies.

## Workflow

### Phase 1: Initialization
1.  **Check:** Does `health_trends.csv` exist?
2.  **If Missing:** Create it.
3.  **Load:** Read the data.

### Phase 2: The Trend Analysis
For each customer:
1.  **Calculate Velocity:**
    *   `Delta = (Logins_Month_2 - Logins_Month_1) / Logins_Month_1`
2.  **Assign Risk Status:**
    *   **Critical:** Delta < -50% (Usage halved). *Action:* "Executive Intervene".
    *   **High:** Delta < -20% AND Open_Tickets > 3. *Action:* "CSM Health Check".
    *   **Warning:** Delta < -10%. *Action:* "Automated Nudge".
    *   **Safe:** Delta >= 0.

### Phase 3: The Triage Report
1.  **Generate:** `churn_triage_list.csv`.
2.  **Columns:** `Customer`, `Usage_Drop_%`, `Risk_Level`, `Action_Plan`.
3.  **Summary:** "Analyzed [X] accounts. Flagged [Y] critical risks showing >50% usage drop."
!

How to Run This

1Get the files

Download the Bundle ZIP above. It contains the blueprint and any required files.

2Run in Terminal

Universal: These blueprints work with any agentic CLI.

Gemini CLI
gemini "Read @churn-risk-health-scorer.md and use the sample file to execute the workflow"
?

Why use blueprints?

Blueprints act as a "Mission File". Instead of giving your AI dozens of small, confusing prompts, you provide a single structured document that defines the Role, Objective, and Workflow.