Agent skill

Mkt Ab Testing

by asgard-ai-platform in asgard-ai-platform/skills

Design and execute marketing A/B tests for landing pages, email campaigns, ad creatives, and pricing with proper test design and result analysis.

MITAuto-check passedMarketing & SEO

Install Mkt Ab Testing

skills CLI
$ npx skills add asgard-ai-platform/skills --skill mkt-ab-testing -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install asgard-ai-platform/skills mkt-ab-testing --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/asgard-ai-platform/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/mkt-ab-testing .claude/skills/mkt-ab-testing && rm -rf skills-src

Use ~/.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/

Facts

Skill name
mkt-ab-testing
GitHub stars
242
Token cost
~1.2k tokens
SKILL.md length
419 words
Files
4 (incl. scripts, references)
Skills in repo
207
Repo updated
First seen
Licence
MIT

At a glance

Design and execute marketing A/B tests for landing pages, email campaigns, ad creatives, and pricing with proper test design and result analysis.

  • Works in 6 steps: Hypothesis: "Changing [variable] from… → Primary metric: ONE metric that… → Guardrail metrics: Metrics that must NOT… → …
  • The user needs to test marketing variations
  • SKILL.md covers Framework, Output Format, Gotchas and Scripts, plus 1 more section
  • Runs Python scripts from its folder; calls python

What it does

Mkt Ab Testing is an agent skill from asgard-ai-platform/skills. Design and execute marketing A/B tests for landing pages, email campaigns, ad creatives, and pricing with proper test design and result analysis. Use this skill when the user needs to test marketing variations, improve conversion rates through experimentation, or decide between two campaign approaches — even if they say 'which version performs better', 'test this landing page', 'A/B test our email subject line', or 'should we change our CTA'.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts and reference files (for example `examples/sample_input.json`, `references/mvt-design.md` and `scripts/ab_test.py`).

It sits in Marketing & SEO, covering A/B testing and Landing pages. The repository describes itself as: 301 open-source coding agent skills across 22 domains — methodology, judgment & gotchas packaged as Claude Agent Skills for the Asgard AI Platform. The licence is MIT.

When your agent uses it

  • The user needs to test marketing variations
  • Improve conversion rates through experimentation
  • Decide between two campaign approaches — even if they say which version performs better
  • Test this landing page

Example prompts

  • “which version performs better”
  • “test this landing page”
  • “A/B test our email subject line”
  • “/mkt-ab-testing”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Hypothesis: "Changing [variable] from [A] to [B] will increase [metric] by [X%] because [reasoning]"
  2. Primary metric: ONE metric that determines winner (conversion rate, revenue per visitor, signup rate)
  3. Guardrail metrics: Metrics that must NOT degrade (bounce rate, page load time, revenue per user)
  4. Traffic split: 50/50 between control and variant (standard)
  5. Sample size: Calculate before starting (see stat-ab-testing for formula)
  6. Duration: Minimum 1-2 full business weeks (capture day-of-week effects)

What it can do on your machine

Read from SKILL.md and the folder at commit 4e7f4f8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Mkt Ab Testing loads about 1.2k tokens when it runs, and up to ~4.1k if it reads all its reference files. Until then it costs about 115 tokens; SKILL.md has 419 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~115
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.1k

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.

Safety

Auto-check passed

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); the scripts in this folder are not scanned.

SKILL.md

The full file from asgard-ai-platform/skills at commit 4e7f4f8, republished under its MIT licence (© asgard-ai-platform). 419 words, ~1,193 tokens.

Download SKILL.mdSave it as .claude/skills/mkt-ab-testing/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
mkt-ab-testing
description
Design and execute marketing A/B tests for landing pages, email campaigns, ad creatives, and pricing with proper test design and result analysis. Use this skill when the user needs to test marketing variations, improve conversion rates through experimentation, or decide between two campaign approaches — even if they say 'which version performs better', 'test this landing page', 'A/B test our email subject line', or 'should we change our CTA'.
metadata.category
WP-09 數位行銷
metadata.tags
digital-marketing, ab-testing, conversion, experimentation

Marketing A/B Testing

Framework

IRON LAW: One Variable at a Time

If you change the headline AND the image AND the CTA simultaneously,
you cannot know which change caused the result. Test ONE variable per
experiment. If you need to test multiple changes, use sequential tests
or multivariate testing (MVT) with sufficient traffic.
What to Test (by Impact)
ElementExpected LiftTraffic NeededPriority
Offer/Pricing10-50%MediumHighest
Headline/Subject line5-30%LowHigh
CTA (text, color, placement)5-20%LowHigh
Page layout5-15%MediumMedium
Image/Video3-15%MediumMedium
Form fields5-25% (reduction = higher CVR)LowMedium
Social proof placement3-10%MediumLower
Test Design
  1. Hypothesis: "Changing [variable] from [A] to [B] will increase [metric] by [X%] because [reasoning]"
  2. Primary metric: ONE metric that determines winner (conversion rate, revenue per visitor, signup rate)
  3. Guardrail metrics: Metrics that must NOT degrade (bounce rate, page load time, revenue per user)
  4. Traffic split: 50/50 between control and variant (standard)
  5. Sample size: Calculate before starting (see stat-ab-testing for formula)
  6. Duration: Minimum 1-2 full business weeks (capture day-of-week effects)
