cohort-analysis
phuryn/pm-skills
ユーザーのエンゲージメントとリテンションパターンをコホート別に分析し、ユーザー行動、機能採用、長期的なエンゲージメントにおけるトレンドを特定する。
...すべて拡張しますコホート分析およびリテンション(継続率)エクスプローラー
目的
コホートごとにユーザーのエンゲージメントとリテンションパターンを分析し、ユーザー行動、機能採用、長期的なエンゲージメントにおける傾向を特定します。定量的な洞察と定性的な調査の推奨事項を組み合せます。
仕組み
ステップ 1: データの読み込みと検証
- ユーザーのコホート情報を含む CSV、Excel、または JSON データファイルを受け入れます
- データ構造を確認します:コホート識別子、期間、エンゲージメント指標
- 欠損値やデータ品質の問題がないか確認します
- 主要な統計情報を要約します(コホートサイズ、日付範囲、利用可能な指標)
ステップ 2: 定量的分析の実行
- コホートのリテンション率とエンゲージメントの傾向を計算します
- リテンション曲線、離脱パターン、異常値を特定します
- コホート全体にわたる機能採用率を計算します
- 月次または期間ごとの変化を計算します
- リクエストされた場合、pandas および numpy を使用して Python 分析スクリプトを生成します
ステップ 3: ビジュアライゼーションの作成
- リテンションヒートマップ(コホート対期間)を生成します
- コホートの進行状況を示す折れ線グラフを作成します
- 機能採用の比較チャートを作成します
- 離脱ポイントとエンゲージメントの傾向を可視化します
- インタラクティブなチャートまたは静的画像として出力します
ステップ 4: 洞察とパターンの特定
- 1つ以上の重要なパターンを特定します:
- 特定のコホートにおける早期の離脱
- 後期段階でのエンゲージメント変化
- 機能採用のクラスター
- 季節的または時間的な傾向
- 驚くべき発見や逸脱を強調します
- コホートのパフォーマンスを比較して基準値を確立します
ステップ 5: 追加調査の提案
- 定性的な調査方法を推奨します:
- 離脱ユーザーを対象とした targeted user interviews(ターゲットユーザーインタビュー)
- エンゲージメントの高いコホートに対する機能使用に関するアンケート
- 主要なインタラクションパターンのセッションリプレイ
- 高リテンションコホートと低リテンションコホートの Win/loss analysis(勝敗分析)
- 追加の定量的研究を設計します
- A/B テストや機能実験を提案します
使用例
例 1: CSV データのアップロード
cohort_month, weeks_active,
user_id, feature_x_usage, engagement_score
という列を持つ cohort_engagement.csv をアップロードします
リクエスト: 「Q4 2025 のコホートが Q3 に比べてパフォーマンスが低い理由を特定し、リテンションパターンを分析してください」
例 2: データ形式の説明
「2025年1月から12月の月次ユーザーコホートがあります。各行には以下のデータが含まれています:
コホート日付、ユーザー ID、購入頻度、サポートチケット数。
どのコホートが最も優れた長期的なリテンションを示しているか分析してください。」
例 3: 機能採用の分析
cohort adoption data(コホート採用データ)を含む feature_usage.xlsx をアップロードします。
リクエスト: 「新機能のコホート全体における採用曲線を比較してください。
どのコホートが最も早く採用しましたか?何かパターンはありますか?」
主要な機能
- データ読み込み: CSV、Excel、JSON、SQL クエリ結果のインポート
- リテンション分析: 時間経過に伴うリテンション率の計算と可視化
- コホート比較: コホートグループ間での指標の比較
- 異常検出: 異常なパターンや離脱をフラグ付け
- Python スクリプト: 継続的な分析のための再利用可能な分析コードの生成
- ビジュアライゼーション: ヒートマップ、チャート、インタラクティブダッシュボードの作成
- 調査設計: ターゲットを絞った追加研究およびインタビューアプローチの提案
- 統計的要約: 定量的指標および相関分析の提供
最適な結果のためのヒント
- 時間軸を含める: 複数の期間にわたるデータを提供する
- コホートを明確に定義する: コホートグループ分けを明示する(サインアップ月、機能ローンチ日など)
- コンテキストを提供する: 期間中の製品変更、ローンチ、またはイベントについて説明する
- 複数の指標: リテンション、エンゲージメント、機能使用、収益などを含める
- 十分なデータ: 意味のあるパターンを特定するために少なくとも 3〜4 つのコホートが必要
- 特定の出力をリクエストする: ビジュアライゼーション、Python スクリプト、または調査の推奨事項を依頼する
出力形式
以下を受け取ります:
- データ要約: コホートの概要およびデータ品質の評価
- 定量的発見: 主要な指標、リテンション率、および傾向分析
- ビジュアライゼーション: リテンション曲線、採用パターンを示すチャート
- パターンの特定: データからの 2〜3 の重要な洞察
- 調査の推奨事項: 具体的な定性的および定量的なフォローアップ
- 分析スクリプト(リクエストされた場合): 再現可能な分析用の Python コード
- 次のステップ: 発見に基づいた優先順位付けられたアクション
参考文献
- コホート分析入門:離脱を減らし、より良い製品意思決定を行う方法
- 製品アナリティクスプレイブック:PM 向け AARRR、HEART、コホート、およびファネル
- あなたは適切な指標を追跡していますか?
---
name: cohort-analysis
description: Analyze user engagement and retention patterns by cohort to identify trends in user behavior, feature adoption, and long-term engagement.
---
# Cohort Analysis & Retention Explorer
## Purpose
Analyze user engagement and retention patterns by cohort to identify trends in user behavior, feature adoption, and long-term engagement. Combine quantitative insights with qualitative research recommendations.
## How It Works
### Step 1: Read and Validate Your Data
- Accept CSV, Excel, or JSON data files with user cohort information
- Verify data structure: cohort identifier, time periods, engagement metrics
- Check for missing values and data quality issues
- Summarize key statistics (cohort sizes, date ranges, metrics available)
### Step 2: Generate Quantitative Analysis
- Calculate cohort retention rates and engagement trends
- Identify retention curves, drop-off patterns, and anomalies
- Compute feature adoption rates across cohorts
- Calculate month-over-month or period-over-period changes
- Generate Python analysis scripts using pandas and numpy if requested
### Step 3: Create Visualizations
- Generate retention heatmaps (cohorts vs. time periods)
- Create line charts showing cohort progression
- Build comparison charts for feature adoption
- Visualize drop-off points and engagement trends
- Output as interactive charts or static images
### Step 4: Identify Insights & Patterns
- Spot one or more significant patterns:
- Early churn in specific cohorts
- Late-stage engagement changes
- Feature adoption clusters
- Seasonal or temporal trends
- Highlight surprising findings and deviations
- Compare cohort performance to establish baselines
### Step 5: Suggest Follow-Up Research
- Recommend qualitative research methods:
- Targeted user interviews with churning users
- Feature usage surveys with engaged cohorts
- Session replays of key interaction patterns
- Win/loss analysis for high vs. low retention cohorts
- Design follow-up quantitative studies
- Suggest A/B tests or feature experiments
## Usage Examples
**Example 1: Upload CSV Data**
```
Upload cohort_engagement.csv with columns: cohort_month, weeks_active,
user_id, feature_x_usage, engagement_score
Request: "Analyze retention patterns and identify why Q4 2025 cohorts
underperform compared to Q3"
```
**Example 2: Describe Data Format**
```
"I have monthly user cohorts from Jan-Dec 2025. Each row shows:
cohort date, user ID, purchase frequency, and support tickets.
Analyze which cohorts show best long-term retention."
```
**Example 3: Feature Adoption Analysis**
```
Upload feature_usage.xlsx with cohort adoption data.
Request: "Compare adoption curves for our new feature across cohorts.
Which cohorts adopted fastest? Any patterns?"
```
## Key Capabilities
- **Data Reading**: Import CSV, Excel, JSON, SQL query results
- **Retention Analysis**: Calculate and visualize retention rates over time
- **Cohort Comparison**: Compare metrics across cohort groups
- **Anomaly Detection**: Flag unusual patterns or drop-offs
- **Python Scripts**: Generate reusable analysis code for ongoing analysis
- **Visualizations**: Create heatmaps, charts, and interactive dashboards
- **Research Design**: Suggest targeted follow-up studies and interview approaches
- **Statistical Summary**: Provide quantitative metrics and correlation analysis
## Tips for Best Results
1. **Include time dimension**: Provide data across multiple time periods
2. **Define cohort clearly**: Make cohort grouping explicit (signup month, feature launch date, etc.)
3. **Provide context**: Explain product changes, launches, or events during the period
4. **Multiple metrics**: Include retention, engagement, feature usage, revenue, etc.
5. **Sufficient data**: At least 3-4 cohorts for meaningful pattern identification
6. **Request specific output**: Ask for visualizations, Python scripts, or research recommendations
## Output Format
You'll receive:
- **Data Summary**: Cohort overview and data quality assessment
- **Quantitative Findings**: Key metrics, retention rates, and trend analysis
- **Visualizations**: Charts showing retention curves, adoption patterns
- **Pattern Identification**: 2-3 significant insights from the data
- **Research Recommendations**: Specific qualitative and quantitative follow-ups
- **Analysis Scripts** (if requested): Python code for reproducible analysis
- **Next Steps**: Prioritized actions based on findings
---
### Further Reading
- [Cohort Analysis 101: How to Reduce Churn and Make Better Product Decisions](https://www.productcompass.pm/p/cohort-analysis)
- [The Product Analytics Playbook: AARRR, HEART, Cohorts & Funnels for PMs](https://www.productcompass.pm/p/the-product-analytics-playbook-aarrr)
- [Are You Tracking the Right Metrics?](https://www.productcompass.pm/p/are-you-tracking-the-right-metrics)
すべてのファイル
1件のファイルcohort-analysisをインストール
スキルファイルをダウンロードして、.claude/skills/ ディレクトリに展開してください。
ZIPをダウンロードリポジトリをクローンし、スキルファイルをプロジェクトにコピーしてください。
git clone https://github.com/phuryn/pm-skills/tree/main/pm-data-analytics/skills/cohort-analysis # Copy SKILL.md to your .claude/skills/ directory
コピー





家
