Communitygithub.com

amplitude/builder-skills

Amplitude ユーザーがカスタムエージェントを構築するのを支援し、役割やデータに基づいたユースケースを提案し、アイデアを明確な仕様にまとめ、すぐに実行可能なグローバルエージェントのディープリンクを生成します。カスタムエージェントの作成、構築、定期分析の自動化、繰り返しレポートのスケジュール実行に使用します。

builder-skills とは?

このスキルは、Amplitude のカスタムエージェントを迅速かつ具体的に構築するためのガイドです。このスキルは、ユーザーの役割や保有データに基づいて実用的なアイデアを提案し、選択されたアイデアを明確な仕様にまとめ、最後にクリック一つでエージェントを作成できるグローバルエージェントのディープリンクを生成します。API が存在しないため、エージェントを直接作成するわけではありませんが、完全に指定されたプロンプトとリンクを提供し、ユーザーがリンクを開いてドラフトを確認し、Amplitude 内で設定します。スキルは、ユースケースカタログ、ベストプラクティス、プロンプト作成手順、具体的なプロンプト例を参照して、高品質なエージェントを生成します。このスキルは、Claude Code、Cursor、Codex などの AI エージェントプラットフォーム上で動作し、Amplitude MCP ツールが利用可能な場合は、実際のデータに基づいた提案も可能です。

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

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

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

ドキュメント

カスタムエージェントを作成する

Amplitude でカスタムエージェントを構築するユーザーを支援します。このスキルの役割は、そのプロセスを簡単かつ具体的にすることです。ユーザーとそのデータに基づいた強力なアイデアを提案し、選択されたアイデアを適切に形成されたエージェントにまとめ、最後にクリック可能なグローバルエージェントリンク(および同じプロンプトのプレーンテキスト)を提供します。

このスキルはエージェントを直接作成しません。そのための API はありません。完全に指定されたプロンプトとディープリンクを生成し、ユーザーがリンクを開き、グローバルエージェントでドラフトを確認し、グローバルエージェントがエージェントを設定します。

提案を行う前に references/use-cases.md と references/best-practices.md を、エージェントの指示の文言については references/prompting-instructions.md を、モデルとするプロンプト例については references/examples.md をお読みください。

振る舞い方(最初にお読みください)

  • 空白のプロンプトではなく、まず提案を行ってください。 ユーザーはカスタムエージェントが欲しいからこのスキルを呼び出しました。最初に、ユーザーに合った具体的なアイデアを 2~3 個提案し、選択または調整を促してください。「何をさせたいですか?」とだけ尋ねるのは避けてください。
  • 選択肢のメニューを絶対に提示しないでください。 メニュー、番号付きセレクター、AskUserQuestion スタイルのリストを使って会話を進行させないでください。同僚がするように、散文で実際の提案を会話の中で行ってください。
  • 支援し、妨げないでください。 デフォルトでは、構築を支援する姿勢をとります。ユーザーが説明するワークフローが組み込みの Specialized Agent と完全に一致する場合は、参考情報としてその旨を伝え、作業を続けてください。拒否したり行き詰まらせたりしないでください。カスタムエージェントは、組み込みジョブの範囲を限定したり、スケジュール実行したり、配信先を変更したバリアントを実行することもできます。

ステップ 1 - 根拠のある提案から始める

入手可能なあらゆるコンテキストに基づいてアイデアを提案します。優先順位は以下の通りです。

  1. ユーザーについて既に知っていること。 役割、チーム、プロダクト領域、会話や接続されたコンテキストからの情報。プロダクトマネージャー、エンジニア、グロースマーケター、ラーニングデザイナーはそれぞれ異なるエージェントを求めます。提案をユーザーに合わせてください。
  2. アクセス可能であれば、ユーザーの Amplitude データ。 ステップ 2 を参照してください。実際のプロジェクトとトップイベントを取得することで、ユーザーが実際に収集しているイベントに基づいたエージェントを提案でき、汎用的なアイデアよりもはるかに効果的です。
  3. ユースケースカタログ。 references/use-cases.md には、役割別、Agent Library カテゴリ別の強力なエージェントが記載されています。ギャップを埋めるために使用し、各アイデアをそこの「それぞれが優れている理由」チェックリストに照らして具体化してください。

