Agent skill

Product Analytics

by yonatangross in yonatangross/orchestkit

A/B test evaluation, cohort retention analysis, funnel metrics, and experiment-driven product decisions.

MITAuto-check passedData & Analytics

Install Product Analytics

skills CLI
$ npx skills add yonatangross/orchestkit --skill product-analytics -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install yonatangross/orchestkit product-analytics --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/yonatangross/orchestkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/src/skills/product-analytics .claude/skills/product-analytics && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
product-analytics
GitHub stars
290
Token cost
~1.8k tokens
SKILL.md length
626 words
Files
8 (incl. references)
Skills in repo
108
Repo updated
First seen
Licence
MIT

At a glance

A/B test evaluation, cohort retention analysis, funnel metrics, and experiment-driven product decisions.

  • Works in 5 steps: Peeking — stopping an experiment early… → Multiple comparisons — testing 10… → Sample Ratio Mismatch (SRM) — if variant… → …
  • Analyzing experiments
  • SKILL.md covers Quick Reference, A/B Test Evaluation, Cohort Retention and Funnel Analysis, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Product Analytics is an agent skill from yonatangross/orchestkit. A/B test evaluation, cohort retention analysis, funnel metrics, and experiment-driven product decisions. Use when analyzing experiments, measuring feature adoption, diagnosing conversion drop-offs, or evaluating statistical significance of product changes.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including reference files (for example `references/stats-cheat-sheet.md`, `rules/_sections.md` and `rules/_template.md`). Compatibility notes: Claude Code 2.1.277+.

It sits in Data & Analytics, covering Product analytics and A/B testing. The repository describes itself as: The Complete AI Development Toolkit for Claude Code. 106 skills, 36 agents, 171 hooks. Install ork for stable (v9.x), or ork-alpha for the v10 line, which ships daily. The licence is MIT.

When your agent uses it

  • Analyzing experiments
  • Measuring feature adoption
  • Diagnosing conversion drop-offs
  • Evaluating statistical significance of product changes

Example prompts

  • “/product-analytics”

Requirements

  • Compatibility (from SKILL.md): Claude Code 2.1.277+.
  • Pre-approved tools (allowed-tools): Read, Glob, Grep, WebFetch, WebSearch

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Peeking — stopping an experiment early because results look good inflates false-positive rate. Commit to a runtime before launch.
  2. Multiple comparisons — testing 10 metrics at p < 0.05 means ~1 false positive by chance. Apply Bonferroni correction or pre-register your…
  3. Sample Ratio Mismatch (SRM) — if variant group sizes differ from expected split by > 1%, your experiment is broken. Fix before analyzing…
  4. Novelty effect — new features get inflated engagement in week 1. Run experiments long enough to see settled behavior (minimum 2 full…
  5. Simpson's paradox — aggregate results can reverse when segmented. Always check results by key segments (device, plan tier, geography).

What it can do on your machine

Read from SKILL.md and the folder at commit 02bbf9a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Glob
    • Grep
    • WebFetch
    • WebSearch

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown and sql).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Claude Code 2.1.277+.

    From compatibility in the SKILL.md frontmatter.

Context cost

Product Analytics loads about 1.8k tokens when it runs, and up to ~3k if it reads all its reference files. Until then it costs about 69 tokens; SKILL.md has 626 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~69
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from yonatangross/orchestkit at commit 02bbf9a, republished under its MIT licence (© yonatangross). 626 words, ~1,772 tokens.

Download SKILL.mdSave it as .claude/skills/product-analytics/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.
name
product-analytics
description
A/B test evaluation, cohort retention analysis, funnel metrics, and experiment-driven product decisions. Use when analyzing experiments, measuring feature adoption, diagnosing conversion drop-offs, or evaluating statistical significance of product changes.
allowed-tools
Read, Glob, Grep, WebFetch, WebSearch
compatibility
Claude Code 2.1.277+.
license
MIT
user-invocable
false
disable-model-invocation
false
metadata.owner-agent
product-strategist
metadata.category
document-asset-creation
metadata.version
1.0.0
metadata.author
OrchestKit
metadata.complexity
medium
metadata.tags
ab-test, cohort, retention, funnel, conversion, analytics, experiment, statistical-significance

