mcpbeat Sign in

Ab Test Generator Agent Skill

> "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".

2k tokens
context cost
the whole folder, loaded on every use
2
files
instructions only
0
copies elsewhere
how many repositories repackaged it
583
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/Affitor/affiliate-skills --skill ab-test-generator

The instruction itself

23 sections, as written by the author

A/B Test Generator

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.

Stage

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.

When to Use

  • User wants to improve conversion rates on existing content
  • User has a headline, CTA, or email subject line and wants alternatives
  • User says "test my headline", "optimize my CTA", "A/B test ideas"
  • User has a landing page section that isn't converting
  • User wants to compare different messaging approaches
  • Chaining from S2-S5: take any content output and generate test variants

Input Schema

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 promoted

Chaining 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."

Workflow

Step 1: Analyze Original Content

Break down the original into components:

  • Emotional angle: What emotion does it trigger? (curiosity, fear, desire, urgency)
  • Specificity: How specific vs vague?
  • Structure: Question, statement, command, statistic?
  • Framework: Which copywriting framework does it follow? (PAS, AIDA, 4U, BAB)

Step 2: Identify Testable Elements

Determine what to vary:

  • Emotional angle (switch from curiosity to urgency)
  • Specificity (add numbers, remove vagueness)
  • Structure (question vs statement)
  • Length (shorter vs longer)
  • Power words (swap key words for stronger alternatives)
  • Social proof (add or remove)

Step 3: Generate Variants

Create num_variants alternatives, each using a different approach:

  • Variant A: Different emotional angle
  • Variant B: Different structure/format
  • Variant C: Different specificity level
  • Additional variants explore social proof, urgency, or contrarian angles

Each variant must:

  • Preserve the core message and product reference
  • Preserve any FTC disclosure from the original
  • Be a realistic alternative (not just a word swap)

Step 4: Write Hypotheses

For each variant, explain:

  • What was changed and why
  • Which copywriting principle supports the change
  • What behavior change is expected (e.g., "Higher CTR because questions create open loops")

Step 5: Suggest Test Plan

Recommend:

  • Sample size needed (minimum 100 impressions per variant for social, 500 for landing pages)
  • Test duration (7-14 days minimum)
  • What metric to track (CTR, conversion rate, revenue per visitor)
  • When to declare a winner (95% statistical significance or practical significance threshold)

Step 6: Self-Validation

Before presenting output, verify:

  • [ ] 3-5 distinct variants generated (not just word swaps)
  • [ ] Each hypothesis grounded in a copywriting principle or framework
  • [ ] Sample size calculation is present and realistic
  • [ ] Test duration is ≥7 days minimum
  • [ ] Winner criteria defined with statistical significance threshold

If any check fails, fix the output before delivering. Do not flag the checklist to the user — just ensure the output passes.

Output Schema

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 winner

Output Format

  • Original — the current content being tested
  • Variants — each variant with its content, change description, and hypothesis
  • Test Plan — sample size, duration, metric, winner criteria
  • Quick Win — if one variant is clearly stronger based on copywriting principles, call it out

Error Handling

  • Original too short (1-2 words): "I need more context. Paste the full headline, CTA, or email subject line you want to test."
  • Content type unclear: "Is this a headline, CTA button text, email subject line, or social post hook? Knowing the format helps me generate better variants."
  • Too many variants requested (>5): "I'll generate 5 high-quality variants. More than 5 makes testing impractical — you'd need a very large audience to reach statistical significance."

Examples

Example 1: Blog headline test

User: "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.

Example 2: CTA button test

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.

Example 3: Email subject line test

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.

References

  • shared/references/ftc-compliance.md — Ensure variants preserve FTC disclosure from original. Referenced in Step 3.
  • shared/references/flywheel-connections.md — master flywheel connection map

Flywheel Connections

Feeds Into

  • purple-cow-audit (S1) — winning variants reveal what resonates = what's remarkable
  • performance-report (S6) — test results for reporting

Fed By

  • viral-post-writer (S2) — posts to test variations of
  • twitter-thread-writer (S2) — thread hooks to test
  • landing-page-creator (S4) — landing page elements to test
  • content-pillar-atomizer (S2) — volume mode variants for testing

Feedback Loop

  • Test results directly improve all content-producing skills → winning headlines, CTAs, and angles feed into next content creation cycle
