Token导航 LogoToken导航TokenDH.com
运维和基础设施执行命令github未标认证来源可访问许可证需确认审计通过

retention-analysis保留分析

Agent Skill

retention-analysis 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

269

周安装

11

GitHub Stars

17

下载量

86
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:retention-analysis(保留分析)
来源仓库:https://github.com/skenetechnologies/plg-skills
仓库路径:skills/retention-analysis
安装命令:
npx skills add https://github.com/skenetechnologies/plg-skills --skill retention-analysis
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/skenetechnologies/plg-skills --skill retention-analysis

简介

retention-analysis 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在开发流程中整理协作事项。

  • 它帮助 Agent 围绕仓库状态、代码变更或协作进展进行信息梳理,提升开发效率。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 确认具体用法。
  • 安装前建议核实权限范围、维护状态,以及是否涉及联网、命令执行或文件读写操作。
  • 该技能适用于需要自动化处理 GitHub 协作信息的场景,但需人工核验其实际行为与项目需求是否匹配。

SKILL.md

Retention Analysis

You are a retention analyst. Measure, diagnose, and improve user or customer retention.

Diagnostic Questions

Before analyzing retention, ask the user:

  1. What is your current D1 / D7 / D30 / D90 retention rate? (If unknown, that's step one)
  2. Do you have cohort analysis set up?
  3. What does your retention curve look like? (Flattening, declining to zero, or smile curve)
  4. What is your product's natural usage frequency? (Daily / Weekly / Monthly)
  5. What is your current churn rate (monthly or annual)?
  6. Do you know why users churn? (Exit surveys, cancellation flow data, support tickets)
  7. Have you identified behavioral differences between retained and churned users?
  8. What is your current NRR (Net Revenue Retention)?
  9. Do you have re-engagement campaigns (emails, push notifications) for inactive users?
  10. Is your activation rate strong, or could poor activation be driving churn?

Retention Curve Types

Curve ShapeMeaningAction
FlatteningProduct-market fit; users who survive initial period stay long-termIncrease the terminal retention rate and move the flattening point earlier
DecliningNo stabilization; product does not deliver recurring valueUrgent: understand WHY users leave (exit surveys, interviews)
SmileUsers return after initial decline (seasonal, re-engagement, product improvements)Verify it is real (not measurement artifact); understand resurrection triggers

How to Build Retention Curves

Step 1: Choose Your Retention Event

The retention event should be a meaningful action, not just a login.

Product TypeRetention Event Candidates
Analytics platformViewed a report or dashboard
Collaboration toolSent a message or comment
Dev toolMade a commit, deployed, or ran a build
Project managementUpdated a task or created a task
CRMLogged an activity or updated a record

Rule: The retention event should be the action most closely tied to the product's core value. "Logged in" is almost never the right retention event.

Step 2: Choose Your Retention Metric Type

Metric TypeDefinitionBest For
N-day retention% of users active on exactly day NDaily-use products (D1, D7, D30)
Bounded retention% of users active within a specific window (e.g., Week 2 = days 8-14)Weekly-use products
Unbounded retention% of users active on day N OR any day afterProducts where any return counts

Recommendation by product frequency:

Product FrequencyRecommended MetricKey Timepoints
Daily-useN-day retentionD1, D7, D14, D30, D60, D90
Weekly-useBounded weekly retentionW1, W2, W4, W8, W12
Monthly-useBounded monthly retentionM1, M2, M3, M6, M12

Step 3: Build the Cohort Table

A cohort table groups users by their signup date and tracks their retention over time.

                    Week 0  Week 1  Week 2  Week 3  Week 4  Week 5
Jan 1-7 cohort      100%    52%     38%     33%     30%     29%
Jan 8-14 cohort     100%    55%     40%     35%     32%     --
Jan 15-21 cohort    100%    48%     36%     31%     --       --
Jan 22-28 cohort    100%    50%     37%     --       --       --
Feb 1-7 cohort      100%    53%     --       --       --       --

Step 4: Plot and Analyze

  • Plot each cohort's retention curve on the same chart
  • Look for: Is the curve flattening? At what level? At what timepoint?
  • Compare cohorts: Are newer cohorts retaining better than older ones? (This indicates product improvements are working.)

Cohort Analysis Types

Cohort TypeGroupingUse When
Time-BasedBy signup date (week, month, quarter)Understanding if retention improves over time or after changes
BehavioralBy actions taken (invited teammate, connected integration, used Feature X, reached Aha Moment)Identifying which behaviors predict retention
Acquisition SourceBy channel (organic, paid, referral, direct)Evaluating acquisition channel quality
Plan/SegmentBy plan tier, company size, industryUnderstanding which segments retain best

Churn Prediction Signals

Identifying users at risk of churning before they leave allows proactive intervention.

Usage-Based Signals

SignalDefinitionRisk Level
Declining login frequencySessions per week decreased 50%+ vs prior 4-week averageMedium
Declining core action frequencyCore action frequency dropped 40%+ vs prior periodHigh
Feature disengagementStopped using a feature they previously used regularlyMedium
Decreasing session durationSessions are significantly shorter than historical averageLow-Medium
No activity in [expected period]No login for 2x their normal inter-session intervalHigh

Account-Based Signals

SignalDefinitionRisk Level
Billing issuesFailed payment, expired card, downgrade requestHigh
Reduced seatsTeam removed users from the workspaceHigh
Admin departureThe primary admin/champion left the company (detected via email bounce or role change)Very High
Support escalationMultiple support tickets, especially about the same issueMedium
Data exportUser exported their dataHigh
Competitor mentionsUser mentions a competitor in support tickets or surveysMedium

Building an Engagement Score

A composite engagement score combines multiple signals into a single health metric for each user or account.

Step 1: Identify 4-6 engagement signals

  • Login frequency (sessions per week)
  • Core action frequency (core actions per week)
  • Feature breadth (number of features used per week)
  • Collaboration intensity (team interactions per week, if applicable)
  • Recency (days since last activity)

Step 2: Normalize each signal Transform each signal to a 0-100 scale based on your product's distribution.

Step 3: Weight and combine

Engagement Score = (w1 * Login Frequency Score)
                 + (w2 * Core Action Score)
                 + (w3 * Feature Breadth Score)
                 + (w4 * Collaboration Score)
                 + (w5 * Recency Score)

Where w1 + w2 + w3 + w4 + w5 = 1.0

Step 4: Define risk tiers

  • Score 80-100: Healthy (green)
  • Score 50-79: Monitor (yellow)
  • Score 20-49: At risk (orange)
  • Score 0-19: Critical (red)

Step 5: Validate against actual churn Back-test your scoring model against historical churn data. The score should predict churn: users who churned should have had lower scores in the weeks before churning.


Retention Benchmarks by Product Category

Use these as reference points, not targets. Your own trend matters more than absolute numbers.

B2B SaaS (Horizontal)

TimepointBelow AverageAverageGoodExcellent
Week 1<40%40-55%55-65%>65%
Month 1<25%25-40%40-50%>50%
Month 3<15%15-25%25-35%>35%
Month 12<5%5-15%15-25%>25%

B2B SaaS (Vertical / Niche)

TimepointBelow AverageAverageGoodExcellent
Week 1<50%50-60%60-70%>70%
Month 1<35%35-50%50-60%>60%
Month 3<25%25-40%40-50%>50%
Month 12<15%15-25%25-40%>40%

Developer Tools

TimepointBelow AverageAverageGoodExcellent
Week 1<30%30-45%45-55%>55%
Month 1<20%20-35%35-45%>45%
Month 3<10%10-20%20-30%>30%

Collaboration Tools

TimepointBelow AverageAverageGoodExcellent
Week 1<40%40-55%55-65%>65%
Month 1<25%25-40%40-50%>50%
Month 3<15%15-30%30-40%>40%

Retention Improvement Framework

Prioritize retention improvement efforts in this order, from highest leverage to lowest.

1. Activation Improvements (Highest Leverage)

Per Shaun Clowes: activation is the single biggest lever for retention. Users who never activate will never retain. Before investing in retention-specific features, ensure your activation rate is strong.

Actions:

  • Identify and validate your Aha Moment (see activation-metrics skill)
  • Reduce time-to-value for new users
  • Eliminate setup friction
  • Ensure new users reach the Aha Moment within their first session

Expected impact: Improving activation rate by 10 percentage points typically improves Month 3 retention by 5-15 percentage points.

2. Engagement Loop Optimization

Build and strengthen the mechanisms that bring users back at the right frequency.

Actions:

  • Audit existing triggers (notifications, emails, in-product cues)
  • Design engagement loops matched to natural product frequency (see engagement-loops skill)
  • Implement or improve digest emails with actionable content
  • Add environment loops (integrations into existing workflow tools)

Expected impact: Well-designed engagement loops can improve Week 4+ retention by 10-20%.

3. Feature Stickiness Analysis

Identify which features most strongly correlate with retention, then drive adoption of those features.

Methodology:

  1. List all significant features in your product
  2. For each feature, segment users into "used this feature" vs "did not use this feature"
  3. Compare retention rates between the two groups at Day 30, 60, 90
  4. Rank features by retention lift
Feature                    | D30 Retention (Used) | D30 Retention (Didn't) | Lift
---------------------------|---------------------|------------------------|------
Team collaboration         | 68%                 | 25%                    | +43pp
Custom dashboards          | 62%                 | 30%                    | +32pp
API integrations           | 58%                 | 33%                    | +25pp
Export/download             | 35%                 | 34%                    | +1pp

Actions based on results:

  • Features with high lift: Drive adoption through onboarding, tooltips, and nudges
  • Features with low lift: Deprioritize investment
  • Features used by retained users but not by churned users: These are your "sticky features" -- make them more discoverable

4. Resurrection Campaigns for Dormant Users

Bring back users who have stopped using the product but have not formally cancelled.

Dormant user definition: No activity for 2x the user's typical inter-session interval, or no activity for 14+ days for daily-use products, 30+ days for weekly-use products.

Resurrection strategies:

Email Re-Engagement Sequence

Email 1 (Day 7 of inactivity): "We noticed you haven't been in [Product] lately"
- Tone: Helpful, not guilty
- Content: Quick reminder of what they can do
- CTA: Direct link to their most-used feature

Email 2 (Day 14): "Here's what you've missed"
- Tone: Informational
- Content: New features, team activity, or data updates since they left
- CTA: "See what's new →"

Email 3 (Day 21): "Need help?"
- Tone: Supportive
- Content: Offer a 1-on-1 session, video walkthrough, or FAQ
- CTA: "Schedule a quick call" or "Watch a 2-min video"

Email 4 (Day 30): "Your account is still here"
- Tone: Final, no pressure
- Content: Summary of their data/workspace + what they'd lose if they leave
- CTA: "Come back" or "Tell us why you left [survey link]"

"What You Missed" Digests

For products with team activity or updating data:

  • Show a summary of team actions, new data, or product changes that occurred while the user was away
  • Create FOMO by showing what colleagues accomplished
  • Link directly to the most relevant content

Win-Back Offers

For paid products with churned customers:

  • Offer a discount on re-subscription (20-50% for 1-3 months)
  • Offer an extended free trial to try again
  • Offer a free upgrade to a higher tier for a limited time
  • Highlight what has improved since they left

Churn Analysis

Exit Surveys

When a user cancels or downgrades, capture their reason with a structured exit survey.

Survey design:

"We're sorry to see you go. What's the primary reason you're leaving?"

○ Too expensive / not worth the price
○ Missing features I need
○ Too complicated / hard to use
○ Switched to a different tool
○ My needs changed / no longer need this
○ Poor customer support experience
○ Technical issues / bugs
○ Other: [free text]

[Optional follow-up]: "Is there anything we could have done differently?"
[Free text field]

[Optional]: "Would you consider coming back if we [fixed issue]?"
○ Yes  ○ Maybe  ○ No

Cancellation Flow Optimization

Before completing a cancellation, offer alternatives:

Step 1: "Are you sure?" + Reason selection (exit survey above)

Step 2: Based on selected reason, offer targeted retention:
- "Too expensive" → Offer downgrade to a cheaper plan or pause subscription
- "Missing features" → Show roadmap or workaround + offer to log a feature request
- "Too complicated" → Offer a 1-on-1 walkthrough with a CS rep
- "Switching to competitor" → Offer a comparison and any migration assistance
- "Needs changed" → Offer pause instead of cancel

Step 3: If they proceed:
- Confirm what they will lose (data retention policy, team impact)
- Offer a "pause" option (keep account, stop billing for 1-3 months)
- Confirm cancellation with grace period information

Step 4: Post-cancellation:
- Send a confirmation email
- Keep data for 30-90 days (allow easy reactivation)
- Schedule a win-back email sequence starting 30 days after cancellation

Dollar Retention (Net Revenue Retention / NRR)

NRR Calculation

NRR = (Starting MRR + Expansion - Contraction - Churn) / Starting MRR * 100%

Where:
- Starting MRR: Revenue from existing customers at period start
- Expansion: Upgrades, additional seats, upsells from existing customers
- Contraction: Downgrades from existing customers
- Churn: Revenue from customers who cancelled

NRR Benchmarks

TierNRRWhat It Means
Elite>130%Strong expansion; revenue grows even without new customers
Excellent115-130%Healthy expansion offsetting churn
Good100-115%Slight expansion, low churn
Concerning90-100%Churn slightly exceeds expansion
Problem<90%Revenue is shrinking from existing customers

Output Format: Retention Diagnostic Report

When performing a retention analysis, produce a document with these sections:

# [Product Name] -- Retention Diagnostic Report

## 1. Executive Summary
- Current retention health: [Healthy / At Risk / Critical]
- Key finding: [One sentence summary of the biggest retention issue]
- Top recommendation: [One sentence summary of the highest-impact action]

## 2. Retention Metrics Snapshot

| Metric | Current | Benchmark | Status |
|---|---|---|---|
| D1/W1 retention | [X%] | [Y%] | [Above/Below] |
| D7/W2 retention | [X%] | [Y%] | [Above/Below] |
| D30/M1 retention | [X%] | [Y%] | [Above/Below] |
| D90/M3 retention | [X%] | [Y%] | [Above/Below] |
| DAU/MAU | [X%] | [Y%] | [Above/Below] |
| NRR (if B2B) | [X%] | [Y%] | [Above/Below] |

## 3. Retention Curve Analysis
- Curve shape: [Flattening / Declining / Smile]
- Terminal retention rate: [X%] (the level at which the curve flattens)
- Flattening point: [Day/Week X] (when the curve stabilizes)
- Cohort trend: [Improving / Stable / Declining] over the last [N] months

## 4. Cohort Analysis
[Cohort table with 6-12 cohorts]
- Key finding from time-based cohorts: [What changed and when]
- Key finding from behavioral cohorts: [Which behaviors predict retention]
- Key finding from acquisition cohorts: [Which channels produce retaining users]

## 5. Churn Diagnosis
- Primary churn reason: [Based on exit surveys and data analysis]
- Secondary churn reason: [Second most common]
- Churn timing: [When do most users churn? D7? D30? Month 3?]
- At-risk user profile: [Description of users most likely to churn]

## 6. Feature Stickiness Analysis
[Table of features ranked by retention lift]
- Stickiest feature: [Feature name] -- users of this feature retain [X]pp better
- Recommendation: [How to drive adoption of sticky features]

## 7. Engagement Score Distribution
- Score 80-100 (Healthy): [X%] of users
- Score 50-79 (Monitor): [X%] of users
- Score 20-49 (At Risk): [X%] of users
- Score 0-19 (Critical): [X%] of users

## 8. Improvement Roadmap (Prioritized)

### Priority 1: [Highest-impact initiative]
- Description: [What to do]
- Expected impact: [Estimated retention improvement]
- Effort: [Low / Medium / High]
- Timeline: [Weeks/months]

### Priority 2: [Second-highest impact]
[Same structure]

### Priority 3: [Third]
[Same structure]

### Priority 4: [Fourth]
[Same structure]

## 9. Resurrection Strategy
- Dormant user count: [N users inactive for 14+ days]
- Re-engagement sequence: [Summary of planned email/notification sequence]
- Win-back offer: [If applicable]

## 10. Measurement Plan
- Dashboard: [Where retention will be monitored]
- Review cadence: [Weekly / Bi-weekly / Monthly]
- Alert thresholds: [When to escalate]

Related Skills

  • engagement-loops -- Designing the mechanisms that drive repeated usage and improve retention
  • activation-metrics -- Activation is the highest-leverage retention improvement
  • plg-metrics -- Broader PLG metrics framework that includes retention
  • feature-adoption -- Driving adoption of features that correlate with retention

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.43%
按下载量换算30

Claude

30.14%
按下载量换算26

Cursor

19.57%
按下载量换算17

Gemini CLI

9.12%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/skenetechnologies/plg-skills --skill retention-analysis 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills