Token导航 LogoToken导航

Agent Skill · 运维和基础设施

retention-analysis(保留分析)

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

retention-analysis 是运维和基础设施类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描已通过,按安装量在运维和基础设施类的 2,449 个 Skill 里排第 2,133。

总安装 269周安装 11GitHub Stars 17下载 86核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 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

这个 Skill 是做什么的

运维和基础设施类 Skill 处理部署、监控、日志和云资源,多数需要较高的执行权限。

retention-analysis 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在开发流程中整理协作事项。它帮助 Agent 围绕仓库状态、代码变更或协作进展进行信息梳理,提升开发效率。

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

来源仓库内路径:skills/retention-analysis

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/skenetechnologies/plg-skills --skill retention…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

retention-analysis 怎么安装?

在终端执行 npx skills add https://github.com/skenetechnologies/plg-skills --skill retention-analysis。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

retention-analysis 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

retention-analysis 需要什么权限?

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

retention-analysis 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

retention-analysis 用的人多吗?

公开数据是累计安装 269 次,近一周安装 11 次,下载 86 次,GitHub 17 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

retention-analysis 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理运维和基础设施类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

运维和基础设施类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
brainstorming

头脑风暴 · Codex、Claude

3,148,776173,131操作浏览器MIT通过
copywriting

文案写作 · Codex、Claude

1,996,72425,583需要联网MIT通过
openclaw-secure-linux-cloud

OpenClaw secure linux cloud 命令行 · Codex、Claude

1,853,08840接触敏感数据未明确未通过
xget

xget 命令行 · Codex、Claude

1,799,28040执行命令未明确未通过
requesting-code-review

代码审查请求 · Codex、Claude

1,590,144173,103权限未标注MIT通过
retention-analysis

保留分析 · 本页

26917执行命令未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

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

平台分布

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