ab-test-generator

ab-test-generator is a skill for Claude Code from Affitor/affiliate-skills. It costs 87 tokens per session (2,019 once invoked), scanned A, original, MIT.

A tool for creating alternative versions of affiliate marketing text, such as headlines, calls to action, landing-page sections, email subject lines, and social-media openings. It also records a reason for testing each version and suggests a test plan.

In plain words
What is it for?
Use it to test or improve existing marketing copy, including a headline, button text, email subject, landing-page section, or social post.
Why use it?
It replaces guesswork with several clear messages that can be compared to see which one gets better results.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; built for openclaw; mentions Gemini CLI.

Part of the analytics-skills plugin — 4 skills shipped together

Good fit Use it to test or improve existing marketing copy, including a headline, button text, email subject, landing-page section, or social post.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/affitor/affiliate-skills/ab-test-generator
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 Affitor/affiliate-skills --skill ab-test-generator
Clone the repo
git clone --depth 1 https://github.com/Affitor/affiliate-skills

Made for: Claude Code.

Or install analytics-skills, the plugin that ships this one along with the rest of its 4 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/affitor/affiliate-skills/ab-test-generator/github.svg)](https://agentmods.dev/skills/affitor/affiliate-skills/ab-test-generator)
Your own site
<a href="https://agentmods.dev/skills/affitor/affiliate-skills/ab-test-generator"><img src="https://agentmods.dev/badge/skills/affitor/affiliate-skills/ab-test-generator/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-generator

Your own site · 80×15
<a href="https://agentmods.dev/skills/affitor/affiliate-skills/ab-test-generator"><img src="https://agentmods.dev/badge/skills/affitor/affiliate-skills/ab-test-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,019 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00087 $0.02019
Opus 5 $0.00044 $0.01009
Sonnet 5 $0.00017 $0.00404
Haiku 4.5 $0.00009 $0.00202

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

Security

Grade A, and why

ab-test-generator 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 9d 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

skills/analytics/ab-test-generator/SKILL.md · 202 lines

How it starts

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

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

Read the full file on GitHub · 202 lines

Files

What ships with it

1 file 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. 9d ago First seen · 202 lines · 87 tokens per session scan A 7cd824d11cd2

Subscribe to this mod's changes

ab-test-generator is a skill published in the GitHub repository Affitor/affiliate-skills (652 stars, last pushed 3d ago), licensed MIT. It adds 87 tokens to every session and 2,019 once invoked, about $0.0004 per session on Opus 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-30.

Related

Other skills, from other repositories

ab-test-generator

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

gabrielmoreira/agent-skills-mirror · 87 tokens

ab-test-generator

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

Gingg7260/affiliate-skills · 87 tokens

data-scientist

!cat Claude-Production-Grade-Suite/.protocols/ux-protocol.md 2>/dev/null || true !cat Claude-Production-Grade-Suite/.protocols/input-validation.md 2>/dev/null || true !cat Claude-Production-Grade-Suite/.protocols/tool-efficiency.md 2>/dev/null || true !cat Claude-Production-Grade-Suite/.protocols/visual-identity.md…

nagisanzenin/production-grade · 43 tokens

data-scientist

!cat skills/shared/protocols/ux-protocol.md 2>/dev/null || true !cat skills/shared/protocols/input-validation.md 2>/dev/null || true !cat skills/shared/protocols/tool-efficiency.md 2>/dev/null || true !cat .production-grade.yaml 2>/dev/null || echo "No config — using defaults".

buiphucminhtam/forgewright · 52 tokens

conversion-tracker

Set up affiliate conversion tracking with UTM parameters and link tagging. Triggers on: "set up tracking", "create UTM links", "track my affiliate links", "tracking pixels", "click attribution", "organize my links", "UTM parameters", "tag my links", "campaign tracking", "link tracking setup", "prepare for launch"…

jiaxiaojunQAQ/SkillJect · 84 tokens

internal-linking-optimizer

Analyze site's internal link structure and optimize for hub-and-spoke SEO architecture. Triggers on: "optimize internal links", "internal linking", "link structure", "hub and spoke links", "orphan pages", "link equity", "internal link audit", "fix my internal links", "link architecture", "site structure optimization"…

gabrielmoreira/agent-skills-mirror · 104 tokens