2~3 の具体的なアイデアを提供します。それぞれを、漠然としたテーマではなく、実際のエージェント(シグナル、しきい値、周期、配信先)として表現してください。その後、どれが最も近いか、何を変更したいかを尋ねてください。本当にコンテキストがない場合は、ユーザーが手作業で繰り返しているワークフローについて 1 つの自由記述形式の質問をするか、ステップ 3 のブレインストーミングリンクを推測ではなく提供してください。

ステップ 2 - データに基づく(Amplitude MCP が利用可能な場合のオプション)

この環境で Amplitude MCP ツールが接続されている場合は、それらを使用して提案を実際のデータに基づかせてください。軽く行い、完全な分析ではなく、実際のイベント名を特定できる程度に留めます。

  • コンテキストツールを呼び出してユーザーのプロジェクトをリストし、次にイベントツールを呼び出してトップまたは最新のイベントを確認します。イベント名を推測せず、実際の値を読み取ってください。
  • ユーザーが実際に収集しているイベントに基づいたエージェントを提案し、後で生成するプロンプトでは実際のイベント名を使用します。
  • MCP ツールが利用できない場合は、このステップをスキップし、役割のコンテキストとユースケースカタログに頼るか、以下のブレインストーミングリンクを提供してください。MCP がなくても作業を止めないでください。

ステップ 3 - グローバルエージェントのブレインストーミングリンクを提供する(移植可能な代替手段)

ユーザーのデータに直接アクセスできない場合、グローバルエージェントはアクセスできます。なぜならグローバルエージェントはユーザーの Amplitude 組織内で実行されるからです。次のディープリンクを提供します。このリンクはグローバルエージェントに対して、ユーザー自身のデータからカスタムエージェントのユースケースを提案するように指示します。

https://app.amplitude.com/?aiQuery=<URL エンコードされたブレインストーミングプロンプト>

適切なブレインストーミングプロンプトの例:「私の最もアクティブなイベントとダッシュボードを確認し、定期的な分析を自動化できるカスタムエージェントを 3 つ提案してください。それぞれについて、監視すべきシグナル、ガードレールシグナル、フラグのしきい値、周期、結果の配信先を指定してください。」ステップ 5 と同じ方法でエンコードします。

ステップ 4 - 選択されたアイデアを具体化する(情報収集)

ユーザーが方向性を選択したら、以下の 9 つのフィールドを、まだ入手していない情報だけを尋ねながら埋めます。まず期待値を設定します。すべての項目を正確に答える必要はなく、わかっている範囲で答えてもらえば、不足分は適切なデフォルト値で補い、推測した箇所は明示することを伝えます。また、エージェントの構築は反復的なプロセスであるため、ここで決めたことは最終版ではなく、後でいつでも Amplitude 内で調整できることも伝えます。具体的な内容を促します。あいまいな入力はあいまいなエージェントを生み、出力品質を最も左右するのは指示の具体性です。

フィールド取得内容コーチング
プロジェクトapp_id、または「カレントプロジェクト」エージェントはユーザーが既にアクセスできるデータのみ使用できます。
監視対象このエージェントが担当する 1 つのワークフローまたはメトリクス1 エージェント、1 ジョブ。3 つ挙げられたら、3 つのエージェントを作成します。
プライマリシグナルプロジェクトに表示される正確なイベント名またはメトリクス名実際のイベント名を使用します。内部の専門用語やコードネームはエージェントを誤解させます。データが「セルフサービス」を認識できないのに「スタータープラン」として保存されている場合など。イベントはエージェントが依存する前にプロジェクトに存在している必要があります。
ガードレールシグナルプライマリシグナルの解釈を正確にするためのコンテキストイベント例:完了イベントと登録イベントをペアにすることで、減少を誤って解釈しないようにします。
セグメント / フィルター含める、または除外するユーザー特に指定がない限り、エージェントは全ユーザーを分析するため、必ずセグメントを指定してください。ほとんどの場合、内部トラフィックを除外します。
フラグ条件通知する価値のある条件「何か面白いこと」ではなく、しきい値を指定します。例:「前週比 15% 以上の減少」、「ゼロイベントの日」。
周期実行頻度、曜日、時間、タイムゾーンエージェントが支援する意思決定のリズムに合わせます。毎日または毎週。
配信先結果の送信先Amplitude 実行ページ、Slack チャンネル、メール、Jira、Linear、Notion。ステップ 7 の Slack に関する注意事項を参照してください。
出力形式成果物の形式例:「要約数字、箇条書きのポイント」、「トップ 5 変動要因の表」。

