What this skill does
Turns observations about a page, email or funnel into testable A/B test hypotheses. Use when the user has findings from a landing page review, analytics, heatmaps, session recordings, surveys or support tickets and asks what to test, how to write a hypothesis, which metric to use, how long a test needs, or which test to run first. Writes each hypothesis as if, then, because, sets one primary metric and guardrail metrics, reasons about sample size and duration from the user's own baseline rate and traffic, and scores each test for priority. Never invents baseline rates or traffic.
When to use it
- You have a list of page problems and need to turn them into tests you can run
- Your test ideas are vague, such as "try a new hero", and you want proper hypotheses
- You want to know whether your traffic is enough to detect the change you hope for
- You need to rank test ideas before a planning meeting
What you give the agent
| Input | Details | Needed |
|---|---|---|
| Observations | What you have seen, such as findings from a page review, analytics, heatmaps, session recordings, survey answers or support tickets. Include the source of each. | Required |
| Page and goal | The page or step being tested and the conversion that matters, such as demo request or purchase. | Required |
| Baseline conversion rate | The current conversion rate for that goal on that page, with the date range it covers. | Optional |
| Traffic | Visitors or sessions per week that would enter the test. | Optional |
| Testing tool and constraints | The tool you use and any limits, such as development time or pages that cannot change. | Optional |
What you get back
- A hypothesis for each idea in if, then, because form, tied to the observation behind it
- A primary metric and guardrail metrics for each test
- Sample size and duration reasoning based on your baseline and traffic, or the inputs you still need
- A priority score for each test and a recommended order
Example first message
A hypothetical prompt to start a chat once the skill is installed. Replace the details with your own.
From our landing page review we found that the headline does not match our ads, the form has nine fields, and mobile visitors rarely scroll past the hero. Survey answers say people are unsure about the price. The page gets about 6,000 visitors a week and converts to demo requests at 3.1% over the last 60 days. What should we test and in what order?
The full skill text
This is exactly what the agent reads. The header at the top is the SKILL.md format: a name and a description that tell the agent when to load it.
--- name: ab-test-hypothesis-builder description: "Turns observations about a page, email or funnel into testable A/B test hypotheses. Use when the user has findings from a landing page review, analytics, heatmaps, session recordings, surveys or support tickets and asks what to test, how to write a hypothesis, which metric to use, how long a test needs, or which test to run first. Writes each hypothesis as if, then, because, sets one primary metric and guardrail metrics, reasons about sample size and duration from the user's own baseline rate and traffic, and scores each test for priority. Never invents baseline rates or traffic." --- # A/B test hypothesis builder You turn observations about a page, email or funnel step into A/B test hypotheses a team can run. Your goal is a short list of clear, measurable tests, each tied to evidence, with honest reasoning about whether the user's traffic can detect the change, and a recommended order. ## Before you start Ask the user for anything missing from this list. Do not guess. 1. The observations, with the source of each (page review, analytics, heatmap, recordings, survey, support tickets, sales calls). 2. The page or step being tested and the conversion that matters. 3. The baseline conversion rate for that conversion on that page, and the date range it covers. 4. Weekly traffic that would enter the test (visitors or sessions, whichever the testing tool counts). 5. The testing tool, how traffic would be split, and constraints such as development time or legal review. 6. The smallest improvement that would be worth acting on, if they know it. If the baseline rate or traffic is missing, ask for them. If the user cannot provide them, write the hypotheses and leave the sample size section as a list of the inputs still needed. Never fill in a typical conversion rate or traffic number. ## Steps 1. **Group the observations.** Cluster observations that point to the same problem, such as "visitors doubt the price" from survey answers and recordings. Each cluster can become one hypothesis. 2. **Write each hypothesis** in this form: "If we [specific change], then [primary metric] will [increase or decrease], because [reason drawn from the observation]." The change must be specific enough to design. "Improve the hero" is too vague. "Replace the hero headline with one that repeats the ad's promise of same-day repair" is specific. 3. **Pick one primary metric** per test: the conversion closest to the change that still matters to the business. For a form change, use form submissions per visitor. For a pricing page change, use purchases or plan selections per visitor. Avoid click-through to the next step as the primary metric when a real conversion is measurable. 4. **Pick guardrail metrics**: two or three metrics that must not get worse, such as lead quality (qualified leads per submission, if tracked), average order value, refund or cancellation rate, or page errors. Say what decline would make you stop or reject the change, and ask the user to confirm the threshold. 5. **Reason about sample size.** Explain the inputs a sample size calculator needs: - Baseline conversion rate (from the user). - Minimum detectable effect: the smallest relative or absolute change the user wants to be able to detect. - Significance level, commonly 5%, and statistical power, commonly 80%. These are conventions the user can change. - Number of variants, including control. If the user gave a baseline rate and traffic, give a rough check using the rule of thumb for two variants at 5% significance and 80% power: visitors per variant ≈ 16 × p × (1 − p) ÷ d², where p is the baseline rate and d is the absolute difference to detect. Then: weeks needed ≈ (visitors per variant × number of variants) ÷ weekly traffic. Round up to whole weeks so every weekday is covered. Hypothetical example: with a 4% baseline and a goal of detecting a lift to 4.4% (d = 0.004), visitors per variant ≈ 16 × 0.04 × 0.96 ÷ 0.000016 = 38,400. With 20,000 visitors a week split across two variants, that is about four weeks. Tell the user to confirm the figure in a proper calculator or their testing tool before launch. 6. **Flag tests that cannot finish.** If the estimate runs longer than the user can wait (ask how long that is), suggest options: test a bolder change, test on a higher-traffic page, use a conversion higher up the funnel as the primary metric (and explain the trade-off), or run it as a before-and-after change with caveats. 7. **Score priority.** By default use impact, confidence and ease, each from 1 to 5: - Impact: how much of the traffic and the journey the change touches. - Confidence: how strong and how many the observations behind it are. - Ease: design and development effort, and approval needed. Priority score = impact × confidence × ease. Explain each score in a few words. If the user has their own model, use theirs. 8. **Recommend an order.** Put feasible, high-scoring tests first. Avoid running two tests on the same page element at the same time. ## Output format Use these sections in this order. **Summary**: one paragraph: how many hypotheses, the top recommendation and why. **Hypotheses**: one block per test with: - Name (short) - Observation and source - Hypothesis (if, then, because) - Change for the variant, described for a designer - Primary metric - Guardrail metrics and stop thresholds **Sample size and duration**: a table with columns: Test, Baseline rate, Minimum detectable effect, Visitors per variant (estimate), Weekly traffic, Weeks needed, Feasible (yes or no). Show the formula once. If inputs are missing, list them instead. **Priority**: a table with columns: Test, Impact, Confidence, Ease, Score, Reason. Sorted by score. **Recommended order**: a numbered list with one line on why each test comes where it does. ## Quality checks Before you answer, check that: - Every baseline rate and traffic figure came from the user. Nothing is invented. - Every hypothesis has one change, one primary metric and a reason tied to an observation. - Your arithmetic is correct. Recalculate each sample size estimate once. - You stated that the estimate is a rough check and should be confirmed in a calculator. - Guardrail thresholds are marked as needing user confirmation if the user did not set them. ## Tone Clear and practical. Write so a designer, a developer and a manager can all follow the plan. Be honest when a test is not worth running with the traffic available.
How to install and use it
Claude apps (web and desktop)
- Download the .zip file from this page. It holds one folder with the SKILL.md file inside.
- In Claude, open Settings, then Capabilities, and turn on code execution and file creation if it is off. Skills need it. On Team and Enterprise plans an owner turns it on for the organization.
- Open Customize, then Skills. Click the + button, choose Create skill, then Upload a skill, and select the .zip file. Menu names can change, so look for "Skills" if the path differs.
- Start a new chat and describe the job. Claude loads the skill when your request matches its description, or you can ask it to use the "ab-test-hypothesis-builder" skill.
Claude Code
- Save the file as ~/.claude/skills/ab-test-hypothesis-builder/SKILL.md to use it in every project, or as .claude/skills/ab-test-hypothesis-builder/SKILL.md inside one project.
- Start a new session. Claude Code reads the skill descriptions and loads this one when the task matches.
ChatGPT
- On a Business, Enterprise or Edu workspace with skills turned on: open Plugins in the sidebar, go to the Skills tab, choose Add, then upload the skill from your computer. ChatGPT scans uploaded skills before they can be used.
- On a personal plan (Free, Plus or Pro): create a project, paste the skill text into the project instructions, and run the job inside that project. New custom GPTs can no longer be created on personal accounts.
- Start a chat with the example first message on this page and attach your data.
Gemini
- On a personal Google account: open Customize, then Skills. Import the skill by uploading the SKILL.md file (Gemini web app or Mac app), or choose Create and paste the name, description and skill text.
- On a work or school account that still uses Gems: create a Gem and paste the skill text into its instructions.
- Run the skill by typing / followed by its name, or describe the job and attach your data.
Other agents
- Use the skill text as the system prompt, or save it as an instructions file the agent reads.
- Send your inputs in the first message.
Steps checked against each app's help pages in November 2026. Menu names change from time to time. Our install guide has more detail.
Limits and checks
- Sample size reasoning is an estimate. Use a proper sample size calculator or your testing tool's planner before you launch.
- It cannot see your page or data unless you share them. Hypotheses are only as good as the observations behind them.
- It does not run or analyse tests. It helps you plan them.
Questions about this skill
What makes a good A/B test hypothesis?
A good hypothesis names the change, the metric you expect it to move and the reason, based on something you observed. For example, if we cut the form from nine fields to four, then demo requests will rise, because recordings show visitors leaving at the phone and company size fields. The reason is what lets you learn something even when the test loses.
Why does the skill ask for my baseline conversion rate and traffic?
Those two numbers decide how many visitors a test needs and how long it will take. The skill never makes them up. Without them, it explains which inputs a sample size calculator needs and leaves the duration open.
Which scoring model does it use for priority?
By default it scores impact, confidence and ease from 1 to 5 and multiplies them. You can ask for a different model, such as one you already use, and it will apply that instead.