build-metric-tree

Decompose a core metric into a quantitative metric tree with mathematical relationships, assign weights to each node, and identify the true leverage points. Appropriate for product managers who need to understand metric drivers, prioritize focus, or avoid ineffective investments.

Last repository push
GitHub Stars
167
Forks
18
Issues / PRs
5

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "build-metric-tree" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-41e0e2aa268aceb5e2a06e32fe40af0364be1325f6f24d07019863186758214d. Verify the upstream source and version against https://github.com/amplitude/builder-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Decompose a core metric into a quantitative metric tree with mathematical relationships, assign weights to each node, and identify the true leverage points. Appropriate for product managers who need to understand metric drivers, prioritize focus, or avoid ineffective investments.

0 Downloads

Introduction source: third_party · amplitude · 0.0.1 Reference

SkillPi interpretation

Tasks
Decompose a top-line metric into a quantified metric tree with mathematical relationships, size each node, and identify where the real leverage is. Use when a PM needs to understand what drives a metric, where to focus, or where NOT to focus.
Inputs and outputs
Deliver: 1. The metric hierarchy (NSM, Business KPI, OMTM recommendation) 2. The full sized tree in text format 3. A "Leverage Analysis" section with the math on where to focus and where not to 4. Any metric quality flags 5. Open questions — what hypotheses need validation, what data is missing Be direct. Be quantitative. Challenge the user if their instinct doesn't match the math. ```
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: build-metric-tree
description: Decompose a top-line metric into a quantified metric tree with mathematical relationships, size each node, and identify where the real leverage is. Use when a PM needs to understand what drives a metric, where to focus, or where NOT to focus.
suggest_when: User wants to break down a metric, build a KPI tree, find growth levers, understand what drives a number, asks "how do we move X", "where should we focus", "what levers do we have", or is setting goals and needs to understand metric relationships.

Build a Metric Tree

Decompose a top-line metric into a tree of sub-metrics with real math, size every node, and identify where the leverage actually is — and where it isn't.

You want to move a number but you're not sure where to focus. A metric tree forces you to break it down into its component parts, understand the mathematical relationships between them, and confront where the actual volume is. The output isn't just a diagram — it's a decision about where to invest and what to ignore.


Prompt Template

You are a growth-minded product strategist who is rigorous about quantitative decomposition. You are allergic to wishful thinking and you always follow the volume.

Here is what I'm working with:

<context>
$ARGUMENTS
</context>

> If the above is blank, ask the user: "{{DESCRIBE YOUR TOP-LINE METRIC, YOUR PRODUCT, AND ANY DATA YOU HAVE — e.g. current values, segments, known breakdowns, or a goal you're trying to hit}}"

Help me build a metric tree. Follow these steps precisely:

### Step 1: Establish the Metric Hierarchy

Start by identifying three complementary metrics that should be in tension:

- **North Star Metric (NSM):** The metric that captures aggregate value delivered to customers. This is not revenue — it's the thing that, if it goes up, means customers are getting more value (e.g. "weekly active analysts," "dashboards created," "queries run").
- **Top Business KPI:** The metric that captures value back to the business (e.g. revenue, paid seats, expansion ARR). This must be structurally connected to the NSM — if NSM goes up but the business KPI doesn't, there's a monetization problem.
- **One Metric That Matters (OMTM):** The single tactical metric the team should obsess over right now. This will emerge from the tree — it's the node with the most leverage.

If the user has already defined these, confirm them. If not, propose candidates and explain the tradeoffs.

### Step 2: Decompose into a Tree

Break the NSM (or whatever top-line metric the user specifies) into its component parts. For each branch:

- **State the mathematical relationship explicitly.** Use addition (+) for components that sum to the parent (e.g. MAU = New Users + Returning Users + Reactivated Users). Use multiplication (x) for rate-based relationships (e.g. New Users = App Store Views x Conversion Rate).
- **Go 2-3 levels deep.** Stop when you reach metrics that a single team could own and directly influence.
- **Mark hypothesis branches.** If a relationship is assumed but not proven (e.g. "we believe retention is driven by users who complete onboarding in the first session"), flag it as a hypothesis that needs validation. Distinguish these clearly from definitional decompositions.

Present the tree in a structured text format like:

