ab-test-plan
FreePlan an A/B test by script: sample size per variant, days to run, stopping rules. "how many visitors per variant"
The English summary is being prepared. Showing the original description.
A/B test content variants by eval score and declare a winner with confidence. "compare two versions of this copy"
The English summary is being prepared. Showing the original description.
Run score Not tested
See how to installReview the instructions the agent will receive before you install.
Script location. If your host does not set
${CLAUDE_PLUGIN_ROOT}, the scripts are in this plugin'sscripts/folder, next toskills/. Run them with Python 3.10 or newer:python, orpython3wherepythonis not found (macOS, many Linux systems).
A/B test content output variations by comparing quality scores across different prompt approaches, headline styles, CTA phrasing, or complete content strategy variations. Create named tests, log variants with their evaluation scores, and determine which approach produces the best quality results.
This command brings experimental rigor to content creation. Instead of guessing which headline style, subject line approach, or content structure works best, you run a structured test: define the experiment, log each variant with its quality scores, and get a statistically grounded recommendation on which approach to adopt. Useful for testing subject line styles (curiosity vs. benefit-driven), headline approaches (question vs. statement vs. how-to), CTA phrasing (urgency vs. value vs. social proof), tone variations (formal vs. conversational), or complete content strategy A/B comparisons.
The user must provide (or will be prompted for):
create (set up a new test), log (add a variant to an existing test), results (get comparison and winner), or list (show all tests)create, log, and resultslogloglog~/.claude-marketing/brands/_active-brand.json for the active slug, then load ~/.claude-marketing/brands/{slug}/profile.json. Apply brand voice, compliance rules for target markets (skills/context-engine/compliance-rules.md), and industry context. Check for guidelines at ~/.claude-marketing/brands/{slug}/guidelines/_manifest.json — if present, load restrictions and relevant category files (voice-and-tone rules, messaging hierarchy, channel style guides). Check for custom templates at ~/.claude-marketing/brands/{slug}/templates/. Check for agency SOPs at ~/.claude-marketing/sops/. If no brand exists, ask: "Set up a brand first (/digital-marketing-pro:brand-setup)?" — or proceed with defaults.create action: Set up a new test by running python "${CLAUDE_PLUGIN_ROOT}/scripts/prompt-ab-tester.py" --brand {slug} --action create-test --test-name "{name}". This initializes the test record with metadata (creation date, brand, content type) and prepares it for variant logging. Confirm the test was created and remind the user to log variants with /digital-marketing-pro:prompt-test using the log action.log action: First evaluate the variant content for quality by running python "${CLAUDE_PLUGIN_ROOT}/scripts/eval-runner.py" --brand {slug} --action run-quick --text "{content}" --content-type "{type}" (use --file "{path}" instead of --text if the variant is a file). This produces per-dimension scores for the three quick dimensions (hallucination, content_quality, readability) and a composite score. Note: run-quick ignores evidence files — if an evidence file was provided and claim verification matters for this test, use --action run-full --evidence "{evidence_path}" instead. Then log the variant with its scores by running python "${CLAUDE_PLUGIN_ROOT}/scripts/prompt-ab-tester.py" --brand {slug} --action log-variant --test-name "{name}" --variant "{label}" --data '{"description":"{description}","scores":{scores_json}}'. Present the individual variant scores to the user immediately so they can see how this variant performed before logging additional variants.results action: Pull the full comparison by running python "${CLAUDE_PLUGIN_ROOT}/scripts/prompt-ab-tester.py" --brand {slug} --action get-results --test-name "{name}". Analyze the results:
list action: Run python "${CLAUDE_PLUGIN_ROOT}/scripts/prompt-ab-tester.py" --brand {slug} --action list-tests to show all tests for this brand, their status (in-progress, completed), variant count, and creation date.A structured test report containing:
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Plan an A/B test by script: sample size per variant, days to run, stopping rules. "how many visitors per variant"
The English summary is being prepared. Showing the original description.
Write ad copy variants to each platform's specs, policy-checked and in brand voice. "write ad copy for Meta"
The English summary is being prepared. Showing the original description.
Add a custom MCP integration: scaffold the server, write .mcp.json, test it. "add a new MCP server"
The English summary is being prepared. Showing the original description.
Run a one-time AEO audit of six AI answer engines, scored per surface. "check our AI search visibility"
The English summary is being prepared. Showing the original description.
Plan AEO/GEO strategy to get cited by AI: content, entities, schema, 90-day plan. "how do we get cited by AI"
The English summary is being prepared. Showing the original description.
Build the agency dashboard across all client brands: health, pacing, risk. "how are all our clients doing"
The English summary is being prepared. Showing the original description.