Logo di Metrics System

Metrics System

Community
LuckyOneTwoThree
metrics-system

Use when building a product metric system. Metric system auto-construction including North Star metric validation and recommendation, L1/L2 metric decomposition, actionable metric identification, vanity metric detection. Keywords: Metric system, AARRR model, North Star metric, L1/L2 metrics, OSM model, metrics framework, define metrics, core data.

Panoramica

Pubblicato daLuckyOneTwoThree
Repositoryvibe-skill
Nome della skillmetrics-system
Stelle
34
Fork
8
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 LuckyOneTwoThree su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Metrics System 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/LuckyOneTwoThree/vibe-skill/tree/main/.codex/skills/metrics-system
  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/LuckyOneTwoThree/vibe-skill.git /tmp/vibe-skill
mkdir -p .claude/skills
cp -r /tmp/vibe-skill/.codex/skills/metrics-system .claude/skills/metrics-system
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

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

Metric System Auto-Construction

Core Principles

  1. Comprehensive Analysis: Systematically analyze all available data without omitting key dimensions
  2. Real-time Awareness: Metric system design supports real-time monitoring and rapid response
  3. Automated Attribution: Anomalous fluctuations are automatically attributed to specific causes, reducing manual investigation
  4. Explicit Decision Rules: Every alert and escalation condition has clear quantitative rules

Interaction Mode

🤖→👤 AI suggests, human approves

This Pipeline is automatically executed by AI for metric system construction, but key decision points require human approval:

  • Must approve: North Star metric selection
  • Recommended approval: Vanity metric handling plan

Input

Input ItemTypeRequiredSourceDescription
product_contextJSONYesoutput/pm-strategy/planning-okr/okr.json + output/pm-strategy/business-model-canvas/bmc.json / User providedProduct type, North Star metric, OKR, business model
existing_metricsJSON array○User providedExisting metric list (including name, definition, calculation, data source, level)

product_context (required)

json
{
  "product_type": "string",
  "north_star_metric": "string",
  "okr": {
    "objective": "string",
    "key_results": ["string"]
  },
  "business_model": "string"
}

product_type enum values:

  • social - Social product
  • ecommerce - E-commerce product
  • saas - SaaS product
  • content - Content platform
  • gaming - Gaming product
  • fintech - Fintech
  • education - Online education
  • healthcare - Healthcare
  • other - Other

existing_metrics (optional)

json
[
  {
    "name": "string",
    "definition": "string",
    "calculation": "string",
    "data_source": "string",
    "layer": "north_star|l1|l2|actionable"
  }
]

Execution Steps

Step 1: North Star Metric Validation [Core]

🤖 AI Processing

Branch A: North Star Already Defined

When product_context.north_star_metric is already defined:

Validation Items:

  1. Definition Clarity Check

    • Has a clear calculation formula
    • Has a clear data source
    • Can be decomposed into sub-metrics
  2. Vanity Metric Detection

    IF meets any of the following conditions THEN flag as potential vanity metric
      - Only increases, never decreases (no time dimension)
      - No causal link (cannot guide action)
      - Not actionable (cannot be influenced by team)
  3. Product Type Match Score

    score = North Star metric recommendation score based on product type
    IF score < 0.6 THEN suggest reselecting North Star

Output:

json
{
  "north_star": {
    "name": "string",
    "definition": "string",
    "calculation": "string",
    "data_source": "string",
    "validation": {
      "is_valid": true,
      "is_vanity_free": true,
      "product_type_match": 0.85,
      "issues": []
    }
  }
}

Branch B: North Star Not Defined

When product_context.north_star_metric is not defined:

Auto-Recommendation Logic:

Based on product_context.product_type and business_model
Generate 3 North Star metric candidates

Product Type -> North Star Metric Mapping:

Product TypeRecommended North Star Metric Candidates
Social1. DAU x Average interactions2. Daily messaging users3. Social network density (active friend ratio)
E-commerce1. GMV2. Paid orders3. Active buyers x Average order value
SaaS1. Paid ARR2. Core feature weekly active users3. NRR (Net Revenue Retention)
Content1. Total user time2. Per capita content consumption x Consuming users3. Content engagement rate
Gaming1. DAU2. DAU x Average play time3. Paying user LTV
Fintech1. Active user loan/wealth conversion rate2. AUM (Assets Under Management)3. Risk approval rate x Loan amount
Online Education1. Course completion rate x Paying students2. Student completion rate x NPS3. Active learning users x Per capita study time
Healthcare1. Core service usage rate2. User health metric improvement rate3. User satisfaction x Repurchase rate

Output:

json
{
  "north_star_candidates": [
    {
      "rank": 1,
      "name": "string",
      "definition": "string",
      "calculation": "string",
      "data_source": "string",
      "pros": ["string"],
      "cons": ["string"],
      "recommendation_score": 0.85
    }
  ],
  "requires_human_decision": true
}

