When the user wants to plan, design, or implement an A/B test or experiment. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," or "hypothesis." For tracking implementation, see analytics-tracking.
Add this skill
npx mdskills install coreyhaines31/ab-test-setupComprehensive A/B testing workflow with strong rigor gates and clear decision frameworks
A collection of AI agent skills focused on marketing tasks. Built for technical marketers and founders who want Claude Code (or similar AI coding assistants) to help with conversion optimization, copywriting, SEO, analytics, and growth engineering.
Built by Corey Haines. Need hands-on help? Check out Conversion Factory — Corey's agency for conversion optimization, landing pages, and growth strategy. Want to learn more about marketing? Subscribe to Swipe Files. Want an autonomous AI agent that uses these skills to be your CMO? Try Magister.
New to the terminal and coding agents? Check out the companion guide Coding for Marketers.
Contributions welcome! Found a way to improve a skill or have a new one to add? Open a PR.
Run into a problem or have a question? Open an issue — we're happy to help.
Skills are markdown files that give AI agents specialized knowledge and workflows for specific tasks. When you add these to your project, Claude Code can recognize when you're working on a marketing task and apply the right frameworks and best practices.
Skills reference each other and build on shared context. The product-marketing-context skill is the foundation — every other skill checks it first to understand your product, audience, and positioning before doing anything.
┌──────────────────────────────────────┐
│ product-marketing-context │
│ (read by all other skills first) │
└──────────────────┬───────────────────┘
│
┌─────────────┬────────────┬─────────────┼────────────┬─────────────┬──────────────┐
▼ ▼ ▼ ▼ ▼ ▼ ▼
┌────────┐ ┌──────────┐ ┌──────────┐ ┌───────────┐ ┌──────────┐ ┌──────────┐ ┌───────────┐
│SEO & │ │ CRO │ │Content & │ │ Paid & │ │ Growth & │ │Sales & │ │ Strategy │
│Content │ │ │ │ Copy │ │Measuremnt│ │Retention │ │ GTM │ │ │
├────────┤ ├──────────┤ ├──────────┤ ├───────────┤ ├──────────┤ ├──────────┤ ├───────────┤
│seo- │ │page-cro │ │copywritng│ │paid-ads │ │referral │ │revops │ │mktg-ideas │
│ audit │ │signup-cro│ │copy-edit │ │ad-creative│ │free-tool │ │sales- │ │mktg-psych │
│ai-seo │ │onboard │ │cold-emal │ │ab-test │ │churn- │ │ enable │ │ │
│programm│ │form-cro │ │email-seq │ │analytics │ │ prevent │ │launch │ │ │
│schema │ │popup-cro │ │social │ │ │ │ │ │pricing │ │ │
│content │ │paywall │ │ │ │ │ │ │ │competitr │ │ │
└───┬────┘ └────┬─────┘ └────┬─────┘ └─────┬─────┘ └────┬─────┘ └────┬─────┘ └─────┬─────┘
│ │ │ │ │ │ │
└───────────┴─────┬──────┴─────────────┴────────────┴─────────────┴──────────────┘
│
Skills cross-reference each other:
copywriting ↔ page-cro ↔ ab-test-setup
revops ↔ sales-enablement ↔ cold-email
seo-audit ↔ schema-markup ↔ ai-seo
See each skill's Related Skills section for the full dependency map.
| Skill | Description |
|---|---|
| ab-test-setup | When the user wants to plan, design, or implement an A/B test or experiment. Also use when the user mentions "A/B... |
| ad-creative | When the user wants to generate, iterate, or scale ad creative — headlines, descriptions, primary text, or full ad... |
| ai-seo | When the user wants to optimize content for AI search engines, get cited by LLMs, or appear in AI-generated answers.... |
| analytics-tracking | When the user wants to set up, improve, or audit analytics tracking and measurement. Also use when the user mentions... |
| churn-prevention | When the user wants to reduce churn, build cancellation flows, set up save offers, recover failed payments, or... |
| cold-email | Write B2B cold emails and follow-up sequences that get replies. Use when the user wants to write cold outreach emails,... |
| competitor-alternatives | When the user wants to create competitor comparison or alternative pages for SEO and sales enablement. Also use when... |
| content-strategy | When the user wants to plan a content strategy, decide what content to create, or figure out what topics to cover. Also... |
| copy-editing | When the user wants to edit, review, or improve existing marketing copy. Also use when the user mentions 'edit this... |
| copywriting | When the user wants to write, rewrite, or improve marketing copy for any page — including homepage, landing pages,... |
| email-sequence | When the user wants to create or optimize an email sequence, drip campaign, automated email flow, or lifecycle email... |
| form-cro | When the user wants to optimize any form that is NOT signup/registration — including lead capture forms, contact forms,... |
| free-tool-strategy | When the user wants to plan, evaluate, or build a free tool for marketing purposes — lead generation, SEO value, or... |
| launch-strategy | When the user wants to plan a product launch, feature announcement, or release strategy. Also use when the user... |
| marketing-ideas | When the user needs marketing ideas, inspiration, or strategies for their SaaS or software product. Also use when the... |
| marketing-psychology | When the user wants to apply psychological principles, mental models, or behavioral science to marketing. Also use when... |
| onboarding-cro | When the user wants to optimize post-signup onboarding, user activation, first-run experience, or time-to-value. Also... |
| page-cro | When the user wants to optimize, improve, or increase conversions on any marketing page — including homepage, landing... |
| paid-ads | When the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X,... |
| paywall-upgrade-cro | When the user wants to create or optimize in-app paywalls, upgrade screens, upsell modals, or feature gates. Also use... |
| popup-cro | When the user wants to create or optimize popups, modals, overlays, slide-ins, or banners for conversion purposes. Also... |
| pricing-strategy | When the user wants help with pricing decisions, packaging, or monetization strategy. Also use when the user mentions... |
| product-marketing-context | When the user wants to create or update their product marketing context document. Also use when the user mentions... |
| programmatic-seo | When the user wants to create SEO-driven pages at scale using templates and data. Also use when the user mentions... |
| referral-program | When the user wants to create, optimize, or analyze a referral program, affiliate program, or word-of-mouth strategy.... |
| schema-markup | When the user wants to add, fix, or optimize schema markup and structured data on their site. Also use when the user... |
| seo-audit | When the user wants to audit, review, or diagnose SEO issues on their site. Also use when the user mentions "SEO... |
| signup-flow-cro | When the user wants to optimize signup, registration, account creation, or trial activation flows. Also use when the... |
| social-content | When the user wants help creating, scheduling, or optimizing social media content for LinkedIn, Twitter/X, Instagram,... |
Use npx skills to install skills directly:
# Install all skills
npx skills add coreyhaines31/marketingskills
# Install specific skills
npx skills add coreyhaines31/marketingskills --skill page-cro copywriting
# List available skills
npx skills add coreyhaines31/marketingskills --list
This automatically installs to your .claude/skills/ directory.
Install via Claude Code's built-in plugin system:
# Add the marketplace
/plugin marketplace add coreyhaines31/marketingskills
# Install all marketing skills
/plugin install marketing-skills
Clone the entire repo and copy the skills folder:
git clone https://github.com/coreyhaines31/marketingskills.git
cp -r marketingskills/skills/* .claude/skills/
Add as a submodule for easy updates:
git submodule add https://github.com/coreyhaines31/marketingskills.git .claude/marketingskills
Then reference skills from .claude/marketingskills/skills/.
Use SkillKit to install skills across multiple AI agents (Claude Code, Cursor, Copilot, etc.):
# Install all skills
npx skillkit install coreyhaines31/marketingskills
# Install specific skills
npx skillkit install coreyhaines31/marketingskills --skill page-cro copywriting
# List available skills
npx skillkit install coreyhaines31/marketingskills --list
Once installed, just ask Claude Code to help with marketing tasks:
"Help me optimize this landing page for conversions"
→ Uses page-cro skill
"Write homepage copy for my SaaS"
→ Uses copywriting skill
"Set up GA4 tracking for signups"
→ Uses analytics-tracking skill
"Create a 5-email welcome sequence"
→ Uses email-sequence skill
You can also invoke skills directly:
/page-cro
/email-sequence
/seo-audit
page-cro - Any marketing pagesignup-flow-cro - Registration flowsonboarding-cro - Post-signup activationform-cro - Lead capture formspopup-cro - Modals and overlayspaywall-upgrade-cro - In-app upgrade momentscopywriting - Marketing page copycopy-editing - Edit and polish existing copycold-email - B2B cold outreach emails and sequencesemail-sequence - Automated email flowssocial-content - Social media contentseo-audit - Technical and on-page SEOai-seo - AI search optimization (AEO, GEO, LLMO)programmatic-seo - Scaled page generationcompetitor-alternatives - Comparison and alternative pagesschema-markup - Structured datapaid-ads - Google, Meta, LinkedIn ad campaignsad-creative - Bulk ad creative generation and iterationsocial-content - Social media scheduling and strategyanalytics-tracking - Event tracking setupab-test-setup - Experiment designchurn-prevention - Cancel flows, save offers, dunning, payment recoveryfree-tool-strategy - Marketing tools and calculatorsreferral-program - Referral and affiliate programsmarketing-ideas - 140 SaaS marketing ideasmarketing-psychology - Mental models and psychologylaunch-strategy - Product launches and announcementspricing-strategy - Pricing, packaging, and monetizationFound a way to improve a skill? Have a new skill to suggest? PRs and issues welcome!
See CONTRIBUTING.md for guidelines on adding or improving skills.
MIT - Use these however you want.
Install via CLI
npx mdskills install coreyhaines31/ab-test-setupAb Test Setup is a free, open-source AI agent skill. When the user wants to plan, design, or implement an A/B test or experiment. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," or "hypothesis." For tracking implementation, see analytics-tracking.
Install Ab Test Setup with a single command:
npx mdskills install coreyhaines31/ab-test-setupThis downloads the skill files into your project and your AI agent picks them up automatically.
Ab Test Setup works with Claude Code, Claude Desktop, Cursor, Vscode Copilot, Windsurf, Continue Dev, Codex, Gemini Cli, Amp, Roo Code, Goose, Opencode, Trae, Qodo, Command Code, Factory. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.