recovery-strategy
Installation
SKILL.md
Recovery Strategy
Applies config/recovery-matrix.yaml to the normalized cohort from recovery-cohort-builder. Evaluates the lost_opportunity_matrix for lost-opportunity records and the abandoned_cart_matrix for abandoned-cart records. No API calls — pure YAML rule evaluation.
Output: recommendation object appended per row
{
"action": "email_with_discount",
"params": { "discount_percent": 20, "coupon_duration_months": 3, "expiry_hours": 48 },
"rationale": "High-value lead cooling off — 20% welcome-back discount with a 48-hour urgency window",
"rule_index": 1,
"value_tier": "high",
"recency_tier": "recent"
}
Supported actions: human_outreach, email_with_discount, email_reminder, email_sequence, accept.