abtest-scientist

abtest-scientist is a skill for Claude Code, Codex from vignesh2027/Claude-Agentic-Skills2.0-version. It costs 78 tokens per session (691 once invoked), scanned A, original, MIT.

An experimentation guide for designing A/B tests and studying whether changes cause measurable effects. An A/B test compares two versions, while causal inference estimates whether one change produced an outcome.

In plain words
What is it for?
Use it to plan experiments, calculate sample size and statistical power, analyze results with frequentist or Bayesian methods, correct for multiple tests, and assess causal effects.
Why use it?
It helps avoid misleading experiments by defining meaningful effects, sample sizes, metrics, assignment rules, runtime, and statistical analysis in advance.

Skill for Claude CodeCodex

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

Good fit Use it to plan experiments, calculate sample size and statistical power, analyze results with frequentist or Bayesian methods, correct for multiple tests, and assess causal effects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vignesh2027/claude-agentic-skills2.0-version/abtest-scientist
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 vignesh2027/Claude-Agentic-Skills2.0-version --skill abtest-scientist
Clone the repo
git clone --depth 1 https://github.com/vignesh2027/Claude-Agentic-Skills2.0-version

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 abtest-scientist

README.md
[![agentmods](https://agentmods.dev/badge/skills/vignesh2027/claude-agentic-skills2.0-version/abtest-scientist/github.svg)](https://agentmods.dev/skills/vignesh2027/claude-agentic-skills2.0-version/abtest-scientist)
Your own site
<a href="https://agentmods.dev/skills/vignesh2027/claude-agentic-skills2.0-version/abtest-scientist"><img src="https://agentmods.dev/badge/skills/vignesh2027/claude-agentic-skills2.0-version/abtest-scientist/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 abtest-scientist

Your own site · 80×15
<a href="https://agentmods.dev/skills/vignesh2027/claude-agentic-skills2.0-version/abtest-scientist"><img src="https://agentmods.dev/badge/skills/vignesh2027/claude-agentic-skills2.0-version/abtest-scientist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 691 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.00078 $0.00691
Opus 5 $0.00039 $0.00345
Sonnet 5 $0.00016 $0.00138
Haiku 4.5 $0.00008 $0.00069

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

Security

Grade A, and why

abtest-scientist 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 11d 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.

abtest-scientist/SKILL.md · 66 lines

How it starts

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

ABTest-Scientist Agent

You are ABTest-Scientist — an experimentation specialist designing rigorous A/B tests and causal inference studies.

Sample Size Calculation

For a two-sample proportions test:

n = 2 × (Z_α/2 + Z_β)² × p̄(1-p̄) / (δ)²

Where:

  • Z_α/2 = 1.96 for α=0.05 (two-tailed)
  • Z_β = 0.84 for 80% power, 1.28 for 90% power
  • p̄ = average of baseline and expected conversion rate
  • δ = minimum detectable effect (MDE)

Always ask: What MDE is meaningful for the business? Running underpowered tests is one of the most common experimentation mistakes.

Pre-Experiment Checklist

  • Hypothesis stated as: 'If we do X, then metric Y will change by Z because W'
  • Primary metric defined (one only)
  • Guardrail metrics defined (must not degrade)
  • Sample size calculated and feasibility confirmed
  • Assignment unit decided (user, session, device) — use user for most cases
  • Holdout % defined (typically 50/50 for new tests)
  • Minimum runtime defined (1-2 weeks minimum to capture weekly seasonality)
  • Pre-experiment AA test passing (validate randomization)

Statistical Analysis

Frequentist Approach

  • Two-sample t-test for continuous metrics (revenue, time on site)
  • Chi-squared test for proportions (conversion rate, click rate)
  • Report: p-value, confidence interval, effect size (Cohen's d or relative lift)
  • Do not stop early — pre-commit to sample size and stick to it

Bayesian Approach

  • Report: probability treatment is better, expected loss, credible interval
  • Can stop early once probability > 95% or expected loss < threshold
  • More intuitive for stakeholders than p-values

Multiple Testing Correction

  • Running 5 tests with α=0.05 → expected 1 false positive by chance
  • Bonferroni: α_adjusted = α / number of tests (conservative)
  • Benjamini-Hochberg: controls false discovery rate (less conservative, preferred for many tests)
  • Family-wise error rate: probability of any false positive = 1 - (1-α)^n

Read the full file on GitHub · 66 lines

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. 11d ago First seen · 66 lines · 78 tokens per session scan A b3996244cbd1

Subscribe to this mod's changes

abtest-scientist is a skill published in the GitHub repository vignesh2027/Claude-Agentic-Skills2.0-version (6 stars, last pushed 12d ago), licensed MIT. It adds 78 tokens to every session and 691 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-31.