askill
growth-analytics

growth-analyticsSafety 95Repository

Implement AARRR pirate metrics, select North Star metrics, and distinguish KPIs from OKRs—A/B testing with sample size calculations, retention cohort analysis with SQL templates, and the insight that a healthy retention curve flattens. Use when setting up analytics, designing experiments, or diagnosing growth bottlenecks.

6 stars
1.2k downloads
Updated 2/18/2026

Package Files

Loading files...
SKILL.md

Growth & Analytics

Core Principle

If you can't measure it, you can't improve it. But measuring everything improves nothing. Pick the metrics that drive decisions, ignore the rest.

AARRR Pirate Metrics Framework

The Funnel

ACQUISITION  → How do users find you?
ACTIVATION   → Do they have a great first experience?
RETENTION    → Do they come back?
REVENUE      → Do they pay you?
REFERRAL     → Do they tell others?

Metrics by Stage

StageKey MetricsHealthy Benchmarks
AcquisitionTraffic, signups, CAC by channelCAC < 1/3 of LTV
ActivationOnboarding completion, time-to-first-value40-60% complete onboarding
RetentionD1/D7/D30 retention, churn rateD30 > 20% (consumer), > 80% (SaaS)
RevenueMRR, ARPU, expansion revenue, LTVLTV:CAC > 3:1
ReferralNPS, viral coefficient, referral rateNPS > 50, K-factor > 0.5

Where to Focus First

Fix the funnel from the BOTTOM UP:
  1. Retention first — no point acquiring users who leave
  2. Activation second — make the first experience great
  3. Acquisition third — now pour users into a funnel that works
  4. Revenue fourth — monetize retained users
  5. Referral last — happy retained users refer naturally

North Star Metric Selection

What Makes a Good North Star

A North Star metric must:
  1. Reflect core product value (not vanity)
  2. Be a leading indicator of revenue
  3. Be actionable by the team
  4. Be understandable by everyone

Examples by Company Type

Business TypeNorth StarWhy
SaaS (collaboration)Weekly active teamsTeams = retention + expansion
MarketplaceTransactions completedBoth sides getting value
Content platformDaily reading timeEngagement = ad revenue
E-commercePurchase frequencyRepeat buyers = LTV
Dev toolsBuilds triggered/weekCore value delivered

KPI vs. OKR — The Distinction

KPIs = What you WATCH (ongoing health metrics)
  "MRR is $50K" — it tells you the state of things

OKRs = What you CHANGE (time-bound improvement targets)
  "Increase MRR from $50K to $80K by Q2" — it drives action

KPIs without OKRs = dashboard watching
OKRs without KPIs = flying blind

A/B Testing

Sample Size Calculation

Required sample per variant:
  n = (Z² × p × (1-p)) / E²

Where:
  Z = 1.96 (95% confidence)
  p = baseline conversion rate
  E = minimum detectable effect

Example:
  Baseline conversion: 5% (p = 0.05)
  Want to detect 20% relative lift (5% → 6%, so E = 0.01)
  n = (1.96² × 0.05 × 0.95) / 0.01² = 1,825 per variant
  Total needed: 3,650 visitors

Testing Rules

1. One variable at a time — otherwise you can't attribute results
2. Run to full sample size — don't peek and stop early
3. Statistical significance ≠ practical significance — a 0.1% lift
   at p<0.05 isn't worth shipping
4. Test the big levers first — headlines, CTAs, pricing, not button colors
5. Document every test — hypothesis, result, learning

Testing Prioritization

Test TypeExpected ImpactEffort
Pricing page changesHighLow
Onboarding flowHighMedium
Email subject linesMediumLow
CTA copy and placementMediumLow
Page layout changesMediumHigh
Button color changesLowLow

Retention & Cohort Analysis

The Core Insight

A healthy retention curve FLATTENS.
An unhealthy retention curve approaches zero.

Healthy:  Week 1: 100% → Week 4: 45% → Week 8: 38% → Week 12: 35%
                                                        ↑ Flattening

Unhealthy: Week 1: 100% → Week 4: 30% → Week 8: 15% → Week 12: 5%
                                                        ↑ Still declining

Cohort Analysis SQL Template

-- Weekly retention cohorts
WITH cohort AS (
  SELECT
    user_id,
    DATE_TRUNC('week', MIN(created_at)) AS cohort_week
  FROM events
  WHERE event_name = 'signup'
  GROUP BY user_id
),
activity AS (
  SELECT
    user_id,
    DATE_TRUNC('week', event_time) AS active_week
  FROM events
  WHERE event_name = 'core_action'
  GROUP BY user_id, DATE_TRUNC('week', event_time)
)
SELECT
  c.cohort_week,
  DATEDIFF('week', c.cohort_week, a.active_week) AS week_number,
  COUNT(DISTINCT a.user_id) AS active_users,
  COUNT(DISTINCT a.user_id)::FLOAT
    / COUNT(DISTINCT c.user_id) AS retention_rate
FROM cohort c
LEFT JOIN activity a ON c.user_id = a.user_id
  AND a.active_week >= c.cohort_week
GROUP BY c.cohort_week, week_number
ORDER BY c.cohort_week, week_number;

Reading the Cohort Table

          Week 0  Week 1  Week 2  Week 4  Week 8
Jan cohort  100%    52%     41%     35%     33%   ← Healthy (flattening)
Feb cohort  100%    48%     30%     18%     10%   ← Problem (still declining)
Mar cohort  100%    55%     45%     40%     38%   ← Best (improved onboarding)

Compare cohorts to see if product changes improve retention.

Anti-Patterns

Analytics TheaterReal Analytics
Tracking 50 metrics on a dashboard1 North Star + 4-5 supporting KPIs
"Our MAU is growing!""D30 retention for the Jan cohort is 35%"
Stopping A/B tests when results "look good"Running to calculated sample size
Measuring pageviews and signups onlyMeasuring activation and retention
Annual review of metricsWeekly metric review with action items

Power Move

"Set up a growth analytics framework for [product]. Define the North Star metric, map AARRR metrics with targets, and write a cohort analysis SQL query for our retention data. Then identify the biggest leak in the funnel and design an A/B test to fix it."

The agent becomes your growth analyst — turning data into decisions and experiments into compounding improvements.

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

88/100Analyzed 2/24/2026

Comprehensive growth analytics skill covering AARRR metrics, North Star selection, A/B testing with sample size calculations, and cohort analysis with SQL templates. Well-structured with tables, benchmarks, and actionable frameworks. High reusability as general growth knowledge. Located in dedicated skills folder with clear use case in description.

95
90
90
90
85

Metadata

Licenseunknown
Version-
Updated2/18/2026
Publisherpingwu

Tags

apidatabaseobservabilitytesting