ab-test-analysis

ab-test-analysis is a skill for Claude Code, Codex from nimrodfisher/data-analytics-skills. It costs 35 tokens per session (604 once invoked), scanned A, original, MIT.

A guide for analysing A/B tests, where two versions of a product or page are compared with different users. It covers statistical significance, sample ratio mismatch, and test design checks.

In plain words
What is it for?
Use it to analyse experiment results, check traffic allocation, calculate significance, and validate tests before launch.
Why use it?
It helps determine whether an observed difference is likely real and whether the experiment was set up correctly.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to analyse experiment results, check traffic allocation, calculate significance, and validate tests before launch.

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

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nimrodfisher/data-analytics-skills/ab-test-analysis"><img src="https://agentmods.dev/badge/skills/nimrodfisher/data-analytics-skills/ab-test-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 604 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.
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.00035 $0.00604
Opus 5.5 $0.00014 $0.00242
Sonnet 5.5 $0.00007 $0.00121
Haiku 4.5 $0.00003 $0.00060

Measured 3mo ago against content hash e1f033582fa8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ab-test-analysis 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 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/ab_test_analyzer.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

03-data-analysis-investigation/ab-test-analysis/SKILL.md · 35 lines

How it starts

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

A/B Test Analysis

When to use

  • An experiment has finished and the team needs a ship / no-ship recommendation
  • Results look directionally positive but the team is unsure if they're statistically significant
  • A test has been running for weeks without a clear winner and someone needs to decide whether to continue
  • A new experiment needs sample-size planning before launch
  • Results are disputed and need a rigorous, documented analysis

Process

  1. Confirm test design — verify the hypothesis, the control and treatment definitions, the randomisation unit (user/session/device), the primary metric, any guardrail metrics, and the target split ratio.
  2. Check for sample ratio mismatch (SRM) — run a chi-square test on the actual vs. expected split. If SRM is detected, stop and investigate the randomisation pipeline before interpreting results. Use scripts/ab_test_analyzer.py --check-srm.
  3. Calculate per-variant metrics — compute the rate (or mean) and 95% confidence interval for the primary metric in each variant. Document absolute and relative difference.
  4. Run the significance test — execute a two-proportion z-test (for rates) or Welch's t-test (for means). Record z-score, p-value, and 95% CI for the effect. Use references/statistical_tests_reference.md if unsure which test applies.
  5. Check guardrail metrics — run the same significance test for each guardrail metric. A significant degradation on any guardrail is a blocker regardless of primary metric results.
  6. Produce the recommendation — synthesise SRM result, power, significance, and guardrail checks into a clear ship / no-ship / extend decision. Quantify the expected business impact if shipped. Record in assets/ab_test_report_template.md.

Inputs the skill needs

  • Test plan or hypothesis document (variant definitions, randomisation unit, primary metric)
  • Data with at minimum: user_id, variant assignment, primary metric outcome
  • Optional: guardrail metric values per user, daily aggregate data for temporal validity checks
  • Target split ratio (e.g., 50/50)
  • Minimum detectable effect or business threshold for "worth shipping"

Read the full file on GitHub · 35 lines

Files

What ships with it

3 files 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. 3mo ago First seen · 35 lines · 35 tokens per session scan A e1f033582fa8

Subscribe to this mod's changes

ab-test-analysis is a skill published in the GitHub repository nimrodfisher/data-analytics-skills (564 stars, last pushed 23d ago), licensed MIT. It adds 35 tokens to every session and 604 once invoked, about $0.0001 per session on Opus 5.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

ab-test-analysis compared with skills from other repositories

ab-test-analysis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ab-test-analysisnimrodfisher/data-analytics-skillsSkill56423d agoMITA35Claude Code, Codex
claude-md-improveranthropics/claude-plugins-officialSkill49ktodayApache-2.0A82Claude Code
agent-platform-model-registrygoogle/skillsSkill25ktodayApache-2.0A60Claude Code, Codex
gke-reliabilitygoogle/skillsSkill25ktodayApache-2.0A85Claude Code, Codex
gke-workload-securitygoogle/skillsSkill25ktodayApache-2.0A171Claude Code, Codex
google-cloud-solution-agentic-analytics-spark-knowledge-cataloggoogle/skillsSkill25ktodayApache-2.0A132Claude Code, Codex
glance-canonical-layoutsandroid/skillsSkill11k7d agoApache-2.0A56Claude Code