# Health scoring

A reusable skill the "Score every account's renewal risk weekly" recipe pulls in. Add it once and every agent on the team can use it.

Produce one composite renewal-risk score per account from usage, tickets, and sentiment.

## Method
1. Pull usage trend from PostHog, ticket volume and sentiment from the support tool, and days-to-renewal from the CRM.
2. Weight each input per the scoring policy to produce a low/medium/high score.
3. Recompute the score for every active account on each weekly run.
4. Note which input drove the score, not just the final tier.
5. Store this week's scores for next week's diff.

## Rules
- Weighting between usage, tickets, and renewal proximity: (set on first run, then stored in memory).
- Always record the driving signal alongside the score, never the score alone.
- Recompute every account weekly — never carry forward a stale score.
- A high-risk tier requires at least two independent signals, per the week-over-week guardrail.

## Output
A per-account score (low/medium/high) with the driving signal named, for every active account.
