Communitygithub.com

amplitude/builder-skills

アクティブおよび最近完了した全実験をモニタリングし、重要度に応じてトリアージした上で、最も影響力のある実験の詳細分析とレポートを生成します。ユーザーが「実験をチェックして」「実験ステータス」「実験レビュー」「どの実験が実行中か」と依頼した場合や、定期的な実験ヘルスレポートを求められた場合に使用します。

builder-skills とは?

このスキルは、Amplitudeプロジェクト内のアクティブおよび最近完了した実験をスキャンし、注意が必要なものを特定して、重要な実験について詳細なレポートを生成するモニタリングスキルです。非専門家でも理解できる平易な言葉を使い、p値や統計検出力などの統計用語は避け、実用的なインサイトを提供します。対応プラットフォームはAmplitudeで、実験の検索、メタデータ取得、主要指標のクエリ、フィードバックインサイトの取得などのAPIを活用します。レポートはサマリーテーブルとアクションアイテム(概要+アクション)および詳細セクション(詳細分析)の2部構成で、各実験は「Ship」「Iterate」「Monitor」「Abandon」などの明確な判定で分類され、データ品質チェック(SRM、サンプルサイズ、有効性フラグ)も含まれます。これにより、プロダクトマネージャーやエンジニアが実験結果を迅速に理解し、次のアクションを決定できるようになります。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/amplitude/builder-skills/tree/HEAD/analytics-skills/skills/monitor-experiments

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

実験モニター&レポート生成ツール

アクティブおよび最近完了した実験をスキャンし、注意が必要なものを特定し、重要な実験についてレポートします。

これはモニタリングスキルです。非専門家でも理解できるように出力してください。統計用語(p値、検出力分析など)は避けてください。特定の実験の詳細分析には、analyze-experimentsスキルを使用してください。


重要:レスポンスサイズの管理

  1. get_experiments : 1回の呼び出しで最大3~5件のID。事前にsearch結果でフィルタリングしてから取得してください。
  2. query_experimentのレスポンスは大きい。summaryオブジェクトと有効性フラグのみ抽出してください。timeseries、xValues、大きな配列は無視してください。
  3. メトリック名の解決: 通常のsearchではqueries内のメトリックIDは一致しません。entityTypes: ["METRIC"]、空のqueries、limitPerQuery: 50、プロジェクトスコープで検索してください。結果からIDと名前をマッピングしてください。

レポート構成

レポートは2つの部分で構成されます。

  1. サマリーとアクション(上部) — 1つのテーブル+アクションアイテム。これだけ読めば全体像がわかるようにします。
  2. 詳細(下部) — 注意が必要な実験の詳細分析、最近決定された実験の概要、モニタリング中の実験の一言メモ、セットアップが必要なリスト。

サマリーテーブルと詳細の間で情報を重複させないでください。サマリーテーブルはポートフォリオ状態の単一の信頼できる情報源です。詳細は特定の実験について補足します。


指示

ステップ1:コンテキストと発見

  1. Amplitude:get_contextを呼び出します。複数のプロジェクトがある場合は、どのプロジェクトをモニタリングするか尋ねます。
  2. 実験を検索します。
Amplitude:search({
  entityTypes: ["EXPERIMENT"],
  appIds: [projectId],
  queries: [],
  sortOrder: "lastModified",
  sortDirection: "DESC",
  limitPerQuery: 50
})
  1. フィルタリングルール — 以下の実験を含めます
    • 実行中で最新のもの(スケールではない): 実行中であり、スケールとマークされていない実験。スケール実験はアイドル状態であり、除外する必要があります。
    • 最近決定されたもの: 完了し、決定が記録されており、過去14日以内に変更された実験。これらのレビューは、決定を確認したり、学びを共有したりする価値があります。
  2. 除外: ドラフト、無効な実験、スケール実験。