Common Marketing Tests
TestControl (A)Variant (B)Metric
Email subject"Your weekly update""3 trends you missed this week"Open rate
Landing page CTA"Sign Up""Start Free Trial"Click rate
Pricing pageShow 3 plansShow 2 plans + "most popular" badgeConversion rate
Ad creativeProduct photoLifestyle photo with productCTR → conversion
Form length8 fields4 fieldsForm completion rate
Analysis & Decision
ResultDecisionAction
B wins, p < 0.05, meaningful liftShip BDeploy variant, start next test
B wins, p < 0.05, tiny lift (<1%)Don't shipLift not worth the change risk
No significant differenceKeep AA is the known quantity; test something else
B wins on primary but loses on guardrailInvestigateMay need to redesign variant
Show full SKILL.md (164 more words)Show less

Output Format

markdown
# A/B Test Plan: {Test Name}

## Hypothesis
Changing {variable} from {A} to {B} will increase {metric} by {X%} because {reasoning}.

## Design
- Primary metric: {metric}
- Guardrail: {metric(s)}
- Split: 50/50
- Sample size: {N per variant}
- Duration: {days/weeks}

## Results
| Metric | Control | Variant | Diff | CI (95%) | Significant? |
|--------|---------|---------|------|----------|-------------|
| {primary} | {value} | {value} | {±%} | [{lower}, {upper}] | Y/N |

## Decision
{Ship / Don't ship / Extend} — {rationale}

Gotchas

  • Don't stop early because it "looks good": Peeking at results and stopping when you see significance inflates false positive rates to 30%+. Run to planned sample size.
  • Day-of-week effects: Monday visitors behave differently from Saturday visitors. Always run tests for at least 1-2 complete weeks.
  • Novelty effect: A new design may get a temporary lift from curiosity. Wait 2+ weeks to see if the effect sustains.
  • Winner's curse: The estimated lift from a test is often larger than the true lift due to statistical noise. Expect the actual impact after deployment to be smaller.
  • Don't test everything — test what matters: Running 20 small tests on button colors while ignoring the pricing page is misallocating effort. Test high-impact elements first.

Scripts

ScriptDescriptionUsage
scripts/ab_test.pyTwo-proportion z-test with effect size and sample-size planningpython scripts/ab_test.py --help

Run python scripts/ab_test.py --verify to execute built-in sanity tests.

References

  • For statistical methodology (sample size, p-values), see the stat-ab-testing skill
  • For multivariate testing design, see references/mvt-design.md

© asgard-ai-platform, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts, references) in mkt-ab-testing of asgard-ai-platform/skills.

  • SKILL.md
  • examples/sample_input.json
  • references/mvt-design.md
  • scripts/ab_test.py

Open the folder on GitHubat commit 4e7f4f8

Compare with similar skills

Mkt Ab Testing 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.

Mkt Ab Testing compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mkt Ab Testing this skillasgard-ai-platform/skills242—~1.2kAutomated safety check: PassMIT
Afa Convertafadtc/afa-dtc-skills168—~2.3kAutomated safety check: PassCustom licence
Autoresearchericosiu/ai-marketing-skills3.6k2 repos~2.2kAutomated safety check: PassMIT
Landing Optimizeraaron-he-zhu/aaron-marketing-skills2.9k—~3.3kAutomated safety check: PassApache-2.0
Ab Test Setup And Analysisirinabuht12-oss/marketing-skills4.1k—~739Automated safety check: PassNone
Revenue Centric Designfabricioctelles/skills106—~2.8kAutomated safety check: PassCustom licence

