Metrics System logo

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.

Overview

PublisherLuckyOneTwoThree
Repositoryvibe-skill
Skill namemetrics-system
Stars
34
Forks
8
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by LuckyOneTwoThree on GitHub. Read the source before you install it.

Installation

Install the Metrics System AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/LuckyOneTwoThree/vibe-skill/tree/main/.codex/skills/metrics-system
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Metrics System in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Metrics System on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Metrics System is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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"
    ]
  }
}

Frequently asked questions

What does the Metrics System AI skill do?

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.

Why use Metrics System on TypingMind?

Because you install it once and use it with any model. Metrics System is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Metrics System in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/LuckyOneTwoThree/vibe-skill/tree/main/.codex/skills/metrics-system. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Metrics System?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Metrics System?

As many as you like. As long as a model supports skills, you can use Metrics System with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Metrics System AI skill free?

Yes. It is published on GitHub by LuckyOneTwoThree under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