ab-test-design

ab-test-design is a skill for Claude Code, Codex from seaworld008/Commonly-used-high-value-skills. It costs 50 tokens per session (2,085 once invoked), scanned A, original, MIT.

A guide for planning and implementing A/B tests, also called split tests, where different users see different versions of a change so their results can be compared. It covers the hypothesis, measurements, sample size, runtime, and feature-flag rollout.

In plain words
What is it for?
Use it to define test metrics and safeguards, calculate a practical sample size and duration, assign users to variants, and record which version each user saw.
Why use it?
It helps prevent experiments from answering the wrong question or producing results that cannot be trusted because of poor setup or insufficient data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to define test metrics and safeguards, calculate a practical sample size and duration, assign users to variants, and record which version each user saw.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/seaworld008/commonly-used-high-value-skills/ab-test-design
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add seaworld008/Commonly-used-high-value-skills --skill ab-test-design
Clone the repo
git clone --depth 1 https://github.com/seaworld008/Commonly-used-high-value-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ab-test-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/seaworld008/commonly-used-high-value-skills/ab-test-design/github.svg)](https://agentmods.dev/skills/seaworld008/commonly-used-high-value-skills/ab-test-design)
Your own site
<a href="https://agentmods.dev/skills/seaworld008/commonly-used-high-value-skills/ab-test-design"><img src="https://agentmods.dev/badge/skills/seaworld008/commonly-used-high-value-skills/ab-test-design/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ab-test-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/seaworld008/commonly-used-high-value-skills/ab-test-design"><img src="https://agentmods.dev/badge/skills/seaworld008/commonly-used-high-value-skills/ab-test-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,085 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.02085
Opus 5.5 $0.00020 $0.00834
Sonnet 5.5 $0.00010 $0.00417
Haiku 4.5 $0.00005 $0.00209

Measured 7d ago against content hash d3fc525b5333, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ab-test-design scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/sample_size.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

openclaw-skills/ab-test-design/SKILL.md · 117 lines

How it starts

The opening of the file, as written. The whole thing — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.

A/B Test Design

When to Use

  • Designing an A/B or split test before implementation: hypothesis, primary metric, guardrails, randomization unit, minimum detectable effect (MDE), sample size, and runtime budget.
  • Deciding whether a change actually warrants an experiment versus shipping a bug fix or behind-flag qualitative validation.
  • Implementing deterministic variant assignment, server/bootstrap evaluation without UI flicker, and exposure logging behind feature-flag platforms (GrowthBook, LaunchDarkly, Statsig, PostHog, Optimizely, Unleash, or in-house flags).

An A/B test is a measuring instrument. Designed badly, it gives a confident answer to the wrong question, or no answer after six weeks of traffic. This skill writes the experiment spec before any code, checks that the test is feasible, and implements it so the data can be trusted.

Phase 1: Write the hypothesis

Because , we believe that for will by at least .

Evidence comes from brief.md, flow-audit.md or adoption-plan.md in the feature folder (docs/product/<feature-slug>/), from research, or from data. Test one idea per experiment: if the variant changes copy, layout and pricing at once, a win can't tell you which change worked. Bundling is fine when you only need the decision and not the learning — say so explicitly.

Phase 2: Decide whether to test at all

An experiment fits when the change is reversible, the outcome is genuinely uncertain, and there's enough traffic. Don't run one when:

  • It's a fix. Ship bug fixes, accessibility fixes and repaired flows directly.
  • Traffic is too low. If Phase 4 asks for more than about 6–8 weeks, the test won't conclude. Alternatives: test a bigger change (larger MDE), choose a more sensitive metric closer to the change, widen the eligible population, or ship behind a flag and compare before and after with qualitative feedback — while saying clearly that this is weaker evidence.
  • The decision is already made. A test nobody will act on is waste.

Read the full file on GitHub · 117 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 117 lines · 50 tokens per session scan A d3fc525b5333

Subscribe to this mod's changes

ab-test-design is a skill published in the GitHub repository seaworld008/Commonly-used-high-value-skills (75 stars, last pushed today), licensed MIT. It adds 50 tokens to every session and 2,085 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-24.

Related

ab-test-design compared with skills from other repositories

ab-test-design next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ab-test-designseaworld008/Commonly-used-high-value-skillsSkill75todayMITA50Claude Code, Codex
ab-testing-ecommercefinsilabs/awesome-ecommerce-skillsSkill691mo agoMITA26Claude Code, Codex
librarianJetBrains/thinkrailSkill8.5ktodayApache-2.0A71Claude Code, Codex
managing-mcp-serversJetBrains/thinkrailSkill8.5ktodayApache-2.0A62Claude Code, Codex
todosJetBrains/thinkrailSkill8.5ktodayApache-2.0A58Claude Code, Codex
omh-automation-blueprintrlaope/oh-my-hermesSkill6.2ktodayMITA76Claude Code, Codex
writing-workflow-skillsJetBrains/thinkrailSkill8.5ktodayApache-2.0A60Claude Code, Codex