Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Churn Signal Backtest

ASecurity

Back-test a candidate churn signal or the full tier rule set against historical renewal outcomes to validate predictive strength before the signal enters the production health tier. Reach for this skill when a new signal is proposed, when the tier is misfiring, or after the first full renewal cycle to tune thresholds.

7 stars
0 votes
0 copies
0 views
Added 9/23/2026
ai-agentsrustsqltesting

Security Analysis

A100/100

Scanned 9/23/2026

$npx -y skills add mcorbett51090/RavenClaude --skill churn-signal-backtest --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Churn Signal Backtest?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Churn Signal Backtest
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mcorbett51090-churn-signal-backtest/badge)](https://www.skillsdirectory.com/skills/mcorbett51090-churn-signal-backtest)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: churn-signal-backtest
description: "Back-test a candidate churn signal or the full tier rule set against historical renewal outcomes to validate predictive strength before the signal enters the production health tier. Reach for this skill when a new signal is proposed, when the tier is misfiring, or after the first full renewal cycle to tune thresholds."
---

# Skill: Churn Signal Backtest

A signal that feels predictive is a hypothesis. A signal that has been back-tested against real renewal outcomes is evidence. This skill turns the hypothesis into a result the CS team can act on — or a documented reason not to use the signal.

## When to reach for this skill

- A new signal is proposed for inclusion in the health tier.
- The tier has misfired (accounts churned while Green, or the Red list is dominated by accounts that renewed).
- The first full renewal cycle has completed and the team has outcome data to validate against.
- A threshold change is proposed — validate before deploying to production.

## Step 1 — Assemble the outcome data set

The back-test requires a historical data set that pairs signal values at a fixed pre-renewal lookback (90 or 180 days before renewal) with the actual outcome (renewed / churned / expanded).

```sql
-- Outcome data structure (domain-neutral)
SELECT
    account_id,
    renewal_date,
    outcome,                  -- 'renewed' | 'churned' | 'expanded'
    signal_value_at_T_minus_90,
    signal_threshold_crossed  -- boolean: was the threshold crossed at T-90?
FROM [mart layer]
WHERE renewal_date BETWEEN [start] AND [end]
  AND outcome IS NOT NULL     -- exclude in-flight renewals
```

**Minimum sample:** back-tests below 30 completed renewals are directional only — label the result `provisional` and note the sample size in the tier rule.

## Step 2 — Compute precision and recall at the proposed threshold

For the signal at the proposed threshold value:

```
True Positive (TP)  = threshold crossed AND account churned
False Positive (FP) = threshold crossed AND account renewed
True Negative (TN)  = threshold not crossed AND account renewed
False Negative (FN) = threshold not crossed AND account churned

Precision = TP / (TP + FP)   — "when the signal fires, how often is it right?"
Recall    = TP / (TP + FN)   — "of all churns, how many did the signal catch?"
```

**Minimum bar for tier inclusion (per the churn-signal decision tree):** Precision > 40% AND Recall > 30%.

## Step 3 — Sweep thresholds to find the operating point

If the proposed threshold fails the bar, sweep a range of threshold values and plot Precision vs. Recall. Report:
- The threshold that maximizes Precision (minimizes false alarms)
- The threshold that maximizes Recall (minimizes missed churns)
- The balanced operating point (F1 maximum or the closest Precision/Recall trade that the CS team can act on)

Include the sweep table in the back-test report so the CS leader can see the trade-off and choose the operating point for their team's capacity.

## Step 4 — Test for segment confounding

A signal that predicts well overall may fail within a specific segment (SMB vs. enterprise, a specific vertical, or accounts with very short tenures). Break the back-test down by the top 2-3 segments:

```
Segment      | Precision | Recall | N (sample) | Note
-------------|-----------|--------|------------|-----
Enterprise   | 0.52      | 0.38   | 87         | Above bar
SMB          | 0.31      | 0.27   | 43         | Below bar — sub-indicator only for SMB
New accounts | 0.18      | 0.45   | 22         | Small sample — provisional
```

If precision/recall diverges significantly across segments, recommend a segment-specific threshold or sub-indicator treatment rather than a single universal rule.

## Step 5 — Produce the back-test report

```
Signal:            [signal name]
Threshold tested:  [value + window]
Data range:        [start] to [end]
N renewals:        [count]
Outcome split:     [churned: N | renewed: N | expanded: N]

At proposed threshold:
  Precision: [value]    bar: >40%   PASS/FAIL
  Recall:    [value]    bar: >30%   PASS/FAIL

Recommended action:
  INCLUDE IN TIER RULE    — thresholds tuned to [value] with [window]
  SUB-INDICATOR ONLY      — precision/recall below bar; show in explainability panel
  VALIDATE FIRST          — insufficient sample; mark provisional; re-test after [date]
  DO NOT INCLUDE          — lagging signal or no predictive value at any threshold

Segment notes: [any material divergence found in Step 4]
```

## Pitfalls

- Back-testing on in-flight renewals (outcome unknown) — always filter to completed outcomes only.
- Treating a back-test on fewer than 30 renewals as definitive — label it provisional.
- Selecting the threshold that maximizes Recall at the cost of 10% Precision — the CS team will stop trusting a Red list that is mostly wrong.
- Forgetting to re-run the back-test after a product change that shifts the baseline of a signal.

## See also

- [`../../knowledge/cs-health-metrics-and-churn-indicators.md`](../../knowledge/cs-health-metrics-and-churn-indicators.md) — leading vs. lagging signal classification
- [`../../knowledge/customer-success-decision-trees.md`](../../knowledge/customer-success-decision-trees.md) — churn signal selection decision tree
- [`../health-tier-design/SKILL.md`](../health-tier-design/SKILL.md) — the tier design skill that consumes this back-test result

Attribution

mcorbett51090mcorbett51090
View sourceSee grades on GitHubMore from mcorbett51090 →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Terse caveman voice: answer first, fluff gone, every technical fact kept. Use for /caveman, "caveman mode", "talk like caveman", "be brief", "less tokens". Stays on until "stop caveman" or "normal mode".

1100021 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

698621 votes

Writing Skills

Create and manage Claude Code skills in HASH repository following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns), UserPromptSubmit hook, and the 500-line rule. Includes validation and debugging with SKILL_DEBUG. Examples include rust-error-stack, cargo-dep...

3931 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3421 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Amp, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Grok Build, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

741 votes
View all in ai-agents →