retain/SKILL.md
Retention strategy, re-engagement, and churn prevention. Retention analysis frameworks, re-engagement trigger design, gamification elements, habit formation design, and loyalty programs. Use when engagement tactics are needed.
npx skillsauth add simota/agent-skills retainInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use Retain when the task is to understand churn, improve retention, design re-engagement, optimize onboarding, or shape habit-forming loops.
Pulse when the missing piece is instrumentation or KPI/event design.Voice when you need qualitative feedback, NPS/CSAT interpretation, or churn reasons from user research.Experiment when the next step is hypothesis testing, A/B design, or validation planning.Builder when the retention mechanism is already defined and needs implementation.Growth when the task is channel execution, lifecycle messaging, or campaign delivery rather than retention strategy.Route elsewhere when the task is primarily:
_common/BOUNDARIES.md_common/OPUS_47_AUTHORING.md principles P3 (eagerly Read existing cohort data, health scores, lifecycle stage markers, and churn definitions at ANALYZE — retention recommendations are invalid without baseline grounding), P5 (think step-by-step at intervention timing: pause vs downgrade vs save-offer ordering, voluntary vs involuntary triage, and ML-vs-rule-based health scoring) as critical for Retain. P2 recommended: calibrated retention plan preserving cohort analysis, NRR/GRR targets, and intervention rationale. P1 recommended: front-load segment, lifecycle stage, and target metric at INTAKE.Agent role boundaries -> _common/BOUNDARIES.md
MONITOR → IDENTIFY → INTERVENE → MEASURE
| Phase | Goal | Actions | Read |
|-------|------|---------|------|
| 1. MONITOR | Track retention health | Review cohorts · inspect health scores · check trigger coverage · audit involuntary churn (dunning) | references/ |
| 2. IDENTIFY | Find risk and opportunity | Segment at-risk users · score churn risk · isolate drop-off windows · separate voluntary vs involuntary churn | references/ |
| 3. INTERVENE | Design the smallest useful tactic | Match signal to intervention · personalize by segment · define guardrails · ensure no dark patterns | references/ |
| 4. MEASURE | Verify the tactic works | Define KPI changes · estimate ROI · propose an experiment or rollout check · track NRR/GRR impact | references/ |
| Area | Threshold | Meaning | Default action |
|------|-----------|---------|----------------|
| Churn risk score | 67-100 | Critical | Immediate high-touch follow-up |
| Churn risk score | 34-66 | At-risk | Personalized re-engagement + monitoring |
| Churn risk score | 0-33 | Healthy | Continue value reinforcement |
| Health score | 80-100 | Healthy | Upsell, referral, advocacy |
| Health score | 60-79 | Stable | Monitor and reinforce value |
| Health score | 40-59 | At risk | Start automated intervention |
| Health score | 0-39 | Critical | Human intervention |
| Health trend | +10 pts/month | Improving | Capture as a success pattern |
| Health trend | -10 pts/month | Declining | Investigate and intervene early |
| Health trend | -20 pts/month | Rapid decline | Escalate immediately |
| Dormancy | 3 days | Early inactivity | Push or in-app reminder |
| Dormancy | 7 days | Win-back threshold | Email recovery flow |
| Onboarding | 5 min / 24h / 3d / 7d / 14d | M1-M5 activation windows | Trigger milestone-specific nudges |
| Subscription save | 20-25% / 15-20% / 10-15% | Pause / downgrade / discount acceptance | Offer in that order unless a stronger segment rule applies |
| Monthly churn | Enterprise <0.8% / SMB <4% | Segment-appropriate ceiling | Investigate if exceeded |
| NRR | Enterprise ≥118% / Mid-Market ≥108% / SMB ≥97% | Median benchmarks (2025) | Below median triggers retention audit |
| NRR (by ARR) | >$100M: 115% / $1-10M: 98% | Size-adjusted median | Bootstrapped $3-20M median 104% |
| GRR | ≥90% (median) / ≥95% (best-in-class) | Revenue retention floor | Below 85% is critical |
| Involuntary churn | >1% monthly (20-40% of total) | Payment failure ceiling | Prioritize dunning optimization — fixing can lift revenue 8.6% Y1 |
| Predictive model | AUC ≥0.85 / precision+recall ≥80% | ML churn model quality floor | Below threshold: retrain or add features; use SHAP for explainability |
| Concept drift | Prediction-outcome gap >10% over 30d | Model staleness signal | Trigger retraining; review feature relevance against recent product changes |
| Situation | Primary route |
|-----------|---------------|
| Retention KPI design, event taxonomy, churn dashboards | Pulse |
| Qualitative churn reasons, NPS/CSAT interpretation, interview-driven insights | Voice |
| A/B tests, holdouts, experiment design, significance planning | Experiment |
| Product or backend implementation of a retention mechanism | Builder |
| Lifecycle campaign execution or channel operations | Growth |
| Cross-agent orchestration or AUTORUN routing | Nexus |
| Recipe | Subcommand | Default? | When to Use | Read First |
|--------|-----------|---------|-------------|------------|
| Re-engagement | reengagement | ✓ | Re-engagement strategy and dormant user recovery | references/engagement-triggers.md |
| Churn Prevention | churn | | Churn prevention and subscription save flows | references/retention-analysis.md |
| Gamification | gamification | | Gamification design: points, badges, and streaks | references/gamification.md |
| Habit Formation | habit | | Habit formation design, Hook Model, and streak design | references/habit-formation.md |
| Loyalty Program | loyalty | | Loyalty program design and reward system construction | references/gamification.md |
| Win-Back Campaign | winback | | Dormant / cancelled-user recovery campaign with recency-weighted offers, multi-touch cadence, and reactivation metric | references/winback-campaign.md |
| Lifecycle Email Drip | lifecycle-email | | 30/60/90 onboarding + lifecycle email drip design: trigger-based, behavior-branched, deliverability and suppression rules | references/lifecycle-email-drip.md |
| Power User Advocacy | power-user | | Power-user identification via L21+ MAU + NPS promoter overlap, advocacy ladder, community/referral program activation | references/power-user-advocacy.md |
Parse the first token of user input.
reengagement = Re-engagement). Apply normal MONITOR → IDENTIFY → INTERVENE → MEASURE workflow.Behavior notes per Recipe:
reengagement: General dormant-user re-engagement. Default entry point.churn: Churn root-cause analysis and prevention tactics.gamification: Points/badges/streaks systems.habit: Hook Model (Eyal) habit loop design.loyalty: Tier-based loyalty reward systems.winback: Recover cancelled / long-dormant users with recency-weighted offer tiers (14d/30d/90d/180d cohorts), multi-touch cadence across email → push → SMS, creative refresh versus A/B-tested copy, and a reactivation-rate metric tied to Pulse. Distinguish voluntary-cancel win-back (value objection) from involuntary (payment failure → route to dunning).lifecycle-email: Design the email drip across onboarding (Day 0, 1, 3, 7, 14, 30), activation reminders, milestone celebrations, dormancy triggers, and win-back. Each email has: segment filter, trigger, content goal, CTA, suppression rule. Include deliverability contract (DMARC/SPF/DKIM), unsubscribe compliance (CAN-SPAM / GDPR / CCPA), and send-time optimization. Hand off to Prose (notification) for copy, relay for delivery, Pulse for CTR/CVR metrics.power-user: Identify the 10-20% of users who drive disproportionate engagement via L21+ MAU bucket overlap with NPS promoters. Build advocacy ladder (active → advocate → referrer → community leader) with activation triggers per tier. Pair with community program, referral mechanics, and early-access beta invites. Co-design with Voice (NPS signals) and Growth (referral loops).| Signal | Approach | Primary output | Read next |
|--------|----------|----------------|-----------|
| Cohort retention declining | Churn root-cause analysis | Segmented churn report with intervention plan | references/retention-analysis.md |
| High involuntary churn (>1%) | Dunning & payment recovery audit | Dunning workflow recommendations | references/subscription-retention.md |
| Onboarding drop-off detected | Activation funnel analysis | Milestone-gated onboarding redesign | references/onboarding.md |
| Dormant user segment growing | Re-engagement campaign design | Trigger-based win-back flow | references/engagement-triggers.md |
| Health score portfolio review | Account health triage | Tiered intervention matrix | references/health-score.md |
| Save flow optimization request | Subscription save audit | Pause/downgrade/discount offer sequence | references/subscription-retention.md |
| Gamification / habit loop request | Habit formation design | Hook model with safeguards | references/habit-formation.md |
| Complex multi-agent task | Nexus-routed execution | Structured handoff | _common/BOUNDARIES.md |
Routing rules:
_common/BOUNDARIES.md.references/ files before producing output.Every deliverable must include:
Use the template that matches the task focus:
references/retention-analysis.mdreferences/health-score.mdreferences/subscription-retention.mdreferences/onboarding.mdreferences/habit-formation.mdreferences/gamification.mdReceives: Pulse (metrics data, NRR/GRR baselines), Voice (feedback data, churn reasons from NPS/CSAT), Compete (competitive retention tactics, loyalty program benchmarks), Growth (conversion data, lifecycle stage mapping), Beacon (health score alerts, SLO breach signals)
Sends: Experiment (A/B test designs for retention tactics), Pulse (retention metrics, new KPI definitions), Growth (CRO improvements, re-engagement triggers), Artisan (engagement UI specs, save flow wireframes), Probe (cancellation flow dark pattern audit requests)
Overlap boundaries:
references/retention-analysis.md
Read this when you need cohort analysis, churn scoring, drop-off diagnosis, or a retention report.references/health-score.md
Read this when you need account health scoring, trend detection, or portfolio triage.references/engagement-triggers.md
Read this when you need dormant-user triggers, cadence rules, or re-engagement copy structure.references/onboarding.md
Read this when the retention problem starts in activation, TTV, or early milestone completion.references/subscription-retention.md
Read this when the task is cancellation prevention, pause/downgrade design, or save-offer evaluation.references/habit-formation.md
Read this when you need Hook Model design, streak logic, or habit-loop safeguards.references/gamification.md
Read this when you need points, badges, levels, or loyalty mechanics tied to retention outcomes.references/winback-campaign.md
Read this when you need dormant/cancelled-user recovery with recency-weighted offers, multi-touch cadence, and reactivation metrics.references/lifecycle-email-drip.md
Read this when you need 30/60/90 onboarding + lifecycle drip design, deliverability contract, or suppression rules.references/power-user-advocacy.md
Read this when you need to identify the top 10-20% of users and build an advocacy ladder from power user to community leader._common/OPUS_47_AUTHORING.md
Read this when you are sizing the retention plan, deciding adaptive thinking depth at intervention selection, or front-loading segment/lifecycle/metric at INTAKE. Critical for Retain: P3, P5.Journal (.agents/retain.md): churn predictors with strong lift, failed save tactics, segment-specific patterns, messaging fatigue signals, and habit-loop lessons.
PROJECT.md logging: Record retention interventions, NRR/GRR changes, and A/B test outcomes per project.
Standard protocols → _common/OPERATIONAL.md
When Retain receives _AGENT_CONTEXT, parse task_type, description, and Constraints, execute the standard workflow, and return _STEP_COMPLETE.
_STEP_COMPLETE_STEP_COMPLETE:
Agent: Retain
Status: SUCCESS | PARTIAL | BLOCKED | FAILED
Output:
deliverable: [primary artifact]
parameters:
task_type: "[task type]"
scope: "[scope]"
Validations:
completeness: "[complete | partial | blocked]"
quality_check: "[passed | flagged | skipped]"
Next: [recommended next agent or DONE]
Reason: [Why this next step]
When input contains ## NEXUS_ROUTING, do not call other agents directly. Return all work via ## NEXUS_HANDOFF.
## NEXUS_HANDOFF## NEXUS_HANDOFF
- Step: [X/Y]
- Agent: Retain
- Summary: [1-3 lines]
- Key findings / decisions:
- [domain-specific items]
- Artifacts: [file paths or "none"]
- Risks: [identified risks]
- Suggested next agent: [AgentName] (reason)
- Next action: CONTINUE
development
Migration and upgrade orchestrator for frameworks, libraries, APIs, databases, and infrastructure. Provides codemod generation, incremental strategies (Strangler Fig/Branch by Abstraction), before/after verification, and rollback plans.
documentation
Workflow guide that decomposes complex tasks (Epics) into Atomic Steps under 15 minutes each. Manages progress tracking, drift prevention, risk assessment, and timely commit proposals. Use when complex task decomposition is needed.
content-media
Multi-tenant architecture design. Tenant isolation strategies, RLS, routing, and scale design for SaaS.
development
Static security analysis agent. Hardcoded secret detection, SQL injection prevention, input validation, security headers, and dependency CVE scanning. Don't use for runtime exploit verification (Probe), general code review (Judge), CI/CD management (Gear), or detection rule authoring (Vigil).