# Ab test designer

> Ab test designer is an open-source agent skill for analytics and data. Plans A/B tests with hypotheses, variants, sample sizes and analysis steps. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/lionelsimai/claude-skills-collection/tree/main/skills/ab-test-designer
- **Repository:** https://github.com/lionelsimai/claude-skills-collection
- **GitHub stars:** 43
- **License:** MIT
- **Skill name:** ab-test-designer
- **Collection:** https://github.com/lionelsimai/claude-skills-collection
- **Categories:** [analytics and data](https://ai-powered.com/categories/analytics-and-data)
- **Listing updated:** 2026-12-05

## About

This skill guides the agent through designing an A/B test before any traffic is split. It walks through defining what is being tested, the current baseline metric, the improvement sought and the traffic volume, then produces a structured test plan.

The output follows a fixed template: a falsifiable hypothesis, test type, a primary metric with secondary and guardrail metrics, control and variant descriptions, baseline conversion, minimum detectable effect, significance level, required sample size and estimated duration. It also includes an analysis plan that discourages checking results before the minimum sample is reached and lists segments to review, followed by a risk section and a short quality checklist.

The skill is a single SKILL.md with no bundled scripts. It works from the details the user supplies and does not connect to any analytics platform or experimentation tool.

## When your agent uses it

> Design A/B tests with hypotheses, variants, sample sizes, and analysis plans. TRIGGERS - Use when user wants to run A/B tests, split tests, or experiment with variations.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/lionelsimai/claude-skills-collection/tree/HEAD/skills/ab-test-designer)
- [License: MIT](https://github.com/lionelsimai/claude-skills-collection/tree/HEAD/skills/ab-test-designer)

## Features

- **Hypothesis drafting:** Turns a proposed change into a specific, testable statement with an expected effect on a chosen metric.
- **Sample size estimation:** Lays out baseline rate, minimum detectable effect and significance level to estimate users needed per variant.
- **Metric selection:** Separates one primary metric from supporting and guardrail metrics so the test has a clear decision rule.
- **Variant specification:** Describes the control and changed experience, including room for mockup or wireframe notes.
- **Analysis plan with peeking guard:** Sets out the order of checks and next steps for significant and non-significant outcomes.
- **Risk review:** Lists possible risks to the experiment alongside a mitigation for each.

## Good for

- Plan an A/B test for a landing page headline
- Design a split test for an email subject line
- Estimate how many visitors a checkout experiment needs
- Write a hypothesis and metric list for a new onboarding flow
- Set up guardrail metrics for a pricing page experiment

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/ab-test-designer` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/lionelsimai/claude-skills-collection.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ab-test-designer &&
cp -R "$tmp/skills/ab-test-designer" ~/.claude/skills/ab-test-designer &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/ab-test-designer` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/ab-test-designer` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/lionelsimai/claude-skills-collection.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ab-test-designer &&
cp -R "$tmp/skills/ab-test-designer" ~/.agents/skills/ab-test-designer &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/ab-test-designer` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/ab-test-designer` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/lionelsimai/claude-skills-collection.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ab-test-designer &&
cp -R "$tmp/skills/ab-test-designer" ~/.cursor/skills/ab-test-designer &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/ab-test-designer` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/lionelsimai/claude-skills-collection.git --path skills/ab-test-designer
```

Or copy the folder to `~/.gemini/skills/ab-test-designer` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/ab-test-designer`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/lionelsimai/claude-skills-collection.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ab-test-designer &&
cp -R "$tmp/skills/ab-test-designer" ~/.copilot/skills/ab-test-designer &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/ab-test-designer` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/lionelsimai/claude-skills-collection.git
```

Then copy `claude-skills-collection/skills/ab-test-designer` into your agent's skills folder as `ab-test-designer`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need from me to start?

It asks for what is being tested, the current baseline metric, the goal improvement and the daily traffic or volume.

### Does Ab test designer run the experiment or connect to my analytics?

No. The skill only produces a written test design and analysis plan; it has no scripts and no integrations.

### How do I install Ab test designer in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/ab-test-designer to use it in all your projects, or to .claude/skills/ab-test-designer in one project.

### Does Ab test designer 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 designer?

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 designer?

The closest alternatives to Ab test designer are Ab test designer, Ab test setup, Ab test design, Ab testing and Ab test analysis.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Ab test designer](https://ai-powered.com/skills/ab-test-designer): Ab test designer is an open-source agent skill for productivity.
- [Ab test setup](https://ai-powered.com/skills/ab-test-setup): Ab test setup is an open-source agent skill for marketing and seo.
- [Ab test design](https://ai-powered.com/skills/ab-test-design): Ab test design is an open-source agent skill for analytics and data.
- [Ab testing](https://ai-powered.com/skills/ab-testing): Ab testing is an open-source agent skill for marketing and seo.
- [Ab test analysis](https://ai-powered.com/skills/ab-test-analysis): Ab test analysis is an open-source agent skill for analytics and data.
- [Duo experimentation](https://ai-powered.com/skills/duo-experimentation): Duo experimentation is an open-source agent skill for analytics and data.
- [Analyze experiments](https://ai-powered.com/skills/analyze-experiments): Analyze experiments is an open-source agent skill for analytics and data.
- [Trustworthy experiments](https://ai-powered.com/skills/trustworthy-experiments): Trustworthy experiments is an open-source agent skill for analytics and data.

---
Source: https://ai-powered.com/skills/ab-test-designer-lionelsimai
