Logo di Monitor Ai Quality

Monitor Ai Quality

Organizzazione
amplitude
monitor-ai-quality

Monitora lo stato degli agenti IA in termini di qualità, costi, prestazioni ed errori. Usalo solo se nel progetto dell’utente è stata strumentata Amplitude Agent Analytics. Usalo quando l’utente chiede «come stanno andando i nostri agenti IA?», «controllo della qualità dell’IA», «stato degli agenti», «errori IA», «prestazioni degli agenti», «costi LLM» o vuole un report proattivo sullo stato delle funzionalità IA/LLM.

Add to TypingMind

Panoramica

Pubblicato daamplitude
Repositorymcp-marketplace
Nome della skillmonitor-ai-quality
Stelle
47
Fork
12
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da amplitude su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Monitor Ai Quality in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/amplitude/mcp-marketplace/tree/main/plugins/amplitude/skills/monitor-ai-quality
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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/monitor-ai-quality .claude/skills/monitor-ai-quality
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Monitor Ai Quality in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Monitor Ai Quality non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Monitor Ai Quality non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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] — What's happening, which agent(s), how many sessions affected, since when, and what to do. Include example session IDs for drill-down. Link to /investigate-ai-session for deeper analysis.
  3. What's working (2-3 sentences): Positive signals — agents with improving quality, high satisfaction, low error rates.

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

  5. 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:

MetricGoodWarningCritical
Quality Score>0.70.4-0.7<0.4
Success Rate>80%60-80%<60%
Sentiment>0.60.5-0.6<0.5
Task Failure Rate<10%10-25%>25%
P90 Latency<10s10-30s>30s

Writing standards:

  • Lead with the insight, not the data point
  • Use approximate numbers ("~85%" not "84.7%")
  • Always state the time window
  • Every finding must have an action
  • Keep the full report under 600 words

Examples

Example 1: Routine Health Check

User says: "How are our AI agents doing?"

Actions:

  1. Get context and AI schema
  2. Query analytics overview + time series + recent failures + frustrated users (4 parallel calls)
  3. Identify the agent with the worst quality score and the top error category
  4. Drill into the worst agent's failed sessions for root cause
  5. Present the health report with agent leaderboard and top 3 issues

Example 2: Targeted Agent Check

User says: "How's the Chart Agent performing this week?"

Actions:

  1. Get context, then query analytics with agentNames: ["Chart Agent"]
  2. Query time series for that agent specifically
  3. Pull recent failures and low-quality sessions for that agent
  4. Present a focused report on that single agent's health

Example 3: Cost Investigation

User says: "Our AI costs seem high — what's going on?"

Actions:

  1. Get context, then use get_amplitude_agent_analytics_info with view: "sessions" and aggregate the returned cost data locally by agent and day
  2. Identify which agents and models drive the most cost
  3. Query spans grouped by model to see token usage patterns
  4. Pull the most expensive sessions for examples
  5. Present cost-focused report with per-agent and per-model breakdowns

Troubleshooting

No AI session data

The project may not have AI analytics instrumented. Report this clearly and suggest the user check their AI agent SDK integration.

Very few sessions

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.

All metrics look healthy

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.

Domande frequenti

Cosa fa la skill IA Monitor Ai Quality?

Monitora lo stato degli agenti IA in termini di qualità, costi, prestazioni ed errori. Usalo solo se nel progetto dell’utente è stata strumentata Amplitude Agent Analytics. Usalo quando l’utente chiede «come stanno andando i nostri agenti IA?», «controllo della qualità dell’IA», «stato degli agenti», «errori IA», «prestazioni degli agenti», «costi LLM» o vuole un report proattivo sullo stato delle funzionalità IA/LLM.

Perché usare Monitor Ai Quality su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Monitor Ai Quality è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Monitor Ai Quality in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/amplitude/mcp-marketplace/tree/main/plugins/amplitude/skills/monitor-ai-quality. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Monitor Ai Quality?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Monitor Ai Quality?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Monitor Ai Quality: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Monitor Ai Quality è gratuita?

Sì. È pubblicata su GitHub da amplitude con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