Similar skills

  • Afa Convert

    afadtc/afa-dtc-skills

    DTC 转化率优化——结账优化、弃单挽回、落地页、A/B测试、信任与无障碍。触发词: 转化率, CRO, 加购, 结账, 弃单, 落地页, A/B测试, 转化漏斗, conversion rate, abandoned cart, checkout optimization, landing page, a/b test, add to cart。复杂问题先经 afa。

    168 GitHub stars~2.3k tokensUpdated 2 days ago
    Marketing & SEOAuto-check passed
  • Autoresearch

    ericosiu/ai-marketing-skills

    Run Karpathy-style autoresearch optimization on any content.

    3.6k GitHub starsUsed in 2 repos~2.2k tokens
    Marketing & SEOAuto-check passed
  • Landing Optimizer

    aaron-he-zhu/aaron-marketing-skills

    A skill your agent uses when the user asks to "optimize our landing page for influencer traffic", "fix our promo-code landing page", or "improve conversion from a creator campaign"; produces a…

    2.9k GitHub stars~3.3k tokensUpdated today
    Marketing & SEOAuto-check passed
  • Ab Test Setup And Analysis

    irinabuht12-oss/marketing-skills

    Designs statistically valid split tests for ads, audiences, landing pages, or bid strategies.

    4.1k GitHub stars~739 tokensUpdated 16 days ago
    Marketing & SEOAuto-check passed
  • Revenue Centric Design

    fabricioctelles/skills

    Revenue-Centric Design (RCD) — evidence-backed principles for making a SaaS or startup product convert, retain, and monetize.

    106 GitHub stars~2.8k tokensUpdated 6 days ago
    Marketing & SEOAuto-check passed
  • 19 Ab Test Setup

    minhnv0807/ai-business-skills

    Dung khi can test co ky luat de biet phuong an nao thang that — chon dung mot bien de test, viet gia thuyet, tinh sample size, setup tracking, doc y nghia thong ke va ghi test log cho ads, landing…

    609 GitHub stars~3.6k tokensUpdated 28 days ago
    Marketing & SEOAuto-check passed

More from asgard-ai-platform/skills

All 207 skills in this repo
  • Algo Ecom Bm25

    asgard-ai-platform/skills

    Implement BM25 ranking function for e-commerce product search relevance scoring.

    242 GitHub stars~1.4k tokensUpdated 4 mo ago
    Auto-check passed
  • Algo Mfg Cpk

    asgard-ai-platform/skills

    Calculate Cpk process capability index to assess whether a process meets specification requirements.

    242 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Algo Price Elasticity

    asgard-ai-platform/skills

    Calculate price elasticity of demand to quantify how price changes affect sales volume.

    242 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Algo Rank Bayesian

    asgard-ai-platform/skills

    Apply Bayesian averaging to rank items by combining observed ratings with prior expectations.

    242 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Algo Rank Elo

    asgard-ai-platform/skills

    Implement Elo rating system to rank items or players from pairwise comparison outcomes.

    242 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Algo Rank Wilson

    asgard-ai-platform/skills

    Calculate Wilson Score confidence intervals for ranking items by positive proportion with sample size correction.

    242 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed

Categories

Questions about Mkt Ab Testing

What does Mkt Ab Testing do?

Design and execute marketing A/B tests for landing pages, email campaigns, ad creatives, and pricing with proper test design and result analysis. Mkt Ab Testing is an agent skill from asgard-ai-platform/skills. Design and execute marketing A/B tests for landing pages, email campaigns, ad creatives, and pricing with proper test design and result analysis.

When should I use Mkt Ab Testing?

Mkt Ab Testing fits situations like: the user needs to test marketing variations; improve conversion rates through experimentation; decide between two campaign approaches — even if they say which version performs better; test this landing page.

How do I install Mkt Ab Testing in Claude Code?

Run `npx skills add asgard-ai-platform/skills --skill mkt-ab-testing -a claude-code`. Or copy the skill folder (mkt-ab-testing in asgard-ai-platform/skills) into .claude/skills/mkt-ab-testing in your project. Claude Code loads it when a task matches its description.

How do I install Mkt Ab Testing in Codex?

Run `npx skills add asgard-ai-platform/skills --skill mkt-ab-testing -a codex`. Or copy the skill folder (mkt-ab-testing in asgard-ai-platform/skills) into .agents/skills/mkt-ab-testing in your project. Codex loads it when a task matches its description.

Can I use Mkt Ab Testing in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add asgard-ai-platform/skills --skill mkt-ab-testing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mkt-ab-testing, .gemini/skills/mkt-ab-testing, .github/skills/mkt-ab-testing and .opencode/skills/mkt-ab-testing in your project.

What does Mkt Ab Testing need to run?

Going by SKILL.md and its folder, Mkt Ab Testing needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Mkt Ab Testing access the network?

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.

Is Mkt Ab Testing safe to install?

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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Mkt Ab Testing use?

Mkt Ab Testing is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Mkt Ab Testing use?

About 1.2k tokens (SKILL.md is roughly 4.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.9k tokens, read only when the agent opens those files.

What are the alternatives to Mkt Ab Testing?

Skills that share tags, products or a category with Mkt Ab Testing: Afa Convert (afadtc/afa-dtc-skills, 168 stars), Autoresearch (ericosiu/ai-marketing-skills, 3.6k stars), Landing Optimizer (aaron-he-zhu/aaron-marketing-skills, 2.9k stars) and Ab Test Setup And Analysis (irinabuht12-oss/marketing-skills, 4.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mkt Ab Testing?

asgard-ai-platform (a GitHub organization) maintains it in asgard-ai-platform/skills, which has 242 GitHub stars. The repository holds 207 skills in this directory. The repository was last updated on June 6, 2026.

Source: asgard-ai-platform/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.