Skip to content

A/B Test Analysis skill

Check A/B test significance, sample size and split, then ship, extend or stop.

Community, verifiedby Pawel HurynChecked November 8, 2026

Install A/B Test Analysis free

Leave your email and the install steps open right here: one prompt to paste into your AI tool. Works for all 151 skills.

No spam. One click to unsubscribe. We use your email to send you this bonus, new guides and news about our courses.

A/B Test Analysis is a free skill from Pawel Huryn's PM Skills collection that turns raw test numbers into a ship, extend or stop decision. Give it a CSV export or the totals and Claude checks the traffic split, sample size and significance, writes Python for the math and saves a short Markdown report. It suits shop owners, marketers and product managers who run tests in a store, email tool or site builder and do not want to do the statistics by hand.

Who is A/B Test Analysis for?

  • Shop owners
  • Growth marketers
  • Product managers

What's inside A/B Test Analysis

A/B Test Analysis is a single 82-line SKILL.md with no scripts. When you hand it raw data, it tells Claude to write and run a Python script for the statistics, so it needs a tool where Claude can run code.

When it switches on

It switches on when you want to know whether an experiment worked: whether it reached significance, how to read split-test numbers or whether to ship the variant.

What the instructions cover

  • Questions first: hypothesis, what changed, the main metric, guardrail metrics (numbers that must not get worse), duration and traffic split
  • Setup checks: sample size, a warning below 80% power, one or two full business cycles, sample ratio mismatch (a split that drifted from the plan) and novelty effects
  • The math: conversion rates, relative lift, a two-tailed z-test or chi-squared p-value and a 95% confidence interval
  • A five-row decision table: ship, investigate, extend, stop or don't ship
  • A Markdown results template with a metrics table, the recommendation, the reasoning and next steps

What it needs

  • Code execution (Claude Code, or the Claude app with code execution on) when you give it raw files such as CSV or Excel, since it writes a Python script for the calculations
FileWhat it is
SKILL.md82 lines: six steps from understanding the test to the written summary, plus three reading links to the author's newsletter

Watch out: The sample-size formula in the file has no term for statistical power, so it gives about half the visitors that 80% power needs: about 2,950 per version instead of about 6,700 for a test moving from 4% to 5%. If you size a test by hand, use a calculator that asks for power.

What happened when we ran it

On November 8, 2026 we ran it 13 times with Claude Opus 5.5 on two made-up shop tests, with our own script checking the math (logs in our research folder). Every run gave the right call, and every run of the trap test caught the uneven 50/50 split and the lower order value. None used the file's short sample-size formula, but one run put the odds of that split being chance at one in a trillion instead of about one in two million. Asked in Spanish, Portuguese or French, Claude loaded the skill in only 3 of 7 runs, so name the skill in your request.

How to use A/B Test Analysis: which prompts work?

Prompt 1
Here is my A/B test export: [attach the CSV with visitors and orders per version]. Version B is [what changed]. Did B win, and should I switch everyone to it?
Prompt 2
My [email subject line / pricing page] test: A had [visitors] visitors and [conversions] signups, B had [visitors] and [conversions], over [number] days. Is that significant, and how much longer should it run?
Prompt 3
B gets more orders than A, but check revenue per visitor and the 50/50 split before I roll it out: [paste the daily numbers].

How do you install A/B Test Analysis?

Skills follow the open Agent Skills standard, so this one is not tied to one company. Pick the AI tool you use. Not sure? The first tab covers most of them in one step. New to this? Our guide on how to install Claude skills walks through it, and Anthropic's plugin guide covers the Claude app.

Easiest: paste this into your AI tool
Install this skill for me so it works in every project: run `npx skills add https://github.com/phuryn/pm-skills/tree/main/pm-data-analytics/skills/ab-test-analysis -g -y` in my terminal. If Node.js is missing, tell me how to install it first. When it's done, confirm the skill is installed and tell me how to start using it.

Or do it yourself:

One command installs the skill: it finds the AI tools on your computer and asks which ones should get it.

npx skills add https://github.com/phuryn/pm-skills/tree/main/pm-data-analytics/skills/ab-test-analysis -g

You need Node.js installed (free, from nodejs.org). The -g flag makes the skill available in every project.

Good to know: Part of the pm-data-analytics plugin, with cohort analysis and SQL query skills.

Unlock the install steps

Free. Leave your email once to open the install steps for all 151 skills, and get the best new skills each month.

No spam. One click to unsubscribe. We use your email to send you this bonus, new guides and news about our courses.

How did we check A/B Test Analysis?

On November 8, 2026 we read the skill's only file, its 82-line SKILL.md. The section on what's inside comes from that file. Its license is MIT. Its files were last changed in March 2026. We also ran it on test tasks ourselves; the results are under What happened when we ran it.

Official sources: Evan Miller's A/B test sample size calculator (asks for power), Claude help center: Use plugins in Claude

What to do next

Paste the numbers from your last real test into the first prompt and compare its verdict with what your testing tool reported. To keep prompts like this as reusable files, read how to create a Claude skill; Claude Code for marketers shows where test analysis fits in a marketing week, and the Claude Code course (early access) covers analyzing your own data step by step.