Product Analytics

Frameworks for turning raw product data into ship/extend/kill decisions. Covers A/B testing, cohort retention, funnel analysis, and the statistical foundations needed to make those decisions with confidence.

Quick Reference

CategoryRulesImpactWhen to Use
A/B Test Evaluation1HIGHComparing variants, measuring significance, shipping decisions
Cohort Retention1HIGHFeature adoption curves, day-N retention, engagement scoring
Funnel Analysis1HIGHDrop-off diagnosis, conversion optimization, stage mapping
Statistical Foundations1HIGHp-value interpretation, sample sizing, confidence intervals

Total: 4 rules across 4 categories

A/B Test Evaluation

Load rules/ab-test-evaluation.md for the full framework. Quick pattern:

markdown
## Experiment: [Name]

Hypothesis: If we [change], then [primary metric] will [direction] by [amount]
  because [evidence or reasoning].

Sample size: [N per variant] — calculated for MDE=[X%], power=80%, alpha=0.05
Duration: [Minimum weeks] — never stop early (peeking bias)

Results:
  Control:   [metric value]  n=[count]
  Treatment: [metric value]  n=[count]
  Lift:      [+/- X%]        p=[value]  95% CI: [lower, upper]

Decision: SHIP / EXTEND / KILL
  Rationale: [One sentence grounded in numbers, not gut feel]

Decision rules:

  • SHIP — p < 0.05, CI excludes zero, no guardrail regressions
  • EXTEND — trending positive but underpowered (add runtime, not reanalysis)
  • KILL — null result or guardrail degradation

See rules/ab-test-evaluation.md for sample size formulas, SRM checks, and pitfall list.

Cohort Retention

Load rules/cohort-retention.md for full methodology. Quick pattern:

sql
-- Day-N retention cohort query
SELECT
  DATE_TRUNC('week', first_seen)  AS cohort_week,
  COUNT(DISTINCT user_id)         AS cohort_size,
  COUNT(DISTINCT CASE
    WHEN activity_date = first_seen + INTERVAL '7 days'
    THEN user_id END) * 100.0
    / COUNT(DISTINCT user_id)     AS day_7_retention
FROM user_activity
GROUP BY 1
ORDER BY 1;

Retention benchmarks (SaaS):

  • Day 1: 40–60% is healthy
  • Day 7: 20–35% is healthy
  • Day 30: 10–20% is healthy
  • Flat curve after day 30 = product-market fit signal

See rules/cohort-retention.md for behavior-based cohorts, feature adoption curves, and engagement scoring.

Funnel Analysis

Load rules/funnel-analysis.md for full methodology. Quick pattern:

markdown
## Funnel: [Name] — [Date Range]

Stage 1: [Aware / Land]     → [N] users    (entry)
Stage 2: [Activate / Sign]  → [N] users    ([X]% from stage 1)
Stage 3: [Engage / Use]     → [N] users    ([X]% from stage 2)  ← biggest drop
Stage 4: [Convert / Pay]    → [N] users    ([X]% from stage 3)

Overall conversion: [X]%
Biggest drop-off:  Stage 2→3 ([X]% loss) — investigate first

Optimization order: Fix the largest drop-off first. A 5-point improvement at a high-volume step is worth more than a 20-point improvement at a low-volume step.

See rules/funnel-analysis.md for segmented funnels, micro-conversion tracking, and prioritization patterns.

Statistical Foundations

Plain-English explanations of the stats every PM needs. Load references/stats-cheat-sheet.md for formulas and quick lookups.

p-value in plain English: The probability that you would see a result this extreme (or more extreme) if the change had zero effect. p=0.03 means a 3% chance you're looking at random noise. It does NOT mean "97% probability the change works."

Confidence interval in plain English: The range where the true effect probably lives. "Lift = +8%, 95% CI [+2%, +14%]" means you are fairly confident the real lift is somewhere between 2% and 14%. If the CI includes zero, you cannot claim a win.

Minimum Detectable Effect (MDE): The smallest lift you care about detecting. Setting MDE too small forces impractically large sample sizes. Anchor MDE to business value — if a 2% lift is not worth shipping, set MDE = 5%.

