Ab Testing
coreyhaines31/marketingskills
When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program.
Generate A/B test variants for affiliate content. An agent skill from Affitor/affiliate-skills.
$ npx skills add Affitor/affiliate-skills --skill ab-test-generator -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Affitor/affiliate-skills ab-test-generator --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Affitor/affiliate-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/analytics/ab-test-generator .claude/skills/ab-test-generator && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "ab-test-generator" agent skill from https://github.com/Affitor/affiliate-skills/tree/main/skills/analytics/ab-test-generator into .claude/skills/ab-test-generator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ab-test-generator", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Affitor/affiliate-skills/tree/main/skills/analytics/ab-test-generatorType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Affitor/affiliate-skills --skill ab-test-generator -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Affitor/affiliate-skills ab-test-generator --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Affitor/affiliate-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/analytics/ab-test-generator .agents/skills/ab-test-generator && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "ab-test-generator" agent skill from https://github.com/Affitor/affiliate-skills/tree/main/skills/analytics/ab-test-generator into .agents/skills/ab-test-generator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ab-test-generator", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Affitor/affiliate-skills --skill ab-test-generator -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Affitor/affiliate-skills ab-test-generator --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Affitor/affiliate-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/analytics/ab-test-generator .cursor/skills/ab-test-generator && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "ab-test-generator" agent skill from https://github.com/Affitor/affiliate-skills/tree/main/skills/analytics/ab-test-generator into .cursor/skills/ab-test-generator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ab-test-generator", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Affitor/affiliate-skills.git --path skills/analytics/ab-test-generator--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Affitor/affiliate-skills --skill ab-test-generator -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Affitor/affiliate-skills ab-test-generator --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Affitor/affiliate-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/analytics/ab-test-generator .gemini/skills/ab-test-generator && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "ab-test-generator" agent skill from https://github.com/Affitor/affiliate-skills/tree/main/skills/analytics/ab-test-generator into .gemini/skills/ab-test-generator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ab-test-generator", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Affitor/affiliate-skills ab-test-generatorInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Affitor/affiliate-skills --skill ab-test-generator -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Affitor/affiliate-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/analytics/ab-test-generator .github/skills/ab-test-generator && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "ab-test-generator" agent skill from https://github.com/Affitor/affiliate-skills/tree/main/skills/analytics/ab-test-generator into .github/skills/ab-test-generator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ab-test-generator", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Affitor/affiliate-skills --skill ab-test-generator -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Affitor/affiliate-skills ab-test-generator --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Affitor/affiliate-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/analytics/ab-test-generator .opencode/skills/ab-test-generator && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "ab-test-generator" agent skill from https://github.com/Affitor/affiliate-skills/tree/main/skills/analytics/ab-test-generator into .opencode/skills/ab-test-generator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ab-test-generator", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
ab-test-generatorGenerate A/B test variants for affiliate content. An agent skill from Affitor/affiliate-skills.
Ab Test Generator is an agent skill from Affitor/affiliate-skills. Generate A/B test variants for affiliate content. Triggers on: "create A/B test", "test my headline", "optimize my CTA", "generate variants", "split test ideas", "improve click-through rate", "test my landing page copy", "headline alternatives", "CTA variations", "which version is better", "optimize conversions", "test my email subject line", "compare approaches".
Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file. Compatibility notes: Claude Code, ChatGPT, Gemini CLI, Cursor, Windsurf, OpenClaw, any AI agent
It sits in Marketing & SEO, covering A/B testing. The repository describes itself as: 50 AI agent skills for affiliate marketing. Research trending content, write data-backed posts, generate infographics, build landing pages, deploy — full flywheel with social… The licence is MIT.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit e43bfae. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Claude Code, ChatGPT, Gemini CLI, Cursor, Windsurf, OpenClaw, any AI agent
From compatibility in the SKILL.md frontmatter.
Ab Test Generator loads about 2.2k tokens when it runs. Until then it costs about 96 tokens; SKILL.md has 866 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from Affitor/affiliate-skills at commit e43bfae, republished under its MIT licence (© Affitor). 866 words, ~2,180 tokens.
.claude/skills/ab-test-generator/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Generate A/B test variants for affiliate content — headlines, CTAs, landing page sections, email subject lines, and social post hooks. Each variant includes a hypothesis explaining why it might outperform the original. Output is a Markdown document with the original, variants, hypotheses, and a test plan.
S6: Analytics — Small changes in headlines and CTAs can swing conversion rates by 20-50%. A/B testing is how professional affiliates systematically find what converts best. This skill removes the guesswork by generating theory-driven variants using proven copywriting frameworks.
original: string # REQUIRED — the content to test (headline, CTA, paragraph,
# email subject line, or full social post)
content_type: string # REQUIRED — "headline" | "cta" | "landing_section"
# | "email_subject" | "social_hook"
goal: string # OPTIONAL — "clicks" | "signups" | "purchases"
# Default: "clicks"
num_variants: number # OPTIONAL — number of variants to generate (2-5)
# Default: 3
audience: string # OPTIONAL — who sees this content
# (e.g., "SaaS founders", "content creators")
product: string # OPTIONAL — product being promotedChaining context: If S2-S5 content exists in conversation, the user can reference it: "test the headline from my blog post" or "generate CTA variants for my landing page."
Break down the original into components:
Determine what to vary:
Create num_variants alternatives, each using a different approach:
Each variant must:
For each variant, explain:
Recommend:
Before presenting output, verify:
If any check fails, fix the output before delivering. Do not flag the checklist to the user — just ensure the output passes.
output_schema_version: "1.0.0" # Semver — bump major on breaking changes
test:
original: string
content_type: string
goal: string
variants:
- label: string # "Variant A", "Variant B", etc.
content: string # the variant text
change: string # what was changed
framework: string # copywriting principle used
hypothesis: string # why this might win
test_plan:
sample_size: number # per variant
duration: string # recommended test period
metric: string # what to measure
winner_criteria: string # when to pick a winnerUser: "Test this headline: 'HeyGen Review: Is It Worth It in 2026?'" Action: Generate 3 variants. Variant A: "I Tested HeyGen for 30 Days — Here's What Happened" (curiosity + personal experience). Variant B: "HeyGen vs Synthesia: Which AI Video Tool Wins?" (comparison + specificity). Variant C: "The AI Video Tool That Cut My Production Time by 80%" (result + specificity). Each with hypothesis.
User: "Optimize this CTA: 'Start Free Trial'" Action: Variant A: "Try HeyGen Free — No Card Required" (reduces friction). Variant B: "Create Your First AI Video in 2 Minutes" (outcome-focused). Variant C: "Get Started Free →" (shorter, action-oriented). Test plan: minimum 500 clicks per variant, track conversion rate.
User: "I'm sending an email about Semrush. Test this subject: 'Check out Semrush — it's great for SEO'" Action: Identify weakness (vague, no hook). Variant A: "The SEO tool I use to rank #1 (not kidding)" (social proof + curiosity). Variant B: "Your competitors are using this — are you?" (FOMO). Variant C: "3 Semrush features that doubled my organic traffic" (specificity + result). Each preserves FTC compliance.
shared/references/ftc-compliance.md — Ensure variants preserve FTC disclosure from original. Referenced in Step 3.shared/references/flywheel-connections.md — master flywheel connection mappurple-cow-audit (S1) — winning variants reveal what resonates = what's remarkableperformance-report (S6) — test results for reportingviral-post-writer (S2) — posts to test variations oftwitter-thread-writer (S2) — thread hooks to testlanding-page-creator (S4) — landing page elements to testcontent-pillar-atomizer (S2) — volume mode variants for testingchain_metadata:
skill_slug: "ab-test-generator"
stage: "analytics"
timestamp: string
suggested_next:
- "performance-report"
- "viral-post-writer"
- "landing-page-creator"© Affitor, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in skills/analytics/ab-test-generator of Affitor/affiliate-skills.
Open the folder on GitHubat commit e43bfae
Ab Test Generator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Ab Test Generator this skillAffitor/affiliate-skills | 699 | — | ~2.2k | Automated safety check: Pass | MIT | |
| Ab Testingcoreyhaines31/marketingskills | 54k | 3 repos | ~2.8k | Automated safety check: Pass | MIT | |
| AnalyticsNexus-JPF/note-companion | 870 | 7 repos | ~2.2k | Automated safety check: Pass | MIT | |
| Ab Test Setupfreekmurze/dotfiles | 1k | 15 repos | ~1.8k | Automated safety check: Pass | None | |
| Ad Test Designeraaron-he-zhu/aaron-marketing-skills | 2.9k | 2 repos | ~2.8k | Automated safety check: Pass | Apache-2.0 | |
| Meta Tags Optimizernowork-studio/notfair-plugin | 3.9k | 1 repos | ~2.7k | Automated safety check: Pass | MIT |
coreyhaines31/marketingskills
When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program.
Nexus-JPF/note-companion
When the user wants to set up, improve, or audit analytics tracking and measurement.
freekmurze/dotfiles
When the user wants to plan, design, or implement an A/B test or experiment.
aaron-he-zhu/aaron-marketing-skills
A skill your agent uses when the user asks to "design an A/B test", "set up a creative/landing test", "run an incrementality test", or "is this result statistically and practically material?"…
nowork-studio/notfair-plugin
Writes and improves title tags, meta descriptions, Open Graph and Twitter card tags for click-through, with character counts and A/B test variants.
irinabuht12-oss/marketing-skills
Statistical significance calculator for A/B test results with sample size requirements, segment breakdowns, and hypothesis generation.
Affitor/affiliate-skills
Generate affiliate performance reports with KPIs and recommendations.
Affitor/affiliate-skills
Live affiliate program data from openaffiliate.dev. An agent skill from Affitor/affiliate-skills.
Affitor/affiliate-skills
Research and evaluate affiliate programs to find the best ones to promote.
Affitor/affiliate-skills
Create a Linktree-style bio link hub page as a single self-contained HTML file.
Affitor/affiliate-skills
Set up affiliate conversion tracking with UTM parameters and link tagging.
Affitor/affiliate-skills
Build a single-product deep-dive showcase page as a self-contained HTML file.
Categories
Generate A/B test variants for affiliate content. An agent skill from Affitor/affiliate-skills. Ab Test Generator is an agent skill from Affitor/affiliate-skills. Generate A/B test variants for affiliate content.
Ab Test Generator fits situations like: : create A/B test; test my headline; optimize my CTA; generate variants.
Run `npx skills add Affitor/affiliate-skills --skill ab-test-generator -a claude-code`. Or copy the skill folder (skills/analytics/ab-test-generator in Affitor/affiliate-skills) into .claude/skills/ab-test-generator in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Affitor/affiliate-skills --skill ab-test-generator -a codex`. Or copy the skill folder (skills/analytics/ab-test-generator in Affitor/affiliate-skills) into .agents/skills/ab-test-generator in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Affitor/affiliate-skills --skill ab-test-generator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ab-test-generator, .gemini/skills/ab-test-generator, .github/skills/ab-test-generator and .opencode/skills/ab-test-generator in your project.
SKILL.md names no scripts, command-line tools or credentials: Ab Test Generator is instructions for the agent only. Compatibility (from SKILL.md): Claude Code, ChatGPT, Gemini CLI, Cursor, Windsurf, OpenClaw, any AI agent.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Ab Test Generator is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.2k tokens (SKILL.md is roughly 8.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Ab Test Generator: Ab Testing (coreyhaines31/marketingskills, 54k stars), Analytics (Nexus-JPF/note-companion, 870 stars), Ab Test Setup (freekmurze/dotfiles, 1k stars) and Ad Test Designer (aaron-he-zhu/aaron-marketing-skills, 2.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Affitor (a GitHub organization) maintains it in Affitor/affiliate-skills, which has 699 GitHub stars. The repository holds 50 skills in this directory. The repository was last updated on September 15, 2026.
Source: Affitor/affiliate-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.