Step 2: L1 Metric Auto-Decomposition [Core]

🤖 AI Processing

Input: North Star metric definition

Decomposition Logic:

Based on the AARRR model, decompose the North Star metric into 5 L1 dimensions (3-5 may be selected depending on product type):

North Star Metric
  ↓ Decomposition
L1 Dimensions (by AARRR)
  ├── Acquisition
  ├── Activation
  ├── Retention
  ├── Revenue
  └── Referral

Decomposition Rules:

FOR each L1 dimension:
  1. Identify relevance to North Star
  2. Calculate weight (based on correlation strength)
  3. Define L1 metric
  4. Ensure L1 metric is independently measurable

North Star -> L1 Weight Mapping Example (E-commerce):

North Star MetricAcquisition WeightActivation WeightRetention WeightRevenue WeightReferral Weight
GMV0.150.150.250.350.10
Paid orders0.200.250.200.250.10
Active buyers x AOV0.200.150.300.250.10

Output:

json
{
  "l1_metrics": [
    {
      "layer": "Acquisition",
      "name": "User Acquisition",
      "weight": 0.20,
      "calculation": "string",
      "data_source": "string",
      "relationship_to_north_star": "Direct positive correlation",
      "l2_metrics_count": 3
    }
  ]
}

Step 3: L2 Metric Auto-Decomposition [Conditional]

🤖 AI Processing

Input: L1 metric list

Decomposition Logic:

FOR each L1 metric:
  Decompose 3-5 L2 metrics
  Ensure each L2 metric:
    1. Has a clear mathematical relationship with L1
    2. Is independently measurable
    3. Has a clear data source
    4. Can be owned by a specific team

L1 -> L2 Decomposition Example (E-commerce - Activation):

json
{
  "l1": "User Activation",
  "l2_metrics": [
    {
      "name": "New user first order conversion rate",
      "calculation": "First-order new users / Total new users",
      "data_source": "Order system",
      "is_actionable": true,
      "optimization_team": "Growth team"
    }
  ]
}

L2 Metric Categories:

TypeDescriptionExample
Conversion rateFunnel step conversionsClick rate, registration rate, payment rate
FrequencyUser usage frequencyPer capita usage count, per capita usage time
QualityUsage effectiveness/qualitySatisfaction score, feature usage depth
EfficiencyOperational efficiency metricsPage load time, response time
CoverageFeature/content coverageCategory coverage rate, feature usage rate

Output:

json
{
  "l1_metrics": [
    {
      "layer": "Activation",
      "name": "User Activation",
      "l2_metrics": [
        {
          "name": "string",
          "calculation": "string",
          "data_source": "string",
          "type": "conversion_rate|frequency|quality|efficiency|coverage",
          "is_actionable": true,
          "optimization_team": "string"
        }
      ]
    }
  ]
}

Step 4: Actionable Metric Auto-Identification [Conditional]

🤖 AI Processing

Identification Logic:

FOR each L2 metric:
  IF can be directly influenced by a specific team AND
     can be verified through A/B testing AND
     has a clear optimization path
  THEN flag as actionable metric

Actionable Metric Characteristics:

  1. Attributable: Can be traced to a specific cause
  2. Actionable: Can be acted upon by a specific team
  3. Verifiable: Can be verified through A/B testing
  4. Iterable: Can be continuously optimized in short cycles

Actionable Metric Mapping Example:

L2 MetricActionable MetricOptimization Direction
New user activation timeAverage registration flow timeSimplify registration steps
First order conversion rateOnboarding flow conversion rateOptimize onboarding copy
Core feature usage rateFeature entry click rateOptimize feature entry position
Search result click rateFirst search result click rateOptimize ranking algorithm

Output:

json
{
  "actionable_metrics": [
    {
      "name": "Average registration flow time",
      "linked_l2": "New user activation time",
      "linked_l1": "User Activation",
      "optimization_approach": "Verify effect of simplifying registration steps through A/B testing",
      "estimated_impact": "Each 1-second reduction can increase activation rate by 3%",
      "measurement_method": "A/B testing"
    }
  ]
}

Step 5: Vanity Metric Auto-Detection [Deep]

🤖 AI Processing

Detection Rules:

Rule 1: Only-Increases Detection
IF metric calculation meets any of the following conditions:
  - Cumulative value (no time dimension)
  - Irreversible metric
THEN flag as "only-increases" vanity metric

Problem Metric Examples:

  • ❌ Cumulative users -> ✅ Daily Active Users
  • ❌ Total registrations -> ✅ Daily new registrations
  • ❌ Total page views -> ✅ Per capita page views

Rule 2: No Time Constraint Detection
IF metric definition lacks a clear time dimension:
  - No defined statistical period
  - Cannot calculate change trends
