Guide · Agent skill
How to use the A/B Test Planner agent skill (ab-testing)
Updated · written with AI from the project's own documentation and checked against our catalogue data
The A/B Test Planner is an agent skill, a folder of instructions that Claude loads when your request matches its purpose. This guide explains what the ab-testing skill makes the agent do, how to install it, how to ask for it, and where it falls short. It is written for people who have never installed a skill before.
Quick start
- 1Download the ZIP. Get the ab-testing skill ZIP from the skill's page in our directory.
- 2Unzip into a skills folder. Place the ab-testing folder in ~/.claude/skills/ for personal use, or in a project's .claude/skills/ folder.
- 3Or upload in the Claude apps. In the Claude apps, go to Settings → Capabilities → Skills and upload the skill.
- 4Describe your experiment. Ask in plain language, for example to plan an A/B test for a landing page.
- 5Answer the agent's questions. Give the test context, baseline conversion rate, traffic volume and constraints.
- 6Review the plan and checklist. Check the hypothesis, metrics, sample size and pre-launch checklist before you launch.
What the ab-testing skill makes the agent do
Once installed, the agent helps you plan controlled experiments. It asks what you want to improve and what change you are considering, then helps you write a testable hypothesis in a fixed structure: an observation, the change, the expected outcome, the audience and the metrics that will show whether it worked.
It also helps you choose a primary metric, secondary metrics and guardrail metrics, and recommends sample sizes and test duration using a named calculation method. Before launch it works through a pre-launch checklist and warns about common mistakes such as stopping a test early or misreading p-values.
- Turns a vague idea into a specific hypothesis
- Suggests primary, secondary and guardrail metrics
- Gives a sample size and duration approach with recorded inputs
- Provides a pre-launch checklist and analysis checklist
- Includes test plan and results templates for documentation
Install the ab-testing skill
Download the ZIP from the skill's page in our directory and unzip it. You can place the skill folder in one of two locations. For a personal skill available across your projects, use ~/.claude/skills/. For a skill limited to one project, put it in that project's .claude/skills/ folder.
If you use the Claude apps instead of a local setup, you can upload the skill under Settings → Capabilities → Skills.
- Personal: ~/.claude/skills/ab-testing/
- Project only: .claude/skills/ab-testing/ inside your project
- Claude apps: Settings → Capabilities → Skills, then upload
Trigger the skill with natural requests
You do not need a special command. The skill loads when your request is about planning, designing or implementing an A/B test or experiment, or building a growth experimentation program. Describe your situation in plain language and say what you want to achieve.
If you keep a product marketing context file at .agents/product-marketing.md or .claude/product-marketing.md, the skill reads it first so it does not ask for information you have already given.
- "Help me plan an A/B test for our pricing page."
- "What sample size do I need to test a new signup button?"
- "Give me a pre-launch checklist for this landing page experiment."
- "Set up an experimentation program for our growth team."
Examples of what you get back
For a pricing page test, the skill would suggest plan selection rate as the primary metric, time on page and plan distribution as secondary metrics, and support tickets and refund rate as guardrails. For a headline test, it would ask for the baseline conversion rate and the smallest lift worth detecting before recommending a sample size.
The skill's hypothesis example contrasts a weak idea (changing a button colour might increase clicks) with a strong one that names the evidence, the audience and the metric.
What you need and what the skill does not do
The skill lists no required software or packages. It runs no scripts and makes no network calls. It is mostly written guidance and reference tables rather than code, so the calculations it suggests are for you to confirm in a calculator or your testing tool.
It is not a formal statistical analysis pipeline. Use it for planning and checklists, not for analysing existing data rigorously.
- Requires: nothing listed
- Runs scripts: no
- Uses network: no
- Licence: MIT
Safety notes and tips
Because the skill runs no scripts and uses no network, the main risks are in the advice itself. Check any sample size against the calculators the skill links to, and treat its recommendations as a starting point for your own team's review. The skill also states that testing does not authorise unrequested production rollout or data sharing.
Tips: write the hypothesis before building anything, commit to a sample size in advance, and do not peek at results and stop early. Keep a test plan for every experiment so results can be compared later.
- Pre-commit the sample size and do not stop early
- Check for sample-ratio mismatch and missing events
- Keep variants accessible, honest and privacy-compliant
- Document every test, including inconclusive ones
What people use it for
- Planning a landing page headline or CTA test with a written hypothesis
- Choosing primary, secondary and guardrail metrics for a pricing page experiment
- Estimating sample size and duration before committing engineering time
- Deciding between client-side and server-side variant assignment
- Setting up a repeatable experimentation loop for a growth team
Frequently asked questions
How do I install the ab-testing agent skill?
Download the ZIP from the skill's page in our directory and unzip it into ~/.claude/skills/ for personal use, or into a project's .claude/skills/ folder. In the Claude apps, you can instead upload it under Settings → Capabilities → Skills.
Is the ab-testing skill free to use?
The skill is published under the MIT licence, as stated on its page. Check the licence file in the source repository for the full terms.
What does the ab-testing skill require?
The skill lists no required tools. It runs no scripts and makes no network calls, and it is mostly written guidance and reference tables.
Can the skill calculate statistics from my existing data?
No. It is designed for planning and guidance, not for a formal statistical analysis of existing data. Use a proper analysis tool for that.
Who should not use this skill?
Teams with very little traffic should not rely on it, because any test will be underpowered and the skill cannot fix that. Teams that need formal analysis of past data should choose a different tool.
How does this compare with using an online sample size calculator?
The skill helps with the whole plan: hypothesis, metrics, variants, checklist and documentation, and it links to calculators such as Evan Miller's and Optimizely's for the sample size itself.
New agent skills, repos and AI tools — every week
The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.
Our verdict
The ab-testing skill suits marketers, product and growth teams, and developers who want a structured plan and checklist before running an experiment. It is not a substitute for statistical analysis, and teams with very little traffic or a need for formal analysis of existing data should pick another approach.
Download the skill