ステップ2:メタデータ、メトリック名、主要結果の取得

  1. Amplitude:get_experimentsを3~5件のIDのバッチで呼び出します(ステップ1でフィルタリングされたセットのみ)。
  2. 状態、日付/期間、バリアント、メトリックID(推奨=trueのプライマリ)、決定、所有者を抽出します。
  3. 詳細なメタデータを使用して、ステップ1のフィルタリングルールを再度適用します(一部のフィールド(スケールステータスや決定など)はここでのみ利用可能な場合があります)。
  4. Amplitude:search({ entityTypes: ["METRIC"], appIds: [projectId], queries: [], limitPerQuery: 50 }) を使用してメトリック名を解決します。{ id: name } のマッピングを作成します。
  5. メトリックが設定されている実験については、Amplitude:query_experiment({ id: "<id>" })(metricIdsなし)を呼び出して、プライマリメトリック結果とデータ品質フラグを取得します。このデータはサマリーテーブルと詳細分析の両方に使用されます。

重要: メトリックの生のIDをユーザーに表示しないでください。 メトリック名が解決できない場合は、その役割(例:「プライマリメトリック」「ガードレールメトリック」)で説明してください。「rrgtky08」や「Metric gvgb5efj」のような文字列は表示しないでください。メトリックIDは人間にとって意味のない内部識別子です。


ステップ3:サマリーとアクション

これはレポートの上部です。自己完結している必要があります — このセクションのみを読む人が全体像を把握できるようにします。

サマリーテーブル

## 実験モニター: [プロジェクト名]
日付: [今日] | プロジェクト: [名前] ([ID])

| 実験 | 状態 | 期間 | リフト | 判定 |
|------------|-------|----------|------|---------|

列の定義:

  • 実験 — 人間が読める名前(URLやIDではない)
  • 状態 — 実行中または完了
  • 期間 — 実験開始からの日数
  • リフト — 利用可能な場合はプライマリメトリックの相対リフト、データがない場合は「—」。マルチバリアントの場合は範囲を表示(例:「-17%から-20%」)
  • 判定 — 実行すべきアクション(以下の語彙を参照)

判定語彙:

判定使用タイミング
Ship有意な正のプライマリ、ガードレールクリア、データ品質良好
Iterate正のシグナルだがガードレールに問題あり、または品質懸念
Monitor実行中、まだ有意でない、アクション不要
Abandon有意な負のプライマリ、または重大なデータ品質問題
Decided: Ship最近完了し、チームがShipを決定
Decided: Don't ship最近完了し、チームがShipしないことを決定
Fix configクエリエラー、エクスポージャーイベントの破損、または深刻なトラフィック不均衡
Needs metricsメトリックなしで実行中 — 評価できない
N/Aサーベイ/ナッジのデプロイ、機能実験ではない

アクションアイテム(テーブルの直後)

**今すぐ対応:**
- [実験] — [所有者名を含む具体的なアクション]

**ウォッチ継続:**
- [実験] — [簡単なステータス+次回確認するタイミング]

**セットアップが必要:**
- [実験] — [不足しているもの+所有者名]

テーブル内のすべての実験は、ちょうど1つのアクションカテゴリに表示される必要があります。該当する実験がないカテゴリは省略してください。


ステップ4:詳細

サマリーの下に、セクションごとに整理された追加の詳細を提供します。各実験は1つのセクションにのみ表示されます — 重複は禁止です。

4a: 詳細分析(注意が必要な実験)

Ship、Iterate、Abandonの判定が下された実験(最大3件)の詳細分析を行います。これらは調査する価値のある有意な結果を持つものです。

各実験について、以下の完全なレポートを一度に出力します。

---
## [実験名]
[状態] | [期間]d | コントロール: [N] / トリートメント: [N] | [実験へのリンク]

データ品質(最初に — 結果の前に):

メトリック結果を報告する前にデータ品質を確認してください。重大な問題がある場合、読者は結果を解釈する前にそのコンテキストを必要とします。

すべて合格の場合、1行で「データ品質チェック:すべて合格。」と表示し、プライマリメトリックに進みます。

問題が見つかった場合は、プライマリメトリックの前に報告します。

### データ品質: [N件の問題を検出]

SRM(サンプル比率ミスマッチ):

  • APIレスポンスのsrmDetectedフィールドを使用
  • srmDetected: trueの場合: 常に最初に、目立つように報告
  • 実際の分割と期待される分割を特定のパーセンテージで報告

