Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

monitor-ai-quality

БесплатноБез исполняемых скриптовНе проверен

Monitors AI agent health across quality, cost, performance, and errors. Only use when the user has Amplitude Agent Analytics instrumented in their project…

amplitudeот amplitude★ 50 звёзд на GitHub

Об этом скилле

AI Agent Quality Monitor

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.

Instructions

Phase 1: Get Context and Schema

  1. Get context. Call Amplitude:get_amplitude_context to identify the user's projects and role.
  2. Get AI schema. Call 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.
  3. Determine scope. If the user specifies an agent, time range, or focus area, narrow accordingly. Otherwise default to all agents over the last 7 days.

Phase 2: Gather the Full Picture

Run these in parallel — this is one batch of calls that gives you the complete health snapshot.

  1. 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.

  2. 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.

  3. 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.

  4. 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.

Phase 3: Analyze and Triage

With all data in hand, perform these analyses:

  1. Trend detection. Scan the time series for:

    • Quality score drops >10% day-over-day
    • Volume spikes or drops >25%
    • Cost jumps >20%
    • Success rate dips below 70%
    • Sentiment drops below 0.5 (the neutral baseline)
    • Latency P90 increases >50%
  2. Agent comparison. From agent_stats, identify:

    • Which agents have the lowest quality scores
    • Which agents have the highest error rates
    • Which agents cost the most per session
    • Any agent with quality diverging from the fleet average
  3. Error triage. From error_categories, rank by frequency and identify:

    • New error categories (not present in prior periods)
    • Top 3 error categories by volume
    • Whether errors concentrate in specific agents
  4. Cost analysis. Flag:

    • Total cost trend (growing, stable, declining)
    • Agents with disproportionate cost relative to session volume
    • Any single-day cost spikes
  5. 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?

Phase 4: Drill Into Top Issues (Budget: 2-4 calls)

For the 2-3 most significant findings, get supporting detail:

  1. 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.

  2. 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.

  3. 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.

Phase 5: Present the Health Report

Structure the output for quick scanning and action.

Required sections:

  1. 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.

  2. 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 | [%] | [↑/↓/→] | ... |
  1. 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.

  2. Top issues (3-5 max): Each as a narrative paragraph:

    • **[Issue headline
Полный SKILL.md на GitHub

Установить monitor-ai-quality в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл monitor-ai-quality?

Monitors AI agent health across quality, cost, performance, and errors. Only use when the user has Amplitude Agent Analytics instrumented in their project. Use when the user asks "how are our AI agents doing", "AI quality check", "agent health", "AI errors", "agent performance", "LLM cost", or wants a proactive health report on their AI/LLM features.

Как установить скилл monitor-ai-quality?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл monitor-ai-quality запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить monitor-ai-quality с