Statistical vs practical significance: A result can be statistically significant (p < 0.05) but practically meaningless (lift = 0.01%). Always check both. A 0.01% lift that costs 6 weeks of eng time is not a win.

Show full SKILL.md (231 more words)Show less

Common Pitfalls

  1. Peeking — stopping an experiment early because results look good inflates false-positive rate. Commit to a runtime before launch.
  2. Multiple comparisons — testing 10 metrics at p < 0.05 means ~1 false positive by chance. Apply Bonferroni correction or pre-register your primary metric.
  3. Sample Ratio Mismatch (SRM) — if variant group sizes differ from expected split by > 1%, your experiment is broken. Fix before analyzing results.
  4. Novelty effect — new features get inflated engagement in week 1. Run experiments long enough to see settled behavior (minimum 2 full business cycles).
  5. Simpson's paradox — aggregate results can reverse when segmented. Always check results by key segments (device, plan tier, geography).

Ship / Extend / Kill Framework

SignalDecisionAction
p < 0.05, CI excludes zero, guardrails greenSHIPFull rollout, update success metrics
Positive trend, underpowered (p = 0.10–0.15)EXTENDAdd runtime, do not peek again
p > 0.15, flat or negativeKILLRevert, document learnings, re-hypothesize
Guardrail regression, any p-valueKILLImmediate revert regardless of primary metric
SRM detectedINVALIDFix assignment bug, restart experiment
  • ork:product-frameworks — OKRs, KPI trees, RICE prioritization, PRD templates
  • ork:monitoring-observability — Metric definition, alerting, and drift monitoring
  • ork:brainstorm — Generate hypotheses and experiment ideas
  • ork:assess — Evaluate product quality and risks

References

  • rules/ab-test-evaluation.md — Hypothesis, sample size, significance, decision matrix
  • rules/cohort-retention.md — Cohort types, retention curves, SQL patterns
  • rules/funnel-analysis.md — Stage mapping, drop-off identification, optimization
  • references/stats-cheat-sheet.md — Formulas, test selection, power analysis

Version: 1.0.0 (March 2026)

© yonatangross, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 7 other files (references) in src/skills/product-analytics of yonatangross/orchestkit.

  • SKILL.md
  • references/stats-cheat-sheet.md
  • rules/_sections.md
  • rules/_template.md
  • rules/ab-test-evaluation.md
  • rules/cohort-retention.md
  • rules/funnel-analysis.md
  • test-cases.json

Open the folder on GitHubat commit 02bbf9a

Compare with similar skills

Product Analytics next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Product Analytics compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Product Analytics this skillyonatangross/orchestkit290—~1.8kAutomated safety check: PassMIT
A/B Test Analysisphuryn/pm-skills27k—~893Automated safety check: PassMIT
Analytics Trackingfreekmurze/dotfiles1k12 repos~2kAutomated safety check: PassNone
Product Analyticsmajiayu000/spellbook287—~2.7kAutomated safety check: PassMIT
Data And Funnel Analyticsmanojbajaj95/claude-gtm-plugin105—~2.9kAutomated safety check: PassMIT
AnalyticsNexus-JPF/note-companion8707 repos~2.2kAutomated safety check: PassMIT

Similar skills

  • A/B Test Analysis

    phuryn/pm-skills

    Validates an experiment's setup, works out lift, p-value and confidence interval from A/B test data, and recommends whether to ship, extend or stop.

    27k GitHub stars~893 tokensUpdated 25 days ago
    Data & AnalyticsAuto-check passed
  • Analytics Tracking

    freekmurze/dotfiles

    When the user wants to set up, improve, or audit analytics tracking and measurement.

    1k GitHub starsUsed in 12 repos~2k tokens
    Data & AnalyticsAuto-check passed
  • Product Analytics

    majiayu000/spellbook

    Product analytics and growth expert. An agent skill from majiayu000/spellbook.

    287 GitHub stars~2.7k tokensUpdated yesterday
    Data & AnalyticsAuto-check passed
  • Data And Funnel Analytics

    manojbajaj95/claude-gtm-plugin

    Analytics tracking, interpretation, funnel analysis, product metrics, and ROI measurement.

    105 GitHub stars~2.9k tokensUpdated 21 days ago
    Data & AnalyticsAuto-check passed
  • Analytics

    Nexus-JPF/note-companion

    When the user wants to set up, improve, or audit analytics tracking and measurement.

    870 GitHub starsUsed in 7 repos~2.2k tokens
    Marketing & SEOAuto-check passed
  • App Analytics

    appeeky/aso-skills

    When the user wants to set up, interpret, or improve their app analytics and tracking.

    2.2k GitHub stars~1.6k tokensUpdated 3 days ago
    Marketing & SEOAuto-check passed