トラフィック割り当ての変更:

  • 現在のバリアントウェイトを累積エクスポージャー分布と比較
  • 一致しない場合(例:現在のウェイトが100/0/0だが累積が15/70/15)、実験途中で割り当てが変更されたことを意味する
  • これを目立つようにフラグする — 一部のバリアントが新しいトラフィックを受信しなくなっている可能性がある

サンプルサイズ:

  • 各バリアント100未満: 不十分としてフラグ — 結論を出すには早すぎる
  • 各バリアント100~1,000: 方向性のあるシグナルのみ、確信を持って判断するには不十分
  • 1,000以上: 分析に十分

有効性フラグ — 失敗のみ報告:

フラグ失敗時の意味重大度
isVariancePositive = falseメトリックデータが無効 — 統計テストを実行できない重大
isConfidenceIntervalNotFlipped = false結果の計算エラー — 数値を信頼しないでください重大
isMeanValid = falseメトリック値が壊れている(NaN/無限大) — 分析不可重大
statsAssumptionsMetForWholeExperiment = false統計的前提が満たされていない — 結果が信頼できない可能性がある高
hasSuspiciousUplift = true異常に大きな効果 — 測定誤差の可能性があり、実際の変化ではない可能性がある高
isPointEstimateInsideConfidenceInterval = false内部計算の不整合 — 結果が間違っている可能性がある高
isStandardErrorLargeEnough = false信頼できる推定値を得るにはノイズが多すぎる中

SRMが検出された場合、または重大なフラグが失敗した場合:

⚠️ 以下の結果は、[問題]のため注意して解釈する必要があります。

プライマリメトリック:

### [メトリック名]: [平易な言葉での判定]

| バリアント | 値 | リフト | 95%信頼区間 |
|---------|-------|------|--------|
| コントロール | [X] | — | — |
| トリートメント | [Y] | [+Z%] | [A%からB%] |

[平易な言葉での解釈を一文。]

フレーミングルール:

  • p値を含めないでください。 非専門家はその意味を理解していません。
  • 「効果なし」ではなく「有意ではない」を使用してください。効果がある可能性があります — 実験がこのサンプルサイズでそれを検出できないだけです。
  • 何が起こったかを平易な言葉で説明してください。

判定の言葉:

  • 有意な正 — 信頼区間が完全にゼロより上、正のリフト
  • 有意な負 — 信頼区間が完全にゼロより下、負のリフト
  • 有意ではない — 信頼区間にゼロが含まれる; まだ確信を持って真の差があるとは言えない
  • 正/負の傾向 — 方向性のあるシグナルだが信頼区間にゼロが含まれる; ウォッチに値する

リフトが非常に小さい(<2%)または非常に大きい(>20%)場合にのみ、実務上の有意性について一文追加します。

ガードレールとセカンダリメトリック:

Amplitude:query_experiment({ id: "<id>", metricIds: [...] }) を呼び出します。

すべてのメトリックを説明するのではなく、回帰の検出に焦点を当てます。

有意な回帰がない場合:「すべてのガードレールとセカンダリメトリックはクリーンです — 検出された有意な回帰はありません。」

有意な回帰が見つかった場合:

- **[メトリック名]:** 有意な回帰([−X%]、CI: [A%からB%]) — [影響について一文]

まだ有意ではないが、大きな方向性のある回帰(相対リフト>20%)がある場合:

- **[メトリック名]:** 有意ではないが、方向性としては負([−X%]) — ウォッチに値する

有意ではない小さな方向性の変化は省略してください。5つ以上のメトリックがある場合は、多重比較により偽陽性の確率が高まることに注意してください。

フィードバック(プライマリが有意な場合のみ):

Amplitude:get_feedback_insights を実験関連のキーワードで呼び出します。2〜3のテーマをそれぞれ一行で報告します。関連するフィードバックがない場合は、このセクションをスキップします。

判定:

### 判定: [SHIP / ITERATE / MONITOR / ABANDON]
1. [プライマリメトリックの所見 — 一文]
2. [品質 / ガードレールステータス — 一文]
3. [次に何をすべきか — 一文]

