Logo vun Metrics

Metrics

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

Iwwersiicht

Editeurai-analyst-lab
Repositoryai-analyst-plugin
Skill-Nummmetrics
Stären
34
Forks
13
Matgeliwwert Fichieren
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    Vum ai-analyst-lab op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Metrics an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/ai-analyst-lab/ai-analyst-plugin/tree/main/ai-analyst-plus/skills/metrics
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Metrics an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Metrics automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Metrics net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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.

Heefeg gestallte Froen

Wat mécht de KI-Skill 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.

Firwat Metrics op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Metrics besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Metrics an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/ai-analyst-lab/ai-analyst-plugin/tree/main/ai-analyst-plus/skills/metrics an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Metrics benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Metrics benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Metrics domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Metrics gratis?

Jo. De Skill gëtt vum ai-analyst-lab ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