# Ab test designer

> Ab test designer is an open-source agent skill for productivity. Plans A/B test experiments with hypotheses, metrics, 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/pmprompt/claude-plugin-product-management/tree/main/skills/ab-test-designer
- **Repository:** https://github.com/pmprompt/claude-plugin-product-management
- **GitHub stars:** 60
- **License:** MIT
- **Skill name:** ab-test-designer
- **Collection:** https://github.com/pmprompt/claude-plugin-product-management
- **Categories:** [productivity](https://ai-powered.com/categories/productivity)
- **Listing updated:** 2026-11-30

## About

This skill guides an agent through designing a controlled experiment before a change ships. It walks through a structured template covering the hypothesis and expected impact, the primary and secondary metrics, sample size and test duration, user segments to include or exclude, and the control and variant definitions. It also prompts the agent to list risks, guardrail metrics and early stopping conditions.

The instructions push the agent toward practical experiment hygiene: a single primary metric, sample size calculated up front from an expected effect size, full weekly cycles to absorb day-of-week effects, and success criteria written down before the test starts. The analysis section covers the significance threshold, how to handle edge cases and the decision criteria.

The skill is a plain instruction document with no bundled scripts. You supply a description of the product, feature or problem, and any available data, research or constraints make the output more specific.

## When your agent uses it

> Design robust A/B test experiments. Use when testing a new feature, validating a hypothesis, or optimizing conversion rates.

## What it can access

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

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

## Features

- **Hypothesis Framing:** Structures the problem, proposed change and expected impact into a falsifiable hypothesis.
- **Metric Selection:** Separates one primary success metric from secondary and guardrail metrics.
- **Sample Size and Duration:** Estimates the audience needed and a minimum runtime based on expected effect size.
- **Variant Definition:** Describes the control experience and one or more challenger variants.
- **Risk and Stop Rules:** Lists potential negative impacts and conditions for stopping the test early.
- **Analysis and Decision Plan:** Sets the significance threshold, edge-case handling and criteria for the final decision.

## Good for

- Design an A/B test for a new onboarding flow against the current signup steps
- Write a hypothesis and success metric for a pricing page change
- Calculate how many users a checkout experiment needs before launch
- Plan guardrail metrics and stop conditions for a feature rollout test

## Install

### Claude Code

This skill ships in the `pmprompt` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add pmprompt/claude-plugin-product-management
/plugin install pmprompt@pmprompt-skills
```

Or copy only this skill to `~/.claude/skills/ab-test-designer`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pmprompt/claude-plugin-product-management.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/pmprompt/claude-plugin-product-management.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/pmprompt/claude-plugin-product-management.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/pmprompt/claude-plugin-product-management.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/pmprompt/claude-plugin-product-management.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/pmprompt/claude-plugin-product-management.git
```

Then copy `claude-plugin-product-management/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 agent need from me to use Ab test designer?

The skill asks for context about your product, feature or problem, with relevant data, research or constraints recommended but optional, and a clear statement of what you want to achieve.

### Does Ab test designer run any scripts or change my project files?

No. The skill folder contains only its SKILL.md instructions and no scripts.

### When does the skill trigger?

It is meant for tasks such as testing a new feature, validating a hypothesis before rollout, or optimizing conversion rates.

### 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. Or install the pmprompt plugin, which includes it: /plugin marketplace add pmprompt/claude-plugin-product-management, then /plugin install pmprompt@pmprompt-skills.

### 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 setup, Ab testing, Ab test analysis, Brainstorm experiments existing and Brainstorm experiments new.

## Where this comes from

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

## Alternatives

- [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 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.
- [Brainstorm experiments existing](https://ai-powered.com/skills/brainstorm-experiments-existing): Brainstorm experiments existing is an open-source agent skill for productivity.
- [Brainstorm experiments new](https://ai-powered.com/skills/brainstorm-experiments-new): Brainstorm experiments new is an open-source agent skill for productivity.
- [Test scenarios](https://ai-powered.com/skills/test-scenarios): Test scenarios is an open-source agent skill for developer tools.
- [Identify assumptions existing](https://ai-powered.com/skills/identify-assumptions-existing): Identify assumptions existing is an open-source agent skill for productivity.
- [Thinking in bets](https://ai-powered.com/skills/thinking-in-bets): Thinking in bets is an open-source agent skill for productivity.

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