ab-testing

ab-testing is a skill for Claude Code from brainbytes-dev/everything-claude-marketing. It costs 31 tokens per session (2,775 once invoked), scanned A, original, MIT.

A method for comparing two versions of a webpage, email, advertisement, price offer, or product feature. An A/B test sends different users to each version and compares a chosen result, such as sign-ups or purchases.

In plain words
What is it for?
Use it to form testable hypotheses, choose conversion metrics, plan experiments, and analyze tests across landing pages, emails, ads, pricing pages, and product features.
Why use it?
It replaces arguments about which version is better with a planned experiment and measured results. It helps avoid declaring a winner without enough traffic or a clear success measure.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the everything-claude-marketing plugin — 72 skills, 22 commands, 18 agents, 2 hooks shipped together

Good fit Use it to form testable hypotheses, choose conversion metrics, plan experiments, and analyze tests across landing pages, emails, ads, pricing pages, and product features.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/brainbytes-dev/everything-claude-marketing/ab-testing
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 brainbytes-dev/everything-claude-marketing --skill ab-testing
Clone the repo
git clone --depth 1 https://github.com/brainbytes-dev/everything-claude-marketing

Made for: Claude Code.

Or install everything-claude-marketing, the plugin that ships this one along with the rest of its 72 skills, 22 commands, 18 agents, 2 hooks.

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-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/brainbytes-dev/everything-claude-marketing/ab-testing/github.svg)](https://agentmods.dev/skills/brainbytes-dev/everything-claude-marketing/ab-testing)
Your own site
<a href="https://agentmods.dev/skills/brainbytes-dev/everything-claude-marketing/ab-testing"><img src="https://agentmods.dev/badge/skills/brainbytes-dev/everything-claude-marketing/ab-testing/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-testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/brainbytes-dev/everything-claude-marketing/ab-testing"><img src="https://agentmods.dev/badge/skills/brainbytes-dev/everything-claude-marketing/ab-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,775 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.00031 $0.02775
Opus 5.5 $0.00012 $0.01110
Sonnet 5.5 $0.00006 $0.00555
Haiku 4.5 $0.00003 $0.00278

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

Security

Grade A, and why

ab-testing 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 2mo ago.

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.

skills/analytics/ab-testing/SKILL.md · 252 lines

How it starts

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

A/B Testing for Marketing

When to Activate

  • Testing landing page variations to improve conversion rate
  • Optimizing email subject lines, copy, or design
  • Comparing ad creatives, headlines, or CTAs
  • Evaluating pricing page layouts or offers
  • Running feature experiments for product-led growth
  • Resolving internal debates about what works with data instead of opinions
  • Building a systematic testing program

First Questions

  1. What are you testing? (Landing page, email, ad, pricing, feature)
  2. What is your primary conversion metric? (Sign-up, purchase, click, engagement)
  3. What is your current conversion rate for this metric?
  4. How much traffic or volume do you have? (Monthly visitors, email list size, daily ad impressions)
  5. What is the minimum improvement that would be meaningful to the business?
  6. What testing tool are you using? (Google Optimize successor, VWO, Optimizely, LaunchDarkly, in-house)
  7. Have you run tests before? What has your win rate been?

Hypothesis Formation

The If/Then/Because Format

Every test must start with a hypothesis. No hypothesis = no learning regardless of outcome.

Template:

If we [change this specific thing], then [this metric] will [increase/decrease] by [estimated amount], because [reason based on data, research, or user insight].

Examples:

  • "If we shorten the sign-up form from 6 fields to 3, then sign-up completion rate will increase by 15%, because our funnel analysis shows 40% drop-off at the form step and user research indicates friction from too many fields."
  • "If we add social proof (customer count) above the fold on pricing, then trial sign-ups will increase by 10%, because our exit surveys show 'trust' as the #2 concern for prospects."

What Makes a Good Hypothesis

  • Based on data or user insight, not a hunch.
  • Specific about what changes and what metric is affected.
  • Includes a directional estimate (forces you to think about magnitude).
  • Falsifiable — you can clearly prove it wrong.

Read the full file on GitHub · 252 lines

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. 2mo ago First seen · 252 lines · 31 tokens per session scan A d7d81e085c6a

Subscribe to this mod's changes

ab-testing is a skill published in the GitHub repository brainbytes-dev/everything-claude-marketing (10 stars, last pushed 7mo ago), licensed MIT. It adds 31 tokens to every session and 2,775 once invoked, about $0.0001 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-08-31.

Related

ab-testing compared with skills from other repositories

ab-testing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ab-testingbrainbytes-dev/everything-claude-marketingSkill107mo agoMITA31Claude Code
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143kyesterdayMITA103Claude Code