SkillAgentSearch skills...

experiment-readout

Analyze a finished A/B test and recommend a decision — validity checks first (sample ratio mismatch, duration, exposure), then lift, confidence intervals and p-values from a bundled script, guardrails and pre-registered segments, and a ship / iterate / roll back call with a stakeholder summary and f…

Install / Use

npx skills add Trystan-SA/product-engineer-skills --skill experiment-readout

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

86/100

Supported Platforms

Universal

Tags

Our assessment of experiment-readout

experiment-readout scores 86/100 on our quality scale, 2232nd of 4,722 Development & Engineering skills we index (top 48%).

Its SKILL.md is 4.9 KB long, well organised into 9 sections with 1 code example: a solid amount of guidance for an agent.

With 2,066 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
26/30
Structure
17/20
Description
15/15
Adoption
14/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated 4 days ago, so experiment-readout is actively maintained.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

experiment-readout compared with similar skills

All 4 of these similar skills score higher than experiment-readout; compare them before choosing.

SkillScoreStarsUpdatedFormat
experiment-readout (this skill)by Trystan-SA862.1k4d agoSKILL.md
taste-skillby Leonxlnx100122.3k1d agoCLAUDE.md
hyperframesby heygen-com10091.5ktodayCLAUDE.md
ai-job-searchby ai-job-search-dev10073.7ktodayCLAUDE.md
claude-howtoby luongnv8910047.6k7d agoCLAUDE.md

Frequently asked questions

How do I install experiment-readout?
Run npx skills add Trystan-SA/product-engineer-skills --skill experiment-readout. The install tabs above show the steps for each supported agent.
Which AI agents does experiment-readout work with?
It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
Is experiment-readout safe to use?
It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is experiment-readout still maintained?
The repository was last updated 4 days ago, so experiment-readout is actively maintained.

name: experiment-readout description: Analyze a finished A/B test and recommend a decision — validity checks first (sample ratio mismatch, duration, exposure), then lift, confidence intervals and p-values from a bundled script, guardrails and pre-registered segments, and a ship / iterate / roll back call with a stakeholder summary and flag cleanup. Use when an experiment has ended, or when someone asks "did the test win?", "is this significant?", or to read A/B results.

Experiment Readout

The readout is where experimentation most often loses its value: a dashboard shows +4 % in green, someone ships, and nobody checks whether the test was valid or whether +4 % is noise. This skill checks validity before results, computes the numbers reproducibly, and states the decision together with its uncertainty.

Phase 1: Gather the spec and the data

Read experiment.md in the feature folder (docs/product/<feature-slug>/) for the pre-registered primary metric, guardrails, MDE, duration and segments. Without a spec, reconstruct it with the user and label the readout as post hoc.

Get raw numbers per variant: users (randomization units) and conversions, or users, mean and standard deviation for continuous metrics. Sources, in order of preference: a warehouse query, the experimentation or analytics tool's API or export, numbers the user pastes. Prefer raw counts to percentages copied from a dashboard.

Phase 2: Check validity before reading results

Stop and report if a check fails. A result from an invalid test isn't weak evidence; it's no evidence.

  1. Sample ratio mismatch (SRM). Do the variant sizes match the planned split? The script below runs a chi-square test; p < 0.001 means assignment or exposure logging is broken (bots, redirects, a variant that crashes before logging). Find the cause; don't adjust the numbers.
  2. Duration. Did the test run its planned duration, in whole weeks? Was it stopped early because it looked good?
  3. Sample size. Did it reach the planned sample? If not, it's underpowered and a non-significant result says little.
  4. Stability. Did anything change mid-test (allocation, targeting, variant code, an outage)? Data from before a change can't be pooled with data from after.
  5. Exposure. Are only exposed, eligible users counted?

Phase 3: Compute

Run the bundled script, in the scripts/ folder next to this file:

# Conversions: users and conversions per variant
python3 scripts/readout.py --control 48210 5302 --treatment 48655 5598 --mde 0.05

# Continuous metric: users, mean and standard deviation per variant
python3 scripts/readout.py --control-mean 48210 41.2 38.5 --treatment-mean 48655 42.0 39.1

It prints the SRM check, each variant's rate or mean, the absolute and relative differences with 95 % confidence intervals, the p-value, and a verdict against the MDE. Run it for the primary metric and for each guardrail.

For metrics whose unit differs from the randomization unit (revenue per order, clicks per session), this script underestimates the variance. Use the delta method or the experimentation platform's computation instead, and say so in the readout.

Phase 4: Interpret

Read the confidence interval, not only the p-value:

| Interval for the relative lift | Meaning | |---|---| | Entirely above zero and above the MDE | Clear win | | Above zero, but includes lifts smaller than the MDE | Real, possibly too small to be worth maintaining: judgment call | | Includes zero, stays within ± MDE | Flat: no effect large enough to matter. A useful result | | Includes zero and reaches beyond ± MDE | Inconclusive: the test was too small to tell | | Entirely below zero | The change hurts |

Then:

  • Guardrails — a guardrail significantly worse beyond its threshold blocks shipping, whatever the primary metric says.
  • Segments — only the pre-registered ones. With 20 post-hoc segments, one will look significant by chance; report post-hoc patterns as hypotheses for the next test.
  • Novelty — with daily data, check whether the lift shrinks over time. Early lifts on visible changes often fade.
  • Practical size — translate the lift into what it means: "+0.6 pp activation ≈ 140 more activated teams a month".

Phase 5: Decide and clean up

Recommend one of:

  • Ship — roll the variant out to 100 %, then remove the flag and the control code.
  • Iterate — the direction is promising or the learning is clear; propose the next test.
  • Roll back — keep control and remove the variant code.

Whatever the decision, create the task or PR that removes the flag. Dead flags are permanent complexity.

Output

Add a ## Readout section to experiment.md (or write readout.md): validity checks, a results table for the primary metric and guardrails with the commands that produced it, the interpretation, the decision, and what was learned. Open it with a five-line summary for stakeholders: decision, primary result with its interval, guardrails, confidence, next step.

Related Skills

View on GitHub
GitHub Stars2.1k
CategoryDevelopment
Updated4d ago
Forks245

Languages

Python

Trust signals

100/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

No cautions