ユーザーがエージェントに特定のチャート、ダッシュボード、コホートをコンテキストとして取得させたい場合は、グローバルエージェントでドラフトをレビューする際に、指示内でそのアセットを @mention するように伝えてください。各フィールドの適切な文言については、references/prompting-instructions.md が、静かに誤った出力を生成する落とし穴をカバーしています。

ステップ 5 - プロンプトを組み立てる

以下のテンプレートに情報収集の回答を入力します。フィールドラベルは保持し、括弧で囲まれた部分を置き換えてください。

次の詳細で私のためにカスタムエージェントを作成してください。

- プロジェクト: app_id [APP_ID](または「カレントプロジェクト」)
- 監視対象: [ワークフローまたはメトリクス]
- プライマリシグナル: [正確なイベント名またはメトリクス名]
- ガードレールシグナル: [コンテキストイベント]
- セグメント / フィルター: [包含 / 除外ルール]
- フラグ条件: [しきい値または条件]
- 周期: [頻度、曜日、時間、タイムゾーン]
- 配信先: [結果の送信先]
- 出力形式: [成果物の形式]

ユーザーが答えなかったフィールドについては、適切なデフォルト値を入力し、その旨をメッセージでユーザーに通知して、確認すべき点を認識してもらいます。エージェントの指定が不十分なままにならないようにします。デフォルト値が意味をなさない場合のみ、行を省略します。エージェント構築後も Amplitude 内でいつでも変更できることを再度伝えます。

ステップ 6 - ディープリンクを構築する

入力されたプロンプトをグローバルエージェントのリンクに変換し、リンクを開くとプロンプトが実行可能な状態で読み込まれるようにします。

ルート(アプリのルートはユーザーの組織を自動的に解決するため、組織スラッグは不要です。ログインユーザーは、プロンプトがすでにコンポーザーに読み込まれた状態でグローバルエージェントにアクセスします):

https://app.amplitude.com/?aiQuery=<URL エンコードされたプロンプト>

入力されたプロンプト全体を URL エンコードします。スペースは %20、改行は %0A、引用符は %22、括弧は %28 と %29、# は %23、/ は %2F、: は %3A にエンコードします。

ステップ 7 - 成果物を提供する

以下の 3 つを返します。

  1. クリック可能なリンク。名前付きマークダウンリンクとして、テキストは短い平易な英語の説明にします(例:[このエージェントを Amplitude で構築する](https://app.amplitude.com/?aiQuery=...))。生のエンコードされた URL を表示テキストとして貼り付けないでください。
  2. ステップ 5 のプレーンテキストのプロンプト。ユーザーが手動でグローバルエージェントや /create-custom-agent コマンドに貼り付けられるようにします。
  3. 「次に何が起こるか」の 1 行の説明。ユーザーがリンクを開き、グローバルエージェントが提案するドラフトエージェントをレビューし、公開します。該当する場合のみ、以下の注意事項を追加します。
    • 配信先が Slack の場合、事前に Amplitude Slackbot を対象チャンネルに招待しないと、配信は静かに失敗します。
    • エンドユーザーに影響を与えるアクション(実験の開始、コホートの作成など)は、実行前に人間の承認が必要です。
    • エージェントは非公開であり、公開して共有するまではその状態が続きます。

Specialized Agents(言及するが、妨げない)

Amplitude には 4 つの組み込み Specialized Agent が用意されています:Dashboard Agent(ダッシュボードの有意な変更を監視)、Session Replay Agent(リプレイ全体の摩擦パターンを分析)、Website Conversion Agent(サインアップ/チェックアウトフローを分析)、Customer Feedback Agent(定性フィードバックのテーマを分析)。誰かのアイデアがこれらのいずれかに完全に一致する場合は、より高速なオプションとしてそれを指摘し、その後、範囲、スケジュール、配信方法を変更したカスタムバリアントが必要な場合は、それを構築する提案をします。これは参考情報であり、支援を停止する理由にはなりません。

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

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

Monitors all active and recently completed experiments across Amplitude projects, triages them by importance, then runs deep analysis and reporting on the most impactful ones. Use when the user asks to "check on experiments", "experiment status", "experiment review", "what experiments are running", or wants a periodic experiment health report.

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.

関連スキル