THEN flag as "no time constraint" vanity metric

Problem Metric Examples:

  • ❌ Total users -> ✅ DAU / MAU
  • ❌ Total revenue -> ✅ Monthly MRR / Annual ARR

Rule 3: No Causal Link Detection
IF metric cannot meet any of the following conditions:
  - Can be linked to North Star metric
  - Can guide specific action
  - Can be attributed to specific cause
THEN flag as "no causal link" vanity metric

Problem Metric Examples:

  • Feature usage rate unrelated to core value
  • Multiple independent metrics that cannot form a logical chain

Rule 4: Not Actionable Detection
IF metric cannot meet any of the following conditions:
  - Can be influenced by a specific team
  - Can be changed through product/operations means
  - Can see effects within a reasonable timeframe
THEN flag as "not actionable" vanity metric

Problem Metric Examples:

  • ❌ Brand awareness -> ✅ Brand keyword search volume
  • ❌ User satisfaction -> ✅ NPS sub-metrics
  • ❌ Market share -> ✅ Vertical market penetration rate

Detection Result Output:

json
{
  "vanity_alerts": [
    {
      "metric_name": "Cumulative users",
      "alert_type": "Only increases",
      "severity": "high",
      "recommendation": "Replace with 'Daily Active Users' or 'Monthly Active Users'",
      "suggested_replacement": {
        "name": "DAU",
        "calculation": "Daily active users"
      }
    }
  ],
  "summary": {
    "total_detected": 2,
    "high_severity": 1,
    "medium_severity": 1,
    "all_resolved": false
  }
}

Output

Storage Path: output/pm-metrics-design/metrics-system/

Output File: metric_system.json

Output Schema:

json
{
  "type": "object",
  "required": ["metric_system"],
  "properties": {
    "metric_system": {"type": "object", "description": "Metric system, including North Star metric, L1/L2 metrics, actionable metrics, and vanity metric alerts"}
  }
}

metric_system

json
{
  "metric_system": {
    "north_star": {
      "name": "string",
      "definition": "string",
      "calculation": "string",
      "data_source": "string",
      "validation": { "is_vanity_free": true, "validation_date": "2026-05-08" }
    },
    "l1_metrics": [
      {
        "layer": "Acquisition|Activation|Retention|Revenue|Referral",
        "name": "string",
        "weight": 0.20,
        "calculation": "string",
        "data_source": "string",
        "l2_metrics": [
          { "name": "string", "calculation": "string", "data_source": "string", "type": "string", "is_actionable": true }
        ]
      }
    ],
    "actionable_metrics": [
      { "name": "string", "linked_l2": "string", "linked_l1": "string", "optimization_approach": "string" }
    ],
    "vanity_alerts": [
      { "metric_name": "string", "alert_type": "string", "severity": "high|medium|low", "recommendation": "string", "suggested_replacement": {} }
    ]
  }
}

Output Validation Rules

Field PathTypeRequiredDescription
metric_systemobjectYesMetric system root object
metric_system.north_starobjectYesNorth Star metric
metric_system.north_star.namestringYesNorth Star metric name
metric_system.north_star.definitionstringYesNorth Star metric definition
metric_system.north_star.calculationstringYesCalculation formula
metric_system.north_star.data_sourcestringYesData source
metric_system.north_star.validationobjectYesValidation result
metric_system.north_star.validation.is_vanity_freebooleanYesWhether free of vanity characteristics
metric_system.l1_metricsarrayYesL1 metric list, at least 3 dimensions
metric_system.l1_metrics[].layerstringYesAARRR dimension enum value
metric_system.l1_metrics[].namestringYesL1 metric name
metric_system.l1_metrics[].weightnumberYesWeight, sum of all L1 weights should be 1.0
metric_system.l1_metrics[].l2_metricsarrayYesL2 metric list, at least 3 per L1
metric_system.l1_metrics[].l2_metrics[].namestringYesL2 metric name
metric_system.l1_metrics[].l2_metrics[].calculationstringYesCalculation formula
metric_system.l1_metrics[].l2_metrics[].is_actionablebooleanYesWhether it is an actionable metric
metric_system.actionable_metricsarrayYesActionable metric list
metric_system.actionable_metrics[].namestringYesActionable metric name
metric_system.actionable_metrics[].linked_l2stringYesAssociated L2 metric
metric_system.actionable_metrics[].optimization_approachstringYesOptimization approach
metric_system.vanity_alertsarrayNoVanity metric alert list

Decision Rules

Rule 1: North Star Metric Ultimately Selected by Human

Trigger Condition:

  • north_star_metric not defined in product_context
  • AI generated 3 candidate North Star metrics

Execution Flow:

