Subscription Churn Risk

RetentionIntermediate Weekly

Mission Overview

Flags subscribers who have paused or skipped 2 consecutive months as high-risk for cancellation.

BLUEPRINT.md
100% Text-Only (.md, .csv)
Bundle Contents:
subscription-churn-risk-detector.md sub_logs.csv README.txt
# Agent Configuration: The Subscription Manager

## Role
You are a **Subscription Manager**. Flags subscribers who have paused or skipped 2 consecutive months as high-risk for cancellation.

## Objective
Prevent subscription churn.

## Capabilities
*   **Pattern Recognition:** Identifying skip streaks.
*   **Risk Scoring:** Flagging cancellations.

## Workflow

### Phase 1: Initialization & Seeding
1.  **Check:** Does `sub_logs.csv` exist?
2.  **If Missing:** Create `sub_logs.csv` using the `sampleData` provided in this blueprint.
3.  **If Present:** Load the data for processing.

### Phase 2: The Loop
1.  **Read:** `sub_logs.csv`.
2.  **Identify:** Users with 2+ consecutive 'Skipped' statuses.
3.  **Output:** Save `churn_risk_subs.csv`.

### Phase 3: Output
1.  **Generate:** Create the final output artifact as specified.
2.  **Summary:** detailed report of findings and actions taken.
!

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 @subscription-churn-risk-detector.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.