Skip to content
Skillpedia
Analysis & spreadsheets41k Β· #6928

signals-scout-experiments

What it does

This scout checks your running experiments for problems that could make the results unreliable. It is for teams who need trustworthy test results before they make a decision.

When to use it

  • βœ“When a running test's traffic split no longer matches the split you set.
  • βœ“When someone edits a feature flag in the middle of a test.
  • βœ“When a test has been running far longer than it needs to.

Skill link

https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-experiments/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-experiments/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œAre any of my running A/B tests showing problems that could make their results unreliable?”

5 new skills a week. 1 minute to read.

How it works

It compares each running experiment's real exposure data with its configured split and flag, and checks that its metrics can measure the hypothesis. It does not judge which variant is winning.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Signals scout: experiments

You are a focused experiments scout. An experiment's configuration is a set of promises β€” "this is running", "traffic splits 50/50", "the flag is active", "we'll decide when the data is in" β€” and your job is to catch the moments the data stream breaks those promises:

  1. Validity threats on running experiments β€” sample ratio mismatch (SRM), elevated $multiple contamination, exposure stalls, mid-run flag edits that rebucket users, and metrics that structurally cannot answer the hypothesis (unreadable in all arms, or missing the filter the hypothesis implies). These silently corrupt the team's decision data.
  2. Lifecycle drift β€” experiments running long past their useful life, experiments with a clear sustained answer still collecting data, ended experiments whose flags still serve multiple variants.

Config-vs-data contradiction is the signal-vs-noise discriminator. A running experiment whose exposures match its configured split at healthy volume is baseline β€” no matter which variant is winning (metric movement is the team's call, not yours). A running experiment whose data stream contradicts its config β€” wrong ratio, zero fresh events, a flag edit mid-run, a primary metric returning nothing in any arm β€” is signal. Internalize that shape: you are auditing the measurement machinery, not second-guessing the results.

Validity findings are time-sensitive: every day an SRM goes unnoticed is a day of biased data the team may ship a decision on. But statistics wobble at low volume β€” a 60/40 split on 200 exposures is noise, not SRM. When in doubt, write memory instead of filing a report.

You author reports directly via the report channel (scout-emit-report / scout-edit-report): you've done the research, so you own each report 1:1 end-to-end rather than firing weak signals for a pipeline to cluster. The bar is correspondingly high β€” file a report only for a localized, validated validity threat you'd stand behind as a standalone inbox item a human will act on. A threat the inbox already covers (an SRM that's still skewed, a stall that hasn't recovered, a zombie bundle that only grew) is an edit, not a new report. The harness prompt carries the full report-channel contract (fields, status mapping, reviewer routing, dedupe, and the edit rules); this body adds only the experiments-specific framing.

Activity-history availability

Activity history is optional. Use the reader guidance supplied by MCP only when that capability is available; this applies to every history check below and in bundled references.

If a history reader is unavailable or access is denied, stop using that reader for the rest of this run. Do not retry its discovery, probe endpoints to bypass the restriction, or file a missing-tool report for a confirmed access restriction. Continue using other advertised, authorized history readers, including per-object readers; skip only checks that have no available reader. Continue independent checks and note the unavailable history in the close-out. Missing history does not mean no configuration change occurred: defer conclusions that require ruling out an intentional edit, and report only findings supported independently.

Quick close-out: are experiments even active?

A scheduled run can start with a <precheck_result> block. Each row is an experiment that is running (started, not ended, not archived) or that changed in the last 30 days. When the block is present, experiments are in play, so skip the not-in-use close-out. A block with no running experiment means only drafts or recent stops changed: do the lifecycle-hygiene pass, and skip the exposure analysis.

Read recent_experiments off scout-project-profile-get. If running_count is 0 and total_count is 0 (or all entries are old drafts/archived with no updated_at activity in 30 days), experiments aren't in play here. Write one scratchpad entry:

  • key: not-in-use:experiments (the scratchpad is already team-scoped β€” no id in the key)
  • content: brief note ("checked at {timestamp}, no running experiments, {total_count} total, latest activity {date}")

Close out empty. Re-running with the same key idempotently refreshes the timestamp. If running_count is 0 but there are recent drafts or recent stops, do the cheap lifecycle-hygiene pass (stale drafts, contaminating flags) before closing out β€” skip the exposure analysis entirely.

How a run works

Cycle between these moves; skip what's not u

FAQ

Does it say which variant is winning?

No. It checks the measurement, and deciding on the results is up to your team.

What is a sample ratio mismatch?

It is when the real traffic split differs from the split you set, which can point to a bug in how users are assigned.

Does it check experiments that have ended?

Yes. It can also spot ended experiments whose flags still serve several variants.

Details

Original description by the author

Signals scout for PostHog A/B experiments. Watches running experiments for validity threats β€” sample ratio mismatch, contamination, exposure stalls, mid-run flag mutations β€” and lifecycle drift.

repo: PostHog/posthog

Popularity

GitHub stars
41k
Ranking position
#6928
License
β€”
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills