Claude skill · Landing pages

ab-testing: plan A/B tests and read results you can trust

ab-testing is a free Claude skill from the marketingskills repo for planning and reading A/B tests. It writes a hypothesis you can check, sizes the sample before launch, chooses a primary metric and the guardrails, and warns against stopping early. When results arrive it says whether you can trust them. It suits marketers and product teams who test pages, offers and ads.

ab-testing

What you give and what you get

What you give, ab-testing working, and what you get back.

What you give

  • The page or flow and the change you want to test
  • Your baseline conversion rate and traffic
  • The smallest lift worth detecting
  • Your testing tool and any past tests

What you get

  • A hypothesis with the data, change, audience and metric
  • The sample size per version and how long to run
  • Primary, secondary and guardrail metrics
  • A clear reading of the result and its uncertainty
  • A backlog ranked by impact, confidence and ease

Read from its SKILL.md.

How it works

  1. 01

    Asks about the test

    It asks what you want to improve, your baseline conversion rate, your traffic, your tools and your timeline.

  2. 02

    Writes the hypothesis

    Each hypothesis names the observation, the change, the expected result, the audience and the metric that proves it. One change per test.

  3. 03

    Sizes the sample

    It sets the sample size before launch. At a 3% baseline, a 20% lift needs about 14,000 visitors per version.

  4. 04

    Guards the running test

    It warns against peeking, stopping early, changing versions mid-test or adding new traffic sources, and stops a test when a guardrail metric turns clearly worse.

  5. 05

    Reads the result

    It checks sample size, significance, effect size, guardrails and segments, and reports the interval, not only a winner. Wins go into a playbook of patterns.

Prompt

Example prompt

Paste it once the skill is installed and swap in your own details.

We want to test a shorter signup form on our project management app. The signup rate is 4% from about 20,000 visits a month. Write the hypothesis, the sample size and how long to run the test.

How to install it

How to install ab-testing

npx skills add coreyhaines31/marketingskills --skill ab-testing

In the terminal, inside your project. Add -g to have it in every project. The installer asks which apps to add it to.

/plugin marketplace add coreyhaines31/marketingskills/plugin install marketing-skills

Inside Claude Code. Installs the whole package from the repo.

Or by hand: copy the folder to ~/.claude/skills/ab-testing/

  1. Download the skill folder from GitHub and zip it, with the folder at the root of the ZIP.
  2. In Claude, open Customize, then Skills.
  3. Press +, choose Create skill, then Upload a skill.
  4. Upload the ZIP and turn the skill on. Code execution must be on.
  • Codex and Cursor: the same npx command installs it for them; the installer asks which apps.
  • ChatGPT Business, Enterprise and Edu: Plugins, the Skills tab, Add, then Upload from your computer.
  • Other ChatGPT plans: attach the SKILL.md to a project and ask it to follow the file.

Open the folder on GitHub Full install guide

Who it suits

Growth marketers, product managers and founders who run tests on pages, signup flows or ads and want results they can defend.

What it needs and where it stops

It plans and reads tests but does not run them: you need a testing tool such as PostHog, Optimizely or VWO, and enough traffic. Below the planned sample size the skill treats a result as preliminary.

Listed under Landing pagesAds

Landing pages

Related skills

Questions

Questions about ab-testing

Is the ab-testing skill free?

Yes. It is published under the MIT licence in the marketingskills repo on GitHub. You pay only for your Claude plan.

Can I stop a test as soon as one version leads?

No. The skill warns that peeking and stopping early give false winners. Set the sample size first and read the result when you reach it, unless a guardrail metric turns clearly worse.

What if the result is not significant?

Report the effect interval and follow the stopping rule you set. Do not extend a finished test until it turns significant. Plan a new test if the question still matters.

Which skill prepares the tracking?

The analytics-tracking skill, called analytics in the repo, plans the events and checks that they fire, so the test has clean numbers to read.

We put these skills to work in your team

Book a free 30-minute call. We pick the skills for your work and train your team to use them.

Book a discovery call

30 minutes · Free · Online

Free discovery call

30 minutes · Online · Free · English or Spanish

Our address: info@levercrew.com

LeverCrew uses your details only to reply to you and prepare the call. Privacy

Growth AI Tips

AI tips your team can use the same day

One email every two weeks, for sales and marketing teams.

  • The tip, in a few lines
  • The prompt or workflow, ready to copy
  • How to check that it works

Free. Unsubscribe with one click. Privacy policy