ab-test-setup-and-analysis
What it does
Plans split tests for ads, audiences, landing pages and bid strategies, and works out the traffic each test needs before it starts. It is for marketers who want to avoid calling a winner too early.
When to use it
- βWhen you want to test a new headline, audience or landing page against your current version.
- βWhen you need to know how much traffic and time a test will take before you start it.
- βWhen a test is running and you want to know whether a difference is real or just noise.
Skill link
https://github.com/irinabuht12-oss/marketing-skills/blob/main/skills/ab-test-setup-and-analysis/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βI want to test a new headline on my Google ads against the current one. Design the test and tell me how long it must run.β
5 new skills a week. 1 minute to read.
How it works
You give the hypothesis, your current numbers and the smallest change you care about. The skill calculates the sample size, tracks results during the test and says when a call is safe.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
28/ A/B Test Setup and Analysis β Google + Meta
What it does
Designs statistically valid split tests for ads, audiences, landing pages, or bid strategies. Calculates required sample sizes before you start, monitors results during the test, and calls winners when statistical significance is actually reached β not when you feel like one is winning.
How it works
Claude takes your test hypothesis, current baseline metrics, and the minimum detectable effect you care about, then calculates how much traffic and time the test needs to produce a reliable result. During the test, it tracks results and tells you whether differences are statistically significant or just noise. It prevents premature test calls that waste the effort.
Practical example
You want to test a new headline variant against your current best performer. Your current ad gets a 2.8% CTR with 1,200 daily impressions. Claude calculates that to detect a 15% improvement (3.22% CTR) with 95% confidence, you need approximately 12,400 impressions per variant β about 10 days at current traffic levels. After 7 days, the new variant shows 3.1% CTR vs 2.7% for control. Claude tells you it's trending positive but not yet significant (p=0.14, need p<0.05) β keep running for 4 more days before making a call.
What you get back
- Test design with clear hypothesis, control, variant, and success metric
- Required sample size and estimated test duration before you start
- Daily monitoring with current results, confidence level, and days remaining
- Winner call only when significance is reached, with effect size and confidence interval
- Post-test recommendations: roll out winner, iterate further, or test something else
When to use it
- Before launching any creative, audience, or landing page test
- When someone on the team wants to call a winner after 2 days of data
- For structured testing programs where you need a pipeline of tests running sequentially
- When clients ask "is this result real or just noise" and you need a definitive answer
Data access (Ryze MCP)
This skill works best with live account data. Connect the free Ryze MCP once and Claude reads your Google Ads, Meta Ads, GA4 and Search Console directly:
- claude.ai / Claude Desktop: Settings β Connectors β Add custom connector β
https://connector.get-ryze.ai/mcp - Claude Code:
claude mcp add ryze --transport http https://connector.get-ryze.ai/mcp - Cursor: Settings β MCP β add the same URL
Setup guide: https://www.get-ryze.ai/how-to-connect-claude-to-google-meta-ads-mcp?utm_source=github&utm_content=marketing-skills
FAQ
How long does a test need?
It depends on your traffic and the smallest improvement you want to detect, and the skill works this out before you start.
Can I call a winner early if one version is ahead?
The skill warns against it. It calls a winner only once the result reaches statistical significance.
Which platforms does it cover?
The skill is set up for Google and Meta tests.
Details
Original description by the author
Designs statistically valid split tests for ads, audiences, landing pages, or bid strategies. Calculates required sample sizes before you start, monitors results during the test, and calls winners when statistical significance is actually reached β not when you feel like one is winning. Platform: Google and Meta.
Popularity
- GitHub stars
- 6.7k
- Ranking position
- #13736
- License
- β
- Updated
- 10/27/2026
Comments
- β¦
More skills from this repository
ab-test-analyzer
6.7kHelps your agent check whether A/B test results are statistically significant, work out the sample size you need, and suggest the next test.
account-structure-review
6.7kHelps your agent review your Google and Meta campaign structure, flagging over-split campaigns, thin budgets and chances to combine them.
ad-copy-variant-generator
6.7kTeaches your agent to study your best ads and write new variants that keep the winning hooks, calls to action and angles while testing changes.
ad-extension-audit
6.7kHelps your agent audit Google Ads extensions such as sitelinks and callouts, find what is missing or outdated, and write replacements.
Similar skills
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
slacrawl
394kLets your agent search and count messages in a local Slack archive, check how fresh that archive is, and refresh it when needed.
goplaces
394kHelps your agent search for places, get their details and reviews, and resolve place names using Google Places, with JSON output for scripts.