
Ab test analysis
Analyze A/B test results and get a ship, extend or stop recommendation
Ab test analysis is an open-source agent skill for analytics and data. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 28.1K
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Ab test analysis
Evaluates experiment results with statistical rigor and turns them into a product decision. The agent first asks about the hypothesis, the variant, the primary and guardrail metrics, duration and traffic split, then validates the setup: sample size against the expected effect, at least one or two full business cycles, possible sample ratio mismatch and novelty effects.
It then calculates conversion rates, relative lift, p-value with a two-tailed z-test or chi-squared test, and a 95% confidence interval, and weighs statistical against practical significance. If given CSV, Excel or analytics exports it reads them directly and generates and runs Python for the calculations.
When your agent uses it
Analyze A/B test results with statistical significance, sample size validation, confidence intervals, and ship/extend/stop recommendations. Use when evaluating experiment results, checking if a test reached significance, interpreting split test data, or deciding whether to ship a variant.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (4 KB) on GitHub on 17 November 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the pm-data-analytics plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add phuryn/pm-skills
/plugin install pm-data-analytics@pm-skillsOr copy only this skill to ~/.claude/skills/ab-test-analysis:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/phuryn/pm-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ab-test-analysis &&
cp -R "$tmp/pm-data-analytics/skills/ab-test-analysis" ~/.claude/skills/ab-test-analysis &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/ab-test-analysis inside it instead.
Copy the skill folder to ~/.agents/skills/ab-test-analysis to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/phuryn/pm-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ab-test-analysis &&
cp -R "$tmp/pm-data-analytics/skills/ab-test-analysis" ~/.agents/skills/ab-test-analysis &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/ab-test-analysis inside it instead.
Copy the skill folder to ~/.cursor/skills/ab-test-analysis to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/phuryn/pm-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ab-test-analysis &&
cp -R "$tmp/pm-data-analytics/skills/ab-test-analysis" ~/.cursor/skills/ab-test-analysis &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/ab-test-analysis inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/phuryn/pm-skills.git --path pm-data-analytics/skills/ab-test-analysisOr copy the folder to ~/.gemini/skills/ab-test-analysis yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/ab-test-analysis:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/phuryn/pm-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ab-test-analysis &&
cp -R "$tmp/pm-data-analytics/skills/ab-test-analysis" ~/.copilot/skills/ab-test-analysis &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/ab-test-analysis inside it instead.
Get the folder:
git clone --depth 1 https://github.com/phuryn/pm-skills.gitThen copy pm-skills/pm-data-analytics/skills/ab-test-analysis into your agent's skills folder as ab-test-analysis. Agents that support SKILL.md read one folder per skill.
What it does
- Setup validation
- Sample size, power, duration and SRM checks.
- Significance tests
- Lift, p-value and 95% confidence interval.
- Guardrail metrics
- Checks that secondary metrics did not regress.
- Data file input
- Reads CSV or Excel and runs Python for the math.
- Decision recommendation
- Ship, extend or stop.
Good for
- Check whether a test reached significance
- Validate sample size for an experiment
- Interpret split-test data from a CSV
- Decide whether to ship a variant
Ab test analysis FAQ
Can Ab test analysis read my data files?
Yes, CSV, Excel or analytics exports; it generates Python when needed.
What outcomes does Ab test analysis give?
Ship, extend or stop recommendations.
What significance threshold is used?
p < 0.05 with a 95% confidence interval.
How do I install Ab test analysis in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/ab-test-analysis to use it in all your projects, or to .claude/skills/ab-test-analysis in one project. Or install the pm-data-analytics plugin, which includes it: /plugin marketplace add phuryn/pm-skills, then /plugin install pm-data-analytics@pm-skills.
Does Ab test analysis run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Ab test analysis?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Ab test analysis?
The closest alternatives to Ab test analysis are Ab testing, Brainstorm experiments existing, Brainstorm experiments new, Agent platform eval flywheel and Cohort analysis.
Where this comes from
- Description: from the skill's own SKILL.md.
More from phuryn/pm-skills

Turn user stories into step-by-step QA test scenarios
- Open source
- 28.1K GitHub stars
- Developer tools

Pointer skill: code review now lives in the ai-shipping plugin
- Open source
- 28.1K GitHub stars
- Developer tools

Pointer skill: finding code that differs from its docs has moved to ai-shipping
- Open source
- 28.1K GitHub stars
- Developer tools

Pointer skill: documenting AI-built apps for review has moved to ai-shipping
- Open source
- 28.1K GitHub stars
- Developer tools

Turn engagement exports into retention curves, adoption trends and research next steps
- Open source
- 28.1K GitHub stars
- Analytics and data

Write BigQuery, PostgreSQL or MySQL queries from plain-language questions and a schema
- Open source
- 28.1K GitHub stars
- Databases

