Analyze Ai Topicsのロゴ

Analyze Ai Topics

組織
amplitude
analyze-ai-topics

Analyzes what users ask AI agents about and how well each topic is served. Only use when the user has Amplitude Agent Analytics instrumented in their project. Use when the user asks "what are people asking the AI", "top AI topics", "where is the AI struggling", "AI coverage gaps", "what should we improve in our AI", or wants product insights from AI conversation patterns.

概要

公開者amplitude
リポジトリmcp-marketplace
スキル名analyze-ai-topics
スター
47
フォーク
12
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/amplitude/mcp-marketplace.git /tmp/mcp-marketplace
mkdir -p .claude/skills
cp -r /tmp/mcp-marketplace/plugins/amplitude/skills/analyze-ai-topics .claude/skills/analyze-ai-topics
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

AI Topic Analyzer

You analyze what users ask AI agents about and how well each topic is served — surfacing underserved areas, coverage gaps, and product opportunities from conversation patterns. This is the product intelligence skill that turns AI session data into "what to build next" decisions.

Instructions

Step 1: Get Context and Schema

  1. Get context. Call Amplitude:get_amplitude_context to identify projects and user role.
  2. Get AI schema. Call Amplitude:get_amplitude_agent_analytics_info with view: "schema" to discover available topic models, agent names, and classification values. The schema tells you what topic dimensions exist (e.g., product_area, intent, error_domain) — these vary by project.
  3. Determine scope. If the user specifies an agent, time window, or focus area, narrow accordingly. Default: all agents, last 14 days (longer window gives more stable topic distributions).

Step 2: Map the Topic Landscape

Run these in parallel:

  1. Topic breakdown with quality. Call Amplitude:get_amplitude_agent_analytics_info with view: "sessions" to retrieve sessions, then aggregate their evaluator results by topic into session count, average quality score, average sentiment, and failure rate. Limit the output to 50 topics. This is the core dataset.

  2. Agent-by-topic matrix. From the same session results, group locally by agent and topic, limiting the output to 100 rows. This shows which agents handle which topics — and where quality differs by agent for the same topic.

  3. Volume trend by topic. Group the session results locally by day and topic. Combine this with the topic breakdown to understand whether total volume growth is driven by specific topics.

  4. Failure sessions by topic. Call Amplitude:get_amplitude_agent_analytics_info with view: "sessions" and hasTaskFailure: true, then group the returned sessions locally by topic. This shows which topics have the most failures — a different signal from low quality (failures are hard stops, low quality is soft degradation).

Step 3: Identify Underserved Topics

Score each topic on a 2x2 of volume x quality:

High Quality (>0.7)Low Quality (<0.7)
High VolumeWell-served (maintain)Underserved (fix now)
Low VolumeNiche but working (monitor)Gap or emerging (investigate)

For each quadrant, identify the top 3-5 topics. The high volume + low quality quadrant is the priority — these are things users frequently ask about that the agents handle poorly.

Also flag:

  • Growing topics: Topics with increasing volume over the time window. These may need better coverage soon even if quality is currently acceptable.
  • Sentiment outliers: Topics where sentiment is notably lower than quality score. This means the agent technically completes the task but users aren't happy with the experience.
  • Agent routing issues: Topics where one agent handles them well but another handles them poorly — suggesting a routing improvement.

Step 4: Deep-Dive into Top Underserved Topics (Budget: 3-6 calls)

For the 2-3 most impactful underserved topics:

  1. Sample conversations. Select representative sessions for the topic from the evaluator results, then call Amplitude:get_amplitude_agent_analytics_info with view: "conversation" for 3-5 examples to understand:

    • What specifically are users asking?
    • Where does the agent struggle — wrong answer, no answer, wrong tool, slow response?
    • Are there sub-patterns within the topic?
  2. Detailed failing sessions. Call Amplitude:get_amplitude_agent_analytics_info with view: "sessions" and hasTaskFailure: true, then select up to 5 sessions for the topic or with evaluator quality scores at or below 0.5. Read the enrichment data for failure reasons and rubric scores.

  3. Tool usage for the topic. Call Amplitude:get_amplitude_agent_analytics_info with view: "spans" for a few representative failing sessions to see which tools are involved.

Step 5: Synthesize into Product Insights

Transform the analysis into actionable product decisions.

Required sections:

  1. Topic landscape summary (3-4 sentences): How many distinct topics, total session volume, overall quality distribution. Frame as "your AI agents handle X topics across Y sessions — here's what's working and what isn't."

  2. Topic heatmap table — The core deliverable:

| Topic | Sessions | Quality | Sentiment | Failure Rate | Trend | Priority |
|-------|----------|---------|-----------|--------------|-------|----------|
| [topic] | [N] | [score] | [score] | [%] | [↑/↓/→] | [Fix/Monitor/Good] |

Sort by priority: Fix items first, then Monitor, then Good. Limit to top 15-20 topics.

  1. Underserved topics (2-4 findings): Each as a narrative paragraph:

    • [Topic headline — what users are asking] — Volume (N sessions), quality score, what goes wrong (from conversation samples), which agent handles it, and what would fix it. Include example conversation excerpts to make it concrete.
  2. Coverage gaps (1-2 findings): Topics where users are asking questions the agents can't answer at all. Evidence: high failure rates, very low quality, or sessions where the agent explicitly says "I can't help with that."

  3. Emerging topics (1-2 findings): Topics with growing volume that may need attention soon. Include the growth rate and current quality.

  4. Agent routing insights (if applicable): Topics that would be better served by a different agent, or topics where adding a specialized agent would improve quality.

  5. Recommended actions (3-5 numbered items): Prioritized by impact (volume x quality gap). Examples:

    • "Improve the Chart Agent's handling of retention queries — 340 sessions/week at 0.42 quality. Users ask for cohort retention but get event trends. Add retention chart type detection to the agent's routing."
    • "Create a dedicated onboarding agent — 'getting started' topics span 3 agents with inconsistent quality (0.38-0.72). A single agent with onboarding context would unify the experience."
    • "Add better error messages for unsupported query types — 89 sessions/week hit 'I can't do that' dead ends. At minimum, suggest what the user should try instead."
  6. Follow-on prompt: "Want me to deep-dive into a specific topic, investigate the failing sessions for [top underserved topic], or build a monitoring dashboard for AI topic quality?"

Writing standards:

  • Lead with the user impact, not the data
  • Use conversation excerpts to make abstract topics concrete
  • Quantify everything — "340 sessions/week" not "many sessions"
  • Every finding needs an action
  • Keep the full report under 800 words (topic analysis tends to be richer than operational reports)

Examples

Example 1: Full Topic Analysis

User says: "What are people asking our AI about?"

Actions:

  1. Get context and AI schema
  2. Query topic breakdown, agent-by-topic matrix, volume trends, and failures by topic (4 parallel calls)
  3. Score topics on the volume x quality matrix
  4. Deep-dive into top 2-3 underserved topics with conversation search and detailed sessions
  5. Present the topic heatmap with underserved findings and recommendations

Example 2: Focused Gap Analysis

User says: "Where is our AI falling short?"

Actions:

  1. Get context and schema
  2. Query topics and failures — focus on low quality and high failure rate topics
  3. For each underserved topic, search conversations to understand the failure mode
  4. Present findings organized by severity with concrete fix recommendations

Example 3: Agent-Specific Topic Review

User says: "What topics does the Chart Agent handle, and how well?"

Actions:

  1. Get context, then query sessions grouped by topic for that agent specifically
  2. Compare the agent's topic quality scores against the fleet average
  3. Deep-dive into the agent's worst topics
  4. Present a focused report on that agent's topic coverage

Troubleshooting

No topic enrichment data

Topics require session enrichment to be enabled. If topics are empty, use get_amplitude_agent_analytics_info with view: "sessions" to sample sessions, then view: "conversation" to manually categorize common themes. Note the limitation and suggest enabling enrichment.

Too many topics (>50)

Group similar topics and present the top 20 by volume. Offer to drill into specific clusters on request.

Topics are too generic

If topic labels are broad (e.g., "data question", "help request"), the enrichment model may need tuning. Note this and use conversation search to identify more specific sub-topics manually.

よくある質問

AIスキル「Analyze Ai Topics」では何ができますか?

Analyzes what users ask AI agents about and how well each topic is served. Only use when the user has Amplitude Agent Analytics instrumented in their project. Use when the user asks "what are people asking the AI", "top AI topics", "where is the AI struggling", "AI coverage gaps", "what should we improve in our AI", or wants product insights from AI conversation patterns.

TypingMindでAnalyze Ai Topicsを使うメリットは何ですか?

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

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

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/amplitude/mcp-marketplace/tree/main/plugins/amplitude/skills/analyze-ai-topicsを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Analyze Ai Topicsを使えるAIモデルはどれですか?

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

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

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

AIスキル「Analyze Ai Topics」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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