/amplitude:use-mcp-analyticsfrom amplitude
Analyzes MCP servers instrumented with Amplitude MCP Analytics via `run_amp`, drilling from usage topics down to individual episodes and tool calls. Helps debug failing or thrashing tools, problematic clients, and auth errors.
Ships in amplitude. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
MCP Analytics groups each instrumented MCP server's sessions into episodes, meaning one task an agent tried to complete. It then clusters episodes into a tree of topics. All reads go through run_amp with the mcp-analytics commands. Every command needs project, and nothing here writes.
get_amplitude_context when it isn't known, and ask the user rather than guessing.{"command": ["help", "mcp-analytics", "episodes", "list"]}.["mcp-analytics", "servers", "list"] returns each server's id and name. An empty data array means the project has no instrumented servers; say so and stop.["mcp-analytics", "taxonomy", "get"] with server.
parent to get every node. Use parent: "root" for the top level, or a topic id for its direct children.episode_count, share, hard_error_rate, thrashing_rate and mean_calls. Rates are null when there isn't enough data.run_id and empty nodes mean no taxonomy is pinned for the server yet. Topic and episode commands won't return anything useful, so tell the user and fall back to the raw events below.["mcp-analytics", "topics", "get"] with server and topic returns the topic's stats and up to eight example episodes. This is a sample, not a page.["mcp-analytics", "episodes", "list"] with server and topic.
has-error: "true", is-thrash: "true", client-name, auth-type, lane, and started-after / started-before as RFC 3339 timestamps. Client, auth type and lane must match a stored value exactly, so copy them from earlier results.limit. Pass pagination.next_cursor as cursor and keep the same filters.["mcp-analytics", "episodes", "get"] with episode adds the auth_type and the topic breadcrumb from the root.["mcp-analytics", "calls", "list"] with episode returns every call in order. Each call has tool_name, is_error, error_type, error_message, error_code, error_http_status, duration_ms, the agent's rationale, and the recorded properties.share and a high hard_error_rate or thrashing_rate come first. A low-share topic with a high error rate is a gap worth noting, not the headline.is_thrash marks episodes classified as thrashing. Read the call sequence and each call's rationale to see what the agent was trying to do and where it stopped making progress.tool_name plus error_type or error_code.client-name and auth-type on the same topic to tell a server bug from a client-specific problem.properties and rationale may contain user input. Quote only what supports a finding, and never repeat tokens, emails or other personal data.The commands above are for drilling down. For volumes and trends over time, chart the raw SDK events with the chart query tools in the same project.
[MCP] Tool Call Response (one per tool call), [MCP] Tool Call Rejected, [MCP] Tools Listed, [MCP] Session Initialized, [MCP] Session Ended, [MCP] Feedback Submitted.[MCP] Server Name, [MCP] Tool Name, [MCP] Is Error, [MCP] Error Type, [MCP] Response Duration, [MCP] Client Name, [MCP] Auth Type. Servers that capture parameters also send [MCP] Param: <name>.get_events and get_properties before you filter on them, because a server may not send every event.Lead with the two or three topics that most need work, each with its share, error or thrash rate, and the main failing tool and error. Then add one or two example episodes with the call sequence that shows the problem. End with the next fix to try.
What SKILL.md sets; muted values are Claude Code's defaults
37 skills in this plugin
/add-analytics-instrumentationEnd-to-end analytics instrumentation workflow for a PR, branch, file, directory, or feature. Reads the code, discovers what events should be tracked, and produces a concrete instrumentation plan — all in one shot. Use this skill whenever a user wants to add analytics to a PR, asks "instrument this PR", "add tracking to this branch", "what analytics does this file need", "instrument the checkout flow", "run the full instrumentation workflow", or any request that implies going from code changes to a tracking plan. Also trigger when the user gives you a PR link, branch name, file path, or feature description and mentions analytics, events, or instrumentation. This is the main entry point for the analytics workflow — prefer it over calling the individual steps (diff-intake, discover-event-surfaces, instrument-events) separately.
/analyze-account-healthSummarizes 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./analyze-ai-topicsAnalyzes 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.
/analyze-chartPerforms 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./analyze-dashboardDeeply analyze Amplitude dashboards by analyzing key charts, surfacing top areas for concern and takeaways, identify anomalies, then explain changes using customer feedback trends/analyze-experimentsDesigns 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.Other plugins' skills for the same job
npx claudepluginhub amplitude/mcp-marketplace --plugin amplitude