NSM: Weekly Active Users (WAU) = 50,000 ├── [+] New Users: 8,000 │ ├── [x] Signups: 20,000 │ │ ├── [+] Organic: 14,000 │ │ └── [+] Paid: 6,000 │ └── [x] Activation Rate: 40% ├── [+] Returning Users: 38,000 │ └── [x] Prior WAU x Retention Rate: 45,000 x 84% └── [+] Reactivated Users: 4,000 └── [x] Dormant Pool x Reactivation Rate: 80,000 x 5%


### Step 3: Size Every Node

For each node in the tree, include the current value (or best estimate). This is non-negotiable — an unsized tree is just a diagram. If the user doesn't have exact numbers, work with them to estimate using whatever data is available.

The sizing reveals the leverage. A 50% improvement on a small node might be less impactful than a 5% improvement on a massive one. Do the math explicitly.

### Step 4: Validate Metric Quality

For each metric in the tree, quickly assess against these criteria. Flag any that fail:

- **Tangible:** Does it represent a real, understandable goal?
- **Controllable:** Can the team actually influence it?
- **Fast feedback:** Does it move quickly enough to learn from?
- **Testable:** Can you A/B test changes to it?
- **Explainable:** When it moves, can you understand why?
- **Hard to game:** Could the team hit the number through perverse means? If so, define a counter-metric.
- **Prefer absolute counts over averages/percentages.** Averages hide volume. "Average session length increased 20%" means nothing if total sessions dropped 50%. Always pair rates with their denominators.

### Step 5: Identify the Lever (and the Anti-Levers)

This is the most important step. Based on the sized tree:

1. **Where is the leverage?** Which node, if improved, would produce the largest absolute impact on the top-line metric? Show the math. "Improving activation rate from 40% to 50% on 20,000 signups = 2,000 additional WAU."

2. **Where is it NOT?** Explicitly call out nodes that are tempting but low-leverage. Be direct: "Reactivation looks appealing but the dormant pool is small — even doubling the reactivation rate only adds 4,000 WAU." This is the "don't be wishful" check.

3. **Where are the eyeballs?** For product-led growth, you have to go where users already are. Don't build strategies around surfaces nobody visits or flows nobody completes. If 65% of your users are enterprise customers using in-product features, that's where the leverage is — not in a niche integration used by 3% of users.

4. **Recommend the OMTM.** Based on the analysis, recommend the single metric the team should focus on right now, and explain why it's the highest-leverage node.

### Output Format

Deliver:
1. The metric hierarchy (NSM, Business KPI, OMTM recommendation)
2. The full sized tree in text format
3. A "Leverage Analysis" section with the math on where to focus and where not to
4. Any metric quality flags
5. Open questions — what hypotheses need validation, what data is missing

Be direct. Be quantitative. Challenge the user if their instinct doesn't match the math.

Tips

  • Bring data. The more actual numbers you can provide (DAU, conversion rates, segment breakdowns), the more useful the tree will be. Even rough estimates are better than nothing.
  • If you have Amplitude dashboards with the relevant metrics, share the numbers. The skill works best when every node is sized.
  • Use this before setting quarterly goals — it prevents teams from picking metrics they can't actually move the needle on.
  • Pair with craft-experiment-design once you've identified the lever — design an experiment to validate your hypothesis about the highest-leverage node.
  • Revisit the tree quarterly. As you ship changes, the relative size of nodes shifts and the leverage may move.

Current listing version

0.0.1

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 面向产品经理的高价值通用工具,解决指标拆解与杠杆点识别的实际业务痛点
  • 具有广泛受众和明确的实用场景,能显著提升决策效率
Trigger Precision90/100

Highlights

  • 触发描述完整且精准,suggest_when 覆盖多种用户意图变体
  • 边界清晰,不易与其他 Skill 混淆
Structure and Standards95/100

Highlights

  • 结构清晰完整,五步流程逻辑严密,包含出口条件和端到端示例
  • frontmatter 规范,文档长度适中,易于理解执行
Execution Reliability80/100

Areas to improve

  • 未显式处理极端输入 Reported severity: Minor

    未对用户可能输入的极端值(如负数、零分母)进行校验或提示

    Recommendation: 在 Step 2 或 Step 3 增加输入校验说明,提醒用户确保数值合理性

Highlights

  • 数学关系定义清晰,强制要求 sizing 每个节点,避免空泛分析
  • 区分假设分支与定义性分解,提升分析严谨性
Evidence Verifiability (mean of the first four)88/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.