signals-scout-experiments
できること
このスカウトは、結果の信頼性を損なう可能性のある問題について、実行中の実験を確認します。判断の前に、信頼できるテスト結果が必要なチーム向けです。
使う場面
- ✓実行中のテストの振り分けが、設定した割合と一致しなくなったとき。
- ✓テストの途中で、誰かがフィーチャーフラグを編集したとき。
- ✓テストが必要以上に長く実行されているとき。
スキルのリンク
https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-experiments/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“実行中のA/Bテストの中で、結果を信頼できなくするような問題を示しているものはありますか?”
毎週5つの新しいスキル。1分で読めます。
仕組み
各実験の実際の露出データを、設定された振り分けやフラグと比べ、指標が仮説を測れるかを確認します。どのバリアントが勝っているかは判定しません。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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:
- Validity threats on running experiments — sample ratio mismatch (SRM), elevated
$multiplecontamination, 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. - 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
よくある質問
どのバリアントが勝っているかを教えてくれますか?
いいえ。このスカウトは測定を確認します。結果に基づく判断は、チームが行います。
サンプル比率の不一致とは何ですか?
実際のトラフィックの振り分けが、設定した振り分けと異なることです。ユーザーの割り当てにバグがあることを示す場合があります。
終了した実験も確認しますか?
はい。終了した実験で、フラグがまだ複数のバリアントを提供している場合も見つけられます。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 41k
- ランキング
- #6928
- ライセンス
- —
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
depot-ci
41kエージェントが、GitHub Actionsの代替であるDepot CIのワークフローを設定し実行できるよう支援します。既存のワークフローの移行や、実行ログの確認も含みます。
depot-container-builds
41kエージェントが、Depotのリモート・ビルダーでDockerイメージを作れるよう支援します。マルチプラットフォームのイメージ、レジストリへのプッシュ、ビルド失敗の修正を含みます。
depot-github-runners
41kエージェントが、GitHub Actionsのジョブを Depot が管理するランナーに移し、ランナーのサイズとラベルを選び、ランナー設定の問題を解決できるよう支援します。
editing-agents-md
41kエージェントが、AGENTS.mdとCLAUDE.mdのどちらにルールを書くべきかを判断し、ファイルを膨らませずに守られやすい形で書けるよう支援します。
似ているスキル
gitcrawl
394k保存されたGitHubのイシューとプルリクエストのアーカイブを検索し、重複をまとめ、GitHub上の現在の状態を確認するようエージェントを支援します。
slacrawl
394kローカルのSlackアーカイブ内のメッセージを検索して件数を数え、アーカイブの新しさを確認し、必要に応じて更新するようエージェントを支援します。
goplaces
394kGoogle Placesを使って、場所を検索し、詳細や口コミを取得し、場所の名前を解決するようエージェントを支援します。スクリプト用にJSON出力もできます。