Experiment Readoutのロゴ

Experiment Readout

コミュニティ人気
Trystan-SA
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 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.

概要

公開者Trystan-SA
リポジトリproduct-engineer-skills
スキル名experiment-readout
スター
2.1K
フォーク
247
同梱ファイル
1
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    Trystan-SAがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Experiment Readout」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/Trystan-SA/product-engineer-skills/tree/main/skills/experiment-readout
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Trystan-SA/product-engineer-skills.git /tmp/product-engineer-skills
mkdir -p .claude/skills
cp -r /tmp/product-engineer-skills/skills/experiment-readout .claude/skills/experiment-readout
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでExperiment Readoutを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にExperiment Readoutを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Experiment Readoutは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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:

bash
# 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 liftMeaning
Entirely above zero and above the MDEClear win
Above zero, but includes lifts smaller than the MDEReal, possibly too small to be worth maintaining: judgment call
Includes zero, stays within ± MDEFlat: no effect large enough to matter. A useful result
Includes zero and reaches beyond ± MDEInconclusive: the test was too small to tell
Entirely below zeroThe 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.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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 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.

TypingMindでExperiment Readoutを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Experiment Readoutはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにExperiment Readoutをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/Trystan-SA/product-engineer-skills/tree/main/skills/experiment-readoutを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Experiment Readoutを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Experiment Readoutで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもExperiment Readoutを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Experiment Readout」は無料ですか?

はい。Trystan-SAがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