Metrics Systemのロゴ

Metrics System

コミュニティ
LuckyOneTwoThree
metrics-system

プロダクト指標システムを構築するときに使用します。North Star指標の検証と推奨、L1/L2指標への分解、アクションにつながる指標の特定、虚栄指標の検出を含む指標システムを自動構築します。キーワード:指標システム、AARRRモデル、North Star指標、L1/L2指標、OSMモデル、指標フレームワーク、指標の定義、コアデータ。

概要

公開者LuckyOneTwoThree
リポジトリvibe-skill
スキル名metrics-system
スター
34
フォーク
8
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    LuckyOneTwoThreeがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Metrics System」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

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

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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を有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にMetrics Systemを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Metrics Systemは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じ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"
    ]
  }
}

よくある質問

AIスキル「Metrics System」では何ができますか?

プロダクト指標システムを構築するときに使用します。North Star指標の検証と推奨、L1/L2指標への分解、アクションにつながる指標の特定、虚栄指標の検出を含む指標システムを自動構築します。キーワード:指標システム、AARRRモデル、North Star指標、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を読み込み、チャットごとに有効にできるスキルとしてインストールします。

Metrics Systemを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Metrics Systemで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもMetrics Systemを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Metrics System」は無料ですか?

はい。LuckyOneTwoThreeがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