More from yonatangross/orchestkit

All 108 skills in this repo
  • API Design

    yonatangross/orchestkit

    API contract design for REST and GraphQL, covering resource shape, URL and header versioning with deprecation windows, RFC 9457 Problem Details error handling, and OpenAPI specs.

    290 GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Architecture Decision Record

    yonatangross/orchestkit

    ADR templates in the Nygard format with context, decision, consequences, and alternatives.

    290 GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Audit Full

    yonatangross/orchestkit

    Single-pass codebase analysis leveraging a 1M-token context window for comprehensive security scanning, architecture review, and dependency auditing.

    290 GitHub stars~3.5k tokensUpdated today
    Auto-check: notes
  • Code Review Playbook

    yonatangross/orchestkit

    Structured review processes, conventional comments, language-specific checklists, and feedback templates.

    290 GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Create PR

    yonatangross/orchestkit

    Creates GitHub pull requests with pre-flight validation, conventional title formatting, and structured summary generation.

    290 GitHub stars~4.5k tokensUpdated today
    Auto-check: notes
  • Explore

    yonatangross/orchestkit

    Multi-angle codebase exploration spawning 3-5 parallel agents for code structure, data flow, architecture patterns, and health assessment.

    290 GitHub stars~3.9k tokensUpdated today
    Auto-check: notes

Questions about Product Analytics

What does Product Analytics do?

A/B test evaluation, cohort retention analysis, funnel metrics, and experiment-driven product decisions. Product Analytics is an agent skill from yonatangross/orchestkit. A/B test evaluation, cohort retention analysis, funnel metrics, and experiment-driven product decisions.

When should I use Product Analytics?

Product Analytics fits situations like: analyzing experiments; measuring feature adoption; diagnosing conversion drop-offs; evaluating statistical significance of product changes.

How do I install Product Analytics in Claude Code?

Run `npx skills add yonatangross/orchestkit --skill product-analytics -a claude-code`. Or copy the skill folder (src/skills/product-analytics in yonatangross/orchestkit) into .claude/skills/product-analytics in your project. Claude Code loads it when a task matches its description.

How do I install Product Analytics in Codex?

Run `npx skills add yonatangross/orchestkit --skill product-analytics -a codex`. Or copy the skill folder (src/skills/product-analytics in yonatangross/orchestkit) into .agents/skills/product-analytics in your project. Codex loads it when a task matches its description.

Can I use Product Analytics in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add yonatangross/orchestkit --skill product-analytics -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/product-analytics, .gemini/skills/product-analytics, .github/skills/product-analytics and .opencode/skills/product-analytics in your project.

What does Product Analytics need to run?

SKILL.md names no scripts, command-line tools or credentials: Product Analytics is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Glob, Grep, WebFetch, WebSearch. Compatibility (from SKILL.md): Claude Code 2.1.277+..

Does Product Analytics access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Product Analytics safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Product Analytics use?

Product Analytics is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Product Analytics use?

About 1.8k tokens (SKILL.md is roughly 7.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.2k tokens, read only when the agent opens those files.

What are the alternatives to Product Analytics?

Skills that share tags, products or a category with Product Analytics: A/B Test Analysis (phuryn/pm-skills, 27k stars), Analytics Tracking (freekmurze/dotfiles, 1k stars), Product Analytics (majiayu000/spellbook, 287 stars) and Data And Funnel Analytics (manojbajaj95/claude-gtm-plugin, 105 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Product Analytics?

yonatangross (a GitHub user) maintains it in yonatangross/orchestkit, which has 290 GitHub stars. The repository holds 108 skills in this directory. The repository was last updated on October 9, 2026.

Source: yonatangross/orchestkit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.