Metrics System 标志

Metrics System

社区
LuckyOneTwoThree
metrics-system

需要构建产品指标体系时使用。自动搭建指标体系,包括验证并推荐北极星指标、拆解 L1/L2 指标、识别可执行指标和检测虚荣指标。关键词:指标体系、AARRR 模型、北极星指标、L1/L2 指标、OSM 模型、指标框架、定义指标、核心数据。

概览

发布者LuckyOneTwoThree
代码仓库vibe-skill
技能名称metrics-system
星标数
34
复刻数
8
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 LuckyOneTwoThree 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Metrics System AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/LuckyOneTwoThree/vibe-skill/tree/main/.codex/skills/metrics-system
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Metrics System,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Metrics System。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Metrics System 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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

常见问题

Metrics System AI 技能有什么作用?

需要构建产品指标体系时使用。自动搭建指标体系,包括验证并推荐北极星指标、拆解 L1/L2 指标、识别可执行指标和检测虚荣指标。关键词:指标体系、AARRR 模型、北极星指标、L1/L2 指标、OSM 模型、指标框架、定义指标、核心数据。

为什么在 TypingMind 中使用 Metrics System?

因为您只需安装一次,就能搭配任何模型使用。Metrics System 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Metrics System?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/LuckyOneTwoThree/vibe-skill/tree/main/.codex/skills/metrics-system。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Metrics System?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Metrics System 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Metrics System 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Metrics System AI 技能免费吗?

是的。LuckyOneTwoThree 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