Logo di Metrics

Metrics

Organizzazione
ai-analyst-lab
metrics

Browse, search, and display metric definitions from the active dataset's metric dictionary. Trigger on "/metrics", "show me the metrics", "what metrics do we track?", "how is [metric name] calculated?", "what's the definition of [metric]?", "list all metrics", "define conversion rate", "how do we measure retention?", "show me all KPIs". Also use mid-analysis to confirm a metric's exact definition before computing it.

Panoramica

Pubblicato daai-analyst-lab
Repositoryai-analyst-plugin
Nome della skillmetrics
Stelle
34
Fork
13
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 ai-analyst-lab su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Metrics 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/ai-analyst-lab/ai-analyst-plugin/tree/main/ai-analyst-plus/skills/metrics
  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/ai-analyst-lab/ai-analyst-plugin.git /tmp/ai-analyst-plugin
mkdir -p .claude/skills
cp -r /tmp/ai-analyst-plugin/ai-analyst-plus/skills/metrics .claude/skills/metrics
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Metrics 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 Metrics 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 Metrics 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à.

Skill: Metrics

Purpose

Browse, search, and display metric definitions from the active dataset's metric dictionary. Provides quick access to how metrics are defined, computed, and validated.

When to Use

  • User says /metrics or "show me the metrics" or "what metrics do we track?"
  • During analysis, to confirm a metric's definition before computing it
  • When writing a metric spec, to check for existing definitions

Deference rule: metric-shaped meaning questions ("what does ARR mean here?", "how is churn defined?") come here first; if the metric is not in the dictionary and the term looks organizational (a product, team, or general glossary term), hand off to the business skill before suggesting metric-spec.

Invocation

/metrics — list all metrics for the active dataset /metrics {id} — show full spec for a specific metric /metrics category={cat} — filter by category (e.g., monetization) /metrics search={term} — search metric names and descriptions

Instructions

Step 1: Load Metric Dictionary

  1. Read .knowledge/active.yaml to identify the active dataset.
  2. Read .knowledge/datasets/{active}/metrics/index.yaml for the metric list.
  3. If no metrics directory exists: "No metric dictionary for this dataset. Use the metric-spec skill to define metrics."

Step 2: Execute Command

List all (/metrics):

  • Display as a table: id, name, category, direction, validation_status
  • Group by category
  • Show total count
  • If dictionary is empty AND user mentions specific analysis context (e.g., "revenue analysis", "conversion analysis"):
    • Read .knowledge/datasets/{active}/schema.md to explore available tables/columns
    • Suggest 3-5 relevant metrics the user could define for their analysis context
    • Include suggested SQL formulas for each
    • Reference the metric-spec skill for formalization

Show specific (/metrics {id}):

  • Read .knowledge/datasets/{active}/metrics/{id}.yaml
  • Display: name, category, owner, full definition (formula, unit, direction, granularity), source tables, dimensions, guardrails, typical range, validation status
  • If metric not found:
    • Suggest closest match from index (fuzzy string match on name)
    • Fallback search strategy: Search working/, outputs/, and .knowledge/analyses/ for recent usage of the metric name
    • If found in recent work, extract the formula/definition used and offer to formalize it
    • If not found anywhere, suggest defining it via metric-spec skill

Filter by category (/metrics category=monetization):

  • Filter index by category field
  • Display filtered table
  • If no matches: list available categories and suggest closest match

Search (/metrics search=revenue):

  • Search metric names and descriptions (case-insensitive substring)
  • Display matching metrics
  • If no matches found:
    • Don't just say "not found" — be proactive
    • Read .knowledge/datasets/{active}/schema.md to explore tables/columns
    • Identify columns related to the search term (e.g., "revenue" → find total_amount, revenue, sales columns)
    • Suggest 3-5 metrics the user could define based on available data
    • Include table.column references and suggested formulas
    • Offer to define the metric via metric-spec skill

Step 3: Contextual Suggestions

After displaying metrics, suggest relevant actions:

  • "Want to validate {metric} against the current data? Use the data-profiling skill."
  • "Need to define a new metric? Use the metric-spec skill."
  • "Want to see how {metric} trends over time? Ask me to analyze it."

Edge Cases

  • No active dataset: Prompt to connect one via /connect-data
  • Empty metric dictionary: Suggest using metric-spec skill. If user mentioned specific analysis context (revenue, conversion, engagement), proactively suggest relevant metrics to define.
  • Metric referenced but not in dictionary: Search recent work for usage, extract definition if found, offer to formalize it.
  • Stale validation: Flag metrics where last_validated is >30 days ago
  • Search returns no results: Explore schema and suggest metrics related to the search term rather than just reporting "not found"

Why These Guidelines Matter

The goal is to make the metrics skill helpful in all scenarios — even when the dictionary is empty or search fails. Users often ask about metrics before they're formally defined. Instead of dead-ending with "not found," we want to:

  1. Understand user context — If they mention "revenue analysis" or search for "revenue", they're signaling what domain they care about
  2. Explore available data — Read the schema to see what's actually available
  3. Suggest concrete next steps — Provide specific metric candidates with formulas, not just generic advice
  4. Lower friction for formalization — Make it easy to go from "I need this metric" to "this metric is now defined"

This approach turns the metrics skill from a simple dictionary lookup into an intelligent assistant that helps users build their metric dictionary organically.

Domande frequenti

Cosa fa la skill IA Metrics?

Browse, search, and display metric definitions from the active dataset's metric dictionary. Trigger on "/metrics", "show me the metrics", "what metrics do we track?", "how is [metric name] calculated?", "what's the definition of [metric]?", "list all metrics", "define conversion rate", "how do we measure retention?", "show me all KPIs". Also use mid-analysis to confirm a metric's exact definition before computing it.

Perché usare Metrics su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Metrics è 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 Metrics in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/ai-analyst-lab/ai-analyst-plugin/tree/main/ai-analyst-plus/skills/metrics. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Metrics?

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 Metrics?

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

La skill IA Metrics è gratuita?

Sì. È pubblicata su GitHub da ai-analyst-lab 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 👇