判定マトリックス(内部参照用、出力しない):

シグナルShipIterateMonitorAbandon
プライマリ有意な正+実務的有意な正だがガードレールに回帰まだ有意でない、実行中有意な負
品質すべて合格軽微なフラグすべて合格またはデータ不足SRMまたは重大なフラグ
ガードレールクリーン1つの回帰、修正が必要クリーンまたはデータ不足重要なメトリックの有意な回帰
実験状態完了完了実行中完了または実行中

4b: 実行中の実験(モニタリング、アクション不要)

Monitor判定の実験については、それぞれ1行のステータスを提供します。

---
### 実行中の実験

**[名前]** — 実行中[X]d、コントロール: [N] / トリートメント: [N]。 [プライマリメトリックステータス — 例:「正の傾向(+3.3%)だがまだ有意ではない」]。データ品質クリーン。[リンク]

**[名前]** — 実行中[X]d、コントロール: [N] / トリートメント: [N]。結論を出すには早すぎる — [理由、例:「サンプルサイズが100-1,000の範囲」]。[リンク]

簡潔に — 実験ごとに1行。Amplitudeで確認したい人のために、最後にリンクを含めます。

4c: 最近決定されたもの(簡単な概要)

Decided: ShipまたはDecided: Don't shipの判定の実験の場合:

---
### 最近決定されたもの

- **[名前]** — [日付]に[出荷/ロールバック]、[X]日後。[結果または根拠について一文]。[リンク]

メトリックなし、または統計的有意性なしで出荷された場合は、そのことを簡単に記します。

4d: セットアップが必要

Fix config、Needs metrics、またはN/Aの判定の実験の場合:

---
### セットアップが必要

- **[名前]** — [問題の説明]。所有者: [所有者名]。
- **[名前]** — サーベイ/ナッジのデプロイ、機能実験ではありません。分析は不要です。

各実験は、ちょうど1つの詳細セクションに表示されます。サマリーテーブルのアクションと詳細セクションの両方に同じ情報で実験をリストしないでください。詳細セクションはアクションアイテムを補足するものであり、繰り返すものではありません。


エッジケース

  • 実験がない場合: 明確に報告し、他のプロジェクトを確認することを提案する
  • データがない(<24時間): 実験が開始されたばかりであることを記し、7日後に再確認するよう提案する
  • SRMが検出された場合: データ品質でこれを最初に挙げる — 他のすべてを無効にする可能性がある
  • 10以上の実験がある場合: すべてのサマリーテーブルを作成し、上位3件を詳細分析し、さらに分析することを提案する
  • レスポンスが大きすぎる/ディスクに保存された場合: summary+有効性フラグのみ抽出する
  • メトリックが設定されていない場合: 「セットアップが必要」セクションにリストし、詳細分析は行わない
  • すべての実験がスケールの場合: モニタリングするアクティブな実験がないことを報告する
  • query_experimentからのクエリエラー: 実験所有者の名前とともにエラーを明確に報告する。サマリーで「Fix config」としてフラグする。一般的な原因: エクスポージャーイベントプロパティの破損、実験キーの設定ミス。
  • 実験途中でトラフィック割り当てが変更された場合: データ品質でフラグする。現在のウェイトを累積エクスポージャー分布と比較する。どのバリアントがトラフィックを受信しなくなったかを記す。
  • サーベイ/ナッジ実験(NPSなど): サマリーでN/Aとして記す。分析は不要 — 詳細分析はスキップ。
  • 深刻に不均衡なトラフィック(例:5%/95%または0%/100%): 「Fix config」としてフラグする — 意味のあるコントロールグループなしでは有効な実験を実行できない。所有者とともにセットアップが必要セクションに記す。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

amplitude/builder-skills

Performs deep analysis of a specific Amplitude chart to explain trends, anomalies, and likely drivers. Use when a metric looks unusual, investigating a spike or drop, or understanding the "why" behind numbers.

amplitude/builder-skills

Deeply analyze Amplitude dashboards by analyzing key charts, surfacing top areas for concern and takeaways, identify anomalies, then explain changes using customer feedback trends.

