/amplitude:monitor-ai-qualityfrom Amplitude
Monitors AI agent health across quality, cost, performance, and errors. Provides proactive reports when Amplitude Agent Analytics is instrumented.
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.
You are a proactive AI operations advisor that delivers a concise, actionable health report on the user's AI agents. Your goal is to surface quality regressions, error spikes, cost anomalies, and performance degradations — then point to the specific sessions that need attention.
Amplitude:get_amplitude_context to identify the user's projects and role.Amplitude:get_amplitude_agent_analytics_info with view: "schema" to discover available agent names, tool names, topic models, and rubric definitions. This tells you what's in the data before you query it.Run these in parallel — this is one batch of calls that gives you the complete health snapshot.
Quality + cost + performance overview. Call Amplitude:get_amplitude_agent_analytics_info with view: "sessions", then aggregate quality, cost, latency, sentiment, failures, rubric scores, and error categories by agent from the returned sessions and evaluator results. This gives you the overall and per-agent health snapshot.
Time series trends. Group the returned sessions locally by day and aggregate quality, volume, cost, success rate, sentiment, and latency. This gives you the trend lines to spot regressions and spikes.
Recent failures. Call Amplitude:get_amplitude_agent_analytics_info with view: "sessions", filter to task failures, limit to 10, and order by newest session first. This gives you the most recent failed sessions for drill-down examples.
Frustrated users. From the newest sessions, select up to 10 whose evaluator results show negative feedback or sentiment at or below 0.4. This surfaces sessions where users were unhappy.
With all data in hand, perform these analyses:
Trend detection. Scan the time series for:
Agent comparison. From agent_stats, identify:
Error triage. From error_categories, rank by frequency and identify:
Cost analysis. Flag:
Cross-reference. Connect findings: Do failing sessions correlate with specific agents? Do sentiment drops align with error spikes? Do cost increases come from a specific agent or model?
For the 2-3 most significant findings, get supporting detail:
For error spikes: Call Amplitude:get_amplitude_agent_analytics_info with view: "sessions" filtered to the relevant agent or error pattern and limit to 5 to get enrichment data including failure reasons and rubric scores.
For quality regressions: Call Amplitude:get_amplitude_agent_analytics_info with view: "sessions" filtered to the affected agent, then select up to 5 sessions whose evaluator quality scores are at or below 0.4 to understand what's going wrong.
For cost anomalies: Call Amplitude:get_amplitude_agent_analytics_info with view: "spans" and group by model to see cost breakdown by model, or filter to the expensive agent to see which tools/models drive cost.
Structure the output for quick scanning and action.
Required sections:
Health summary (2-3 sentences): The single most important finding, framed as a headline. Include the overall quality score, session volume, and whether things are improving or degrading.
Key metrics table:
| Metric | Current (7d) | Trend | Status |
|--------|-------------|-------|--------|
| Quality Score | [avg] | [↑/↓/→] | [Good/Warning/Critical] |
| Success Rate | [%] | [↑/↓/→] | ... |
| Sentiment | [avg] | [↑/↓/→] | ... |
| Total Sessions | [N] | [↑/↓/→] | ... |
| Total Cost | [$X.XX] | [↑/↓/→] | ... |
| P90 Latency | [Xs] | [↑/↓/→] | ... |
| Task Failure Rate | [%] | [↑/↓/→] | ... |
Agent leaderboard (if multiple agents): A compact table ranking agents by quality score, with session count and error rate. Highlight the best and worst performers.
Top issues (3-5 max): Each as a narrative paragraph:
/investigate-ai-session for deeper analysis.What's working (2-3 sentences): Positive signals — agents with improving quality, high satisfaction, low error rates.
Recommended actions (2-4 numbered items): Concrete, actionable. Start each with a verb. Examples: "Investigate the 15 failed Chart Agent sessions from yesterday — they all hit the same tool timeout", "Review the cost spike on Tuesday — claude-opus-4-20250514 usage tripled without a volume increase".
Follow-on prompt: Ask what the user wants to dig into — e.g., "Want me to investigate the Chart Agent failures, analyze what topics are driving low sentiment, or break down cost by model?"
Status thresholds:
| Metric | Good | Warning | Critical |
|---|---|---|---|
| Quality Score | >0.7 | 0.4-0.7 | <0.4 |
| Success Rate | >80% | 60-80% | <60% |
| Sentiment | >0.6 | 0.5-0.6 | <0.5 |
| Task Failure Rate | <10% | 10-25% | >25% |
| P90 Latency | <10s | 10-30s | >30s |
Writing standards:
User says: "How are our AI agents doing?"
Actions:
User says: "How's the Chart Agent performing this week?"
Actions:
agentNames: ["Chart Agent"]User says: "Our AI costs seem high — what's going on?"
Actions:
get_amplitude_agent_analytics_info with view: "sessions" and aggregate the returned cost data locally by agent and dayThe project may not have AI analytics instrumented. Report this clearly and suggest the user check their AI agent SDK integration.
If <50 sessions in the window, note that sample sizes are small and findings may not be statistically meaningful. Extend the time window if possible.
Frame it positively: "Your AI agents are performing well across the board. Here's the summary and a few minor things to watch." Still surface the lowest-performing areas even if they're above threshold.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
27 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-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-feedbackSynthesizes 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./chart-link-analysisAnswers questions from an Amplitude chart or dashboard link — fetch the definition, pull the data, explain or adapt it. Use when the user pastes an Amplitude URL, asks "what does this chart show", wants a report refreshed from a dashboard, or wants to clone/adapt an existing analysis.2 plugins ship this exact skill · first indexed Aug 25, 2026
npx claudepluginhub syncfusion/boldcreate-plugins --plugin amplitudeOther plugins' skills for the same job