chain_metadata:
  skill_slug: "ab-test-generator"
  stage: "analytics"
  timestamp: string
  suggested_next:
    - "performance-report"
    - "viral-post-writer"
    - "landing-page-creator"

Other skills for the same job

different authors, same section of the catalogue
Viral Instagram Reels
by vyralcontent
×1

Plan, write, and diagnose Instagram Reels that earn cold-audience reach. Use whenever someone wants a reels script or reels hook for a specific Reel, is debugging why a Reel flopped, wants to know if a draft is worth testing with Trial Reels before going public, or needs a reels caption tuned for the post-hashtag instagram algorithm. Built around what Mosseri has publicly named as the signal hierarchy (watch time, sends per reach, likes per reach), the Trial Reels test-then-publish loop, the Original Content Guidelines and 30-day recovery window, the Edits app, and Reels Insights metrics (skip rate, share rate, followers from this post). Covers a Reels-specific reels strategy: send-driving CTAs, originality without watermarks, audio licensing by account type, captions as the primary SEO signal, and the anti-patterns that quietly cap distribution. Pattern-based guidance, not a virality promise.

18k tokens
Bond Relative Value
by anthropics
vendor

Perform relative value analysis on bonds by combining pricing, yield curve context, credit spreads, and scenario stress testing. Use when analyzing bond richness/cheapness, computing spread decomposition, comparing bonds, assessing bond value vs curves, or running rate shock scenarios.

910 tokens
Returns Analysis
by anthropics
vendor

Build quick IRR/MOIC sensitivity tables for PE deal evaluation. Models returns across entry multiple, leverage, exit multiple, growth, and hold period scenarios. Use when sizing up a deal, stress-testing assumptions, or preparing IC returns exhibits. Triggers on "returns analysis", "IRR sensitivity", "MOIC table", "what's the return at", "model the returns", or "back of the envelope".

837 tokens
Brainstorm Experiments New
by phuryn

Design lean startup experiments (pretotypes) for a new product. Creates XYZ hypotheses and suggests low-effort validation methods like landing pages, explainer videos, and pre-orders. Use when validating a new product idea, creating pretotypes, or testing market demand.

634 tokens
Amazon Alexa QA
by browser-act

Amazon Alexa for Shopping Q&A automation: submits questions to Amazon's Alexa/Rufus AI shopping assistant and collects response text; supports optional keyword search context (navigate to search results page before asking for category-specific answers). Use when user mentions Amazon Alexa, Rufus, Amazon shopping assistant, Amazon AI chat, ask Amazon, Amazon Q&A, automate Alexa questions, Rufus chatbot, Amazon assistant automation, collect Alexa responses, bulk question submission to Amazon, keyword search context, category research. Also applies to extracting Amazon product recommendations from conversational AI, automating repeated queries to Amazon's AI shopping feature, collecting Alexa shopping responses at scale, or market research within a specific product category.

4k tokens scripts
AI Ugc Ads
by tech-leads-club

When the user wants to create UGC ad campaigns, recruit UGC creators, generate AI UGC content, or scale with user-generated content. Also use when the user mentions 'UGC,' 'user-generated content,' 'creator ads,' 'Spark Ads,' 'whitelisting,' 'AI UGC,' 'Arcads,' 'Creatify,' 'creator brief,' or 'UGC testing.' This skill covers the UGC growth framework from creator recruitment through AI-powered scaling. Do NOT use for technical implementation, code review, or software architecture.

5k tokens
Input File Skill
by NVIDIA

Parse, modify, validate, and patch simulator input files. Use when working with reservoir simulation input files, testing scenarios, or validating simulation configurations. This implementation supports reference format (.DATA); other simulators use different extensions (e.g., .afi, .DAT). Supports natural language modifications, keyword patching, and syntax validation.

11k tokens scripts
Recon Scope Triage
by elementalsouls

Triage ASM/recon output for ownership before testing — separate the target's real assets from namespace-collision noise. Automated recon keyword-matches on the brand name, so for any target whose name is a common/dictionary word, the output is dominated by assets belonging to UNRELATED same-named companies (repos, cloud buckets, mobile apps, breach corpora, typosquats). Built from an authorized engagement where an ASM report's "Criticals" were overwhelmingly false positives and the combo/repos/mobile/bucket lists were polluted with unrelated same-named orgs. Use at the START of any engagement, immediately on receiving any ASM/recon/OSINT dataset, BEFORE testing anything.

2k tokens

How to use it

Copy the folder

Take affitor/ab-test-generator from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.