amplitude/builder-skills

Designs A/B tests with proper metrics and variants, analyzes running or completed experiments, and interprets results with statistical rigor. Use when setting up experiments, checking experiment status, analyzing results, or making ship decisions.

amplitude/builder-skills

Synthesizes customer feedback into actionable themes including feature requests, bugs, pain points, and praise. Use when planning product roadmap, understanding user sentiment, investigating specific issues, or preparing voice-of-customer reports.

amplitude/builder-skills

Analyze MCP server usage instrumented with Amplitude's MCP Analytics SDK: break usage and errors down by tool, read the rationales within each tool to see what callers are trying to do, and produce a prioritized write-up of actionable fixes. Use this skill whenever the user asks to understand how their MCP server is being used, what agents/users are trying to do with it, why tool calls are failing, what to fix or improve in their MCP server, or asks for an "MCP usage report", "tool error analysis", "intent analysis", "rationale clustering", or "MCP insights". Also trigger when the user mentions [MCP]-prefixed events, tool rationale, tool call errors, or just finished instrumenting their MCP server and wants to see what the data says. Requires the Amplitude MCP connector.

amplitude/builder-skills

Read lost deals and churned accounts from your CRM, extract reasons clustered by theme (missing features, pricing, competitors, UX), and write a prioritized weekly analysis with product improvement recommendations. Use before roadmap planning or to build the case for prioritizing retention work.

amplitude/builder-skills

Creates Amplitude charts from natural language descriptions, handling event selection, filters, groupings, and visualization choices. Use when you know what you want to measure but prefer not to build the chart manually.

amplitude/builder-skills

Guide an Amplitude user through building a custom agent by suggesting use cases grounded in their role and data, shaping the idea into a well-formed spec, and generating a ready-to-run Global Agent deeplink that creates it. Use to create, build, or set up a custom agent, automate a recurring analysis, or put a repeated report on a schedule.

amplitude/builder-skills

Builds comprehensive Amplitude dashboards from requirements or goals, organizing charts into logical sections with appropriate layouts. Use when creating a complete dashboard from scratch or assembling existing charts into a cohesive view.

amplitude/builder-skills

Pull Intercom tickets and Slack support messages from the past 7 days, classify each signal, enrich with CRM data (ARR, plan, renewal), score by customer value and churn risk, and output a tiered priority report saved to Drive. Use when you need a fast, data-driven view of what support signals matter most.

amplitude/builder-skills

Use this skill whenever a user wants to improve existing pages on their website to get cited more by AI models — whether they say "our pages aren't getting cited", "improve this page for AI visibility", "which of our pages should we update", "make this article more cite-worthy", "our competitors are getting cited instead of us", "update our content for AI search", or any variation where the goal is improving an existing asset rather than creating something new. This skill pulls owned pages from AI Visibility, identifies which ones have citation potential but are underperforming, compares them against the external pages that are winning citations on the same topics, and produces section-level rewrites or a full-page update — then pushes the revision to the CMS as a draft. Trigger even if the user just says "help me get cited more" or "why is [competitor] getting cited instead of us".

amplitude/builder-skills

Use this skill whenever a user wants to win AI citations on prompts that competitors currently dominate — whether they say "competitors are getting cited instead of us", "we're losing on these prompts", "how do I outrank [competitor] in AI answers", "find prompts where we should be winning", "create content to beat [competitor]", or any variation where the goal is capturing AI share on prompts a competitor currently owns. This skill pulls competitor visibility data from AI Visibility, identifies the specific prompts where competitors win and Amplitude is absent, clusters them by intent, and produces targeted comparison pages, alternatives content, or rebuttal assets — then pushes drafts to CMS. Trigger on any mention of competitor, prompt hijack, outrank, or "why is [competitor] getting cited instead of us".

amplitude/builder-skills

