Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

product-analytics

БесплатноБез исполняемых скриптовНе проверен

Frameworks and queries for measuring a software product: North Star and input metrics, AARRR funnels, retention cohorts, and A/B test design with sample-size…

TerminalSkillsот TerminalSkills★ 221 звезда на GitHub

Об этом скилле

Product Analytics — Metrics, Funnels, and Growth

Overview

This skill is a method, not a tool: it helps a product team pick metrics, build funnels, read retention cohorts and run experiments. It works with whatever analytics store holds the events (a warehouse, PostgreSQL, or a product-analytics service). The agent supplies the framework and writes the queries; the numbers in the examples are illustrative, so replace them with the team's own data.

Instructions

North Star Metric

## Define Your North Star Metric

The North Star is a single metric that captures the core value
your product delivers to customers. It aligns every team around
what matters most.

### Criteria for a Good North Star
1. Reflects customer value (not just revenue)
2. Leading indicator of revenue (not lagging)
3. Measurable and actionable
4. Every team can influence it

### Examples by Product Type
- **Marketplace**: Weekly transactions (for lodging: nights booked)
- **SaaS Productivity**: Weekly active users completing the core action
  (for a chat product, messages sent by teams)
- **Subscription Media**: Weekly engaged time (listening or watching hours)
- **E-commerce**: Weekly purchases from repeat customers
- **Developer Tool**: Weekly API calls in production

### North Star Framework
Your North Star has 3-5 input metrics that drive it:

North Star: "Weekly active teams completing core workflow"

Input metrics:
1. **Breadth**: New teams activated this week
2. **Depth**: Core workflows completed per team per week
3. **Frequency**: Days active per week per team
4. **Efficiency**: Time to complete core workflow
5. **Quality**: Workflow completion rate (started vs finished)

Each team owns an input metric. Together they drive the North Star.

AARRR Pirate Metrics

## Pirate Metrics Funnel

### Acquisition — How do users find you?
Metrics: Website visitors, signup rate, CAC, channel attribution
Questions: Which channels bring the highest-quality users? What's the CAC by channel?

### Activation — Do users experience core value?
Metrics: Onboarding completion rate, time-to-first-value, "aha moment" reached
Questions: What % of signups complete onboarding? What's the "aha moment"?

### Retention — Do users come back?
Metrics: D1/D7/D30 retention, weekly active rate, churn rate
Questions: What does the retention curve look like? Where does it flatten?

### Revenue — Do users pay?
Metrics: Conversion rate (free → paid), ARPU, LTV, expansion revenue
Questions: What triggers the upgrade? What's the payback period on CAC?

### Referral — Do users invite others?
Metrics: Viral coefficient, referral rate, NPS, organic share rate
Questions: Do users invite others? What's the average referrals per user?

### Identify Your Bottleneck
Measure each stage. The stage with the worst drop-off is your bottleneck.
Focus there — don't optimize acquisition if nobody activates.

Retention Analysis

## Analyze Retention

### Retention Curve
Plot % of users who return on Day 1, Day 7, Day 14, Day 30.
- **Good**: Curve flattens (users who stay past day 7 stick around)
- **Bad**: Curve approaches zero (no habitual users)

### Cohort Analysis
Compare retention across weekly or monthly sign-up cohorts:

Cohort      | Week 1 | Week 2 | Week 3 | Week 4 | Week 8
Jan 1-7     |   100% |    42% |    31% |    28% |    25%
Jan 8-14    |   100% |    45% |    35% |    32% |    29%
Jan 15-21   |   100% |    51% |    40% |    38% |    —

Reading this: Jan 15-21 cohort retains better → what changed?
Check: product changes, marketing channel mix, seasonality.

### Retention by Segment
Break retention by:
- **Acquisition channel**: Do SEO users retain better than paid?
- **Plan tier**: Do Pro users retain better than Free?
- **Activation actions**: Did they complete onboarding? Use feature X?
- **Company size**: Do small teams churn more than large?

### Compute D7 retention in SQL

Assumes `users(id, signup_date)` and `events(user_id, ts)`; the query counts users who were active exactly 7 days after signup (SQLite syntax, run against a sample table; in PostgreSQL use `signup_date + 7` and `ts::date`):

```sql
SELECT u.signup_date AS cohort,
       COUNT(DISTINCT u.id) AS users,
       COUNT(DISTINCT CASE WHEN date(e.ts) = date(u.signup_date, '+7 day')
                           THEN u.id END) AS d7_users
FROM users u
LEFT JOIN events e ON e.user_id = u.id
GROUP BY u.signup_date
ORDER BY u.signup_date;
```

Divide `d7_users` by `users` for the rate. "Exactly day 7" is strict; for products used less often, count activity in days 7 to 13 instead.

### Find the "Aha Moment"
The aha moment is the action that predicts retention.

Method:
1. List all actions a user can take in the first week
2. For each action, split users who did it vs didn't
3. Compare 30-day retention between the two groups
4. The action with the biggest retention gap is your aha moment

Example findings:
- Users who create 3+ projects in week 1:
Полный SKILL.md на GitHub

Установить product-analytics в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

_scores.json

FAQ

Что делает скилл product-analytics?

Frameworks and queries for measuring a software product: North Star and input metrics, AARRR funnels, retention cohorts, and A/B test design with sample-size math. Use when someone asks to "define product metrics", "find our aha moment", "analyze retention", "build a funnel", "size an A/B test" or "why are users churning".

Как установить скилл product-analytics?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл product-analytics запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить product-analytics с