/product-skills:product-analyticsfrom product-skills
Reviews product analytics including metric trees, event taxonomies, retention cohorts, and activation funnels. Useful when designing North Star metrics, auditing instrumentation, or translating data into product decisions.
Ships in product-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
A product analytics skill focused on decisions from data, not dashboards. Covers the metric tree, instrumentation patterns, funnel + retention + cohort analysis, and the operational rituals that turn measurement into product changes.
Before designing the metric tree or audit, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
python3 scripts/metric_tree_designer.py assets/sample_metric_tree.json
python3 scripts/metric_tree_designer.py metric_tree.json --format json
--help).python3 scripts/event_taxonomy_auditor.py assets/flawed_events.json
python3 scripts/retention_cohort_analyzer.py assets/flawed_retention.json --anchor 4
Real output (excerpt, retention_cohort_analyzer.py assets/flawed_retention.json):
Curve shape: steep_to_zero (cohort 2026-03-23): almost everyone leaves; no durable value found
Trend: deteriorating
2. [warn] cohort 2026-03-23: 2.0% at W8 vs median 10.5%
rule: cohort retains well below the median (more than 5pp below median (internal heuristic))
fix: check what changed for cohort 2026-03-23 (channel mix, release, pricing) and segment it
FIX 3 issues
| Code | Meaning |
|---|---|
| 0 | no findings (PASS) |
| 1 | findings to act on (FIX n issues) |
| 2 | unusable input: missing, empty, invalid JSON, wrong shape (BLOCKED: reason on stderr) |
All three tools take the JSON file as a positional argument or --input (- reads stdin), --format text|json (markdown and --json are aliases), and --output FILE. Samples live in assets/ (sample_* exit 0, flawed_* exit 1, malformed_* exit 2). Thresholds (3-5 inputs, 5pp below median, 3pp trend) are internal heuristics, not published benchmarks.
A good North Star metric:
Common patterns by product type:
| Product type | Common North Star |
|---|---|
| Communication / messaging | Messages sent per WAU |
| Marketplace | Successful transactions per MAU |
| Content | Hours of meaningful content consumed |
| Productivity SaaS | Activated workspaces × engagement depth |
| Consumer payments | Active payment senders per week |
| Developer tool | Weekly active developers performing core action |
Don't pick "DAU" or "Revenue" as North Star — they're outputs, not value drivers.
A clean metric tree has three layers:
Plus a guardrails / counter-metrics sidebar (3–5 that catch unintended consequences).
If you have 30 KPIs at the top level, you have no top level.
For any new product or feature, ask: "What does it look like when a user realizes value from this?"
That's the activation event. A clear definition makes:
Common mistake: defining activation as "completed signup." Signup is table stakes; activation is the moment of value.
| Shape | Diagnosis | Action |
|---|---|---|
| Power-law smile | Healthy product-market fit | Invest in scale |
| Slow decay then flat | Product-market fit | Investigate the flatline cohort segment |
| Steep then zero | Novelty product | Re-evaluate the value proposition |
| Linear decline | Leaky bucket | Improve retention features |
| Inverted (rising) | Network effects kicking in | Acquire harder |
Read shape before reading numbers.
| Metric | Vanity if | Actionable if |
|---|---|---|
| DAU / MAU | Tracked alone | Decomposed by segment, action |
| Pageviews | Tracked alone | Tied to conversion funnel |
| Total revenue | Tracked alone | Decomposed by cohort, channel, segment |
| App downloads | Tracked alone | Paired with activation rate |
| Total accounts | Tracked alone | Paired with active accounts |
The test: "If this metric goes up 10% next week, what do we change?" If you don't have an answer, it's vanity.
In Scope:
metric_tree_designer.py for imbalance, unowned metrics, vanity North Stars and missing guardrailsevent_taxonomy_auditor.py for naming consistency, PII risk, duplication, undocumented events and gaps, with a remediation backlogretention_cohort_analyzer.py: retention rates, trend and curve shape (smile, slow decay, leaky bucket, steep, rising)Out of Scope:
data-analytics/analytics-engineer/)product-team/ab-test-setup/)data-analytics/business-intelligence/)engineering/data-quality-auditor/)ra-qm-team/gdpr-dsgvo-expert/)Important Caveats:
references/metric-tree-and-north-star.md — patterns by product type, tree structure, anti-patternsreferences/instrumentation-and-event-design.md — event taxonomy, naming, PII, schema disciplinereferences/cohort-retention-and-funnel-analysis.md — analysis techniques, segmentation, anti-patternsproduct-team/ab-test-setup — experimentation (paired with metrics)product-team/product-strategist — strategy upstream of metricsdata-analytics/ skills — for the data engineering sideengineering/data-quality-auditor — for instrumentation data qualityc-level-advisor/chief-data-officer-advisor — for platform decisionsassets/contract.json (opens in a new tab)assets/flawed_events.json (opens in a new tab)assets/flawed_metric_tree.json (opens in a new tab)assets/flawed_retention.json (opens in a new tab)assets/malformed_events.json (opens in a new tab)assets/malformed_metric_tree.json (opens in a new tab)assets/malformed_retention.json (opens in a new tab)assets/sample_events.json (opens in a new tab)assets/sample_metric_tree.json (opens in a new tab)assets/sample_retention.json (opens in a new tab)references/cohort-retention-and-funnel-analysis.md (opens in a new tab)references/instrumentation-and-event-design.md (opens in a new tab)references/metric-tree-and-north-star.md (opens in a new tab)scripts/common.py (opens in a new tab)scripts/event_taxonomy_auditor.py (opens in a new tab)scripts/metric_tree_designer.py (opens in a new tab)scripts/retention_cohort_analyzer.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub borghei/claude-skills --plugin product-skills15 skills in this plugin
/ab-test-setupCheck an A/B hypothesis, size the test, and analyse results from a CSV with data-quality checks (sample ratio mismatch, small counts, multiple variants). Use when planning an experiment, calculating sample size or duration, reading experiment results, or when someone says "let's test that."
/agile-product-ownerAgile product ownership for backlog management and sprint execution. Use when you have an epic to turn into INVEST-checked user stories with acceptance criteria, oversized stories to split, a sprint to load to capacity, or a backlog to prioritize.
/apple-hig-expertApple Human Interface Guidelines expert across iOS, iPadOS, macOS, watchOS, tvOS, and visionOS. Use when designing or reviewing an Apple-platform app, auditing for HIG compliance, picking native components, or validating accessibility. Use when you have a screen inventory (JSON of true/false flags per screen) to audit, or a UX goal to map to a native pattern.
/design-directionTurns a product brief into a design-system spec: style direction, contrast-checked palette, type pairing, tokens, UX rules and chart choices. Use when starting a new product's UI, picking a palette or fonts, or auditing a token file.
/design-system-leadDesign systems leadership across component libraries, design tokens, and design-dev collaboration. Use when you need to generate design tokens from a brand color (with a WCAG contrast check), scaffold a component spec, or audit design system adoption from a per-product CSV.
/product-designerTurns user research into design decisions: journey maps with gap checks, SUS and task scoring, design critique and flow critique. Use when mapping a journey, scoring a usability test, or critiquing a flow before it ships.
Other plugins' skills for the same job