Use this skill whenever a user wants to turn AI Visibility data into published content — whether they say "find content gaps", "what should we write about", "which topics have low visibility", "help me get cited by AI models", "create a blog post from our AI Visibility gaps", "we're losing to competitors on these prompts", or any variation where they want to go from AI visibility weakness to a draft article, landing page, or FAQ. This skill connects directly to Amplitude AI Visibility data (topics, prompts, visibility scores, citations, competitor data, full LLM responses and sources) and produces a publish-ready content brief plus full article draft. If the user mentions CMS (WordPress, Webflow, Contentful, Sanity, HubSpot, Ghost, Shopify), also trigger this skill to push the draft directly. Trigger even if they just say something vague like "what content should we create?" in an AI Visibility context.

amplitude/builder-skills

Use this skill whenever a user wants to test content variants before publishing to find which one will get cited most by AI models — whether they say "which version of this content will perform better", "test this article before we publish", "simulate how AI will respond to this content", "which angle should we use", "generate content variants and pick the winner", "run a simulation before publishing", or any variation where the goal is data-driven content selection rather than gut-feel publishing. This skill takes an identified content opportunity, generates 2–3 distinct variants with different angles or structures, scores them against actual AI model responses from AI Visibility, references the Simulate Changes feature for pre-publish validation, and produces a clear recommendation on which variant to publish — then pushes the winner to CMS. Trigger on any mention of "simulate", "test variants", "which performs better", "A/B content", or "before we publish".

amplitude/builder-skills

Use this skill whenever a user wants to understand which external sources are being cited by AI models on topics relevant to their brand, and wants to create content that will outrank those sources — whether they say "what sources are AI models citing", "why is [third-party site] being cited instead of us", "we want to be the definitive source on X", "build something that gets cited more than G2 or TechRadar", "create an authoritative asset", or any variation where the goal is producing a new reference asset (definition page, benchmark, methodology, glossary, comparison hub) designed to beat existing top-cited sources. This skill analyzes AI Visibility source data, reverse-engineers what makes top-cited pages authoritative, and produces a superior source asset — then pushes it to CMS as a draft. Trigger on any mention of "sources", "third-party citations", "authoritative content", "definitional pages", or "outrank".

amplitude/builder-skills

Instrument a Node/TypeScript MCP server with Amplitude's @amplitude/mcp-analytics SDK so tool calls, sessions, and rationale are tracked as Amplitude events. Use this skill whenever the user wants to add Amplitude analytics to their MCP server, mentions "MCP Analytics", "@amplitude/mcp-analytics", "instrument my MCP server", "track MCP tool calls", "add rationale to my MCP tools", or wants agent traffic (Claude, Cursor, ChatGPT) attributed back to Amplitude. Also use for adding UTM tagging to MCP-returned links, or for troubleshooting identity/user_id mismatches between MCP events and web/mobile Amplitude data.

amplitude/builder-skills

Instruments a pull request with Amplitude analytics that conform to the project's existing taxonomy. Reads the tracking plan via the Amplitude MCP server (events, properties, naming conventions), analyzes the PR diff to find the few user actions genuinely worth tracking, detects the codebase's SDK and tracking patterns, and adds instrumentation that matches both. Optionally (opt-in) stages new events and properties on an Amplitude tracking-plan branch for data-governance review. Use when asked to "instrument this PR", "add analytics to this change", "add tracking", "add Amplitude events", "instrument this feature", or "what should I track here".

amplitude/builder-skills

Diagnoses product health by cross-referencing Amplitude analytics (dashboards, charts, funnels, feedback, AI agent analytics), optionally Datadog (errors, latency, stack traces), and optionally Slack (qualitative feedback, bug reports, feature requests). Identifies what's broken, what's working, and what to do about it — with root causes, not just symptoms. Use when asked to "diagnose my product", "what's going on", "product health check", "what's broken", "where are users struggling", "give me a product diagnosis", or "what should I focus on".

amplitude/builder-skills

Turn one or more meeting transcripts, notes, or Slack threads into concise takeaways and clear action items with DRIs. Works with a single meeting or a batch from the whole week.

amplitude/builder-skills

Summarizes B2B account health by analyzing usage patterns, engagement trends, risk signals, and expansion opportunities. Use for customer success reviews, renewal preparation, QBRs, or account prioritization.

関連スキル