1. AI generates 3 North Star metric candidates (with scores)
2. Human product lead selects final North Star metric
3. Record selection rationale
4. Continue to subsequent steps

Human Decision Factors:

  • ✅ Whether it reflects core user value
  • ✅ Whether it can be directly influenced by the team
  • ✅ Whether it matches the business development stage
  • ✅ Whether data collection conditions exist
  • ✅ Whether it is easy for the entire company to understand

Rule 2: Vanity Metric Handling Plan Requires Advisory Approval

Trigger Condition:

  • High-severity vanity metrics exist
  • AI has recommended replacement metric plans

Execution Flow:

1. AI detects vanity metrics and generates handling recommendations
2. Flag vanity metrics requiring approval
3. Human confirms handling plan (or modifies)
4. Execute metric replacement or deletion

Quality Checks

Check ItemStandardNon-Compliance Handling
North Star vanity metric detection (P0)No "only-increases" characteristics, has time dimension, can be linked to business goals, can be influenced by teamFlag specific issues, re-recommend North Star metric, trigger human decision flow
L1-L2 decomposition completeness (P1)Each L1 layer (Acquisition/Activation/Retention/Revenue/Referral) has 3-5 L2 metricsAuto-supplement missing L2 metrics based on AARRR model, flag supplemented items for human confirmation
Actionable metric trackability (P1)Has clear data source, has executable optimization plan, can be verified through A/B testingFlag non-trackable metrics, suggest supplementing data instrumentation, lower metric priority
Vanity metric detection coverage (P2)All metrics have passed vanity metric detection, flagging results completeSupplement detection, flag undetected metrics

Degradation Strategy

Upstream File Missing Degradation Plan

Missing ScopeDegradation PlanOutput Impact
product_context missingPrompt user to provide product type and business goals, execute based on user inputNorth Star recommendation based on user description rather than structured input
existing_metrics missingSkip existing metric validation, build metric system from scratchNo existing metric comparison, cannot detect redundancy
product_context + existing_metrics both missingUser provides product type and business goals -> recommend metric system based on industry templatesOutput metric system based on industry templates, annotated as "to be confirmed"

Data Acquisition Instructions

When upstream files are missing, the user needs to provide the following information to support degraded generation:

  • Product type: Social/E-commerce/SaaS/Content/Gaming/Fintech/Online Education/Healthcare/Other
  • Business goals: Core business objectives at the current stage (e.g., increase GMV, improve retention rate, etc.)
  • Business model: Product business model description (optional, helps with more precise recommendations)

Upstream Change Response

When upstream inputs change, this Skill's response strategy:

Upstream ChangeImpact ScopeResponse Strategy
OKR adjustmentNorth Star metric, L1 metricsFlag affected metric levels, suggest human confirmation on whether to update metric system
Business model changeRevenue metric definitionsFlag affected metrics, suggest human confirmation on whether to update
PRD feature changeActionable metricsFlag affected actionable metrics, suggest human confirmation on whether to update

When the metric system itself changes, notification mechanism to downstream:

Metric Change TypeNotification ScopeNotification Method
North Star metric changetracking-plan, metrics-dashboard, monitoring-pipelineFlag core metric change, trigger full-chain update
L1/L2 metric addition/removaltracking-plan, metrics-dashboardFlag metric addition/removal, trigger tracking and dashboard update
Actionable metric changetracking-planFlag actionable metric change, trigger tracking update
Metric definition modificationtracking-plan, metrics-dashboard, monitoring-pipelineFlag definition change, trigger related Skill re-evaluation

Escalation Path

Escalation Trigger Conditions

When any of the following conditions are met, escalate to manual handling:

  1. North Star metric candidate recommendation failure

    • Cannot recommend North Star metric based on product type
    • Recommendation score confidence below 0.5
  2. Vanity metric handling cannot be automated

    • High-severity vanity metric count > 3
    • Replacement metric plans have conflicts
  3. L2 decomposition logic anomaly

    • L2 metric count outside reasonable range (<3 or >10)
    • Cannot establish logical relationship between L2 and L1

Escalation Output

json
{
  "escalation": {
    "trigger": "string",
    "reason": "string",
    "current_status": {},
    "ai_recommendation": {},
    "requires_human_action": true,
    "human_decision_needed": [
      "North Star metric selection",
      "Vanity metric handling plan"
    ]
  }
}

Domande frequenti

Cosa fa la skill IA Metrics System?

Use when building a product metric system. Metric system auto-construction including North Star metric validation and recommendation, L1/L2 metric decomposition, actionable metric identification, vanity metric detection. Keywords: Metric system, AARRR model, North Star metric, L1/L2 metrics, OSM model, metrics framework, define metrics, core data.

Perché usare Metrics System su TypingMind?

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

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

Quali modelli IA possono usare Metrics System?

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

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

La skill IA Metrics System è gratuita?

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