Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

build-metric-tree

Skill by amplitude

Decomposes a top-line metric into a sized metric tree with explicit math, then shows where the real leverage is and where it is not. Built for product managers deciding where to focus.

  • Score 48
  • 166 stars
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install build-metric-tree

Built from the published package, never by AI.

git clone --depth 1 https://github.com/amplitude/builder-skills /tmp/builder-skills && mkdir -p ~/.claude/skills && cp -r /tmp/builder-skills/growth-skills/skills/build-metric-tree ~/.claude/skills/build-metric-tree

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install build-metric-tree in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The build-metric-tree skill breaks a top-line metric into a tree of sub-metrics with explicit math, using addition for components that sum to a parent and multiplication for rates. It asks for a North Star Metric, a business KPI and a single One Metric That Matters, then goes two to three levels deep and marks unproven relationships as hypotheses.

Each node is sized with current values, checked against quality criteria such as controllability and testability, and then analyzed for leverage. The output includes a Leverage Analysis on where to focus and where not to, plus open questions about missing data. The skill is written for product managers who need to decide what drives a metric, where to focus, or where not to focus.

Written from the project's SKILL.md and checked against it.

What it can do

  • Metric hierarchyIdentifies or confirms a North Star Metric, a business KPI and a One Metric That Matters.
  • Tree decompositionBreaks the top-line metric into sub-metrics with addition or multiplication relationships.
  • Node sizingAssigns a current value or best estimate to every node in the tree.
  • Metric quality checkAssesses each metric for tangibility, controllability, speed of feedback, testability and gaming risk.
  • Leverage analysisShows the math on where improvement has the largest impact and which nodes are low-leverage.
  • OMTM recommendationRecommends the single metric the team should focus on right now, with reasons.

Try asking

  • Break down our weekly active users into a sized metric tree
  • Where is the real leverage on our activation rate?
  • Which metrics in this tree are hard to game or test?

Good to know

  • If exact numbers are missing, the skill works with the user to estimate them.
  • The tree is most useful when nodes are sized with real data, such as dashboard numbers.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: growth-skills/skills/build-metric-tree/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to build-metric-tree

All alternatives →
kaggle-cliKaggle
94

Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.

AAA Skill 7.7k
bigquery-bigframesgoogle
94

Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.

AAA Skill 25k
data-loadingmicrosoft
94

Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.

AAA Skill 18k
data-manager-api-setupgoogle
94

Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.

AAA Skill 25k
managed-airflow-dag-authoringgoogle
94

Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.

AAA Skill 25k
data-feedsdavila7
94

Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.

AAA Skill 34k

Compare with kaggle-cli, bigquery-bigframes or data-loading

build-metric-tree: common questions

What does the build-metric-tree skill output?

It outputs the metric hierarchy, a sized tree in text format, a Leverage Analysis, metric quality flags and open questions. Each node includes a value or estimate.

Who is build-metric-tree for?

It is written for product managers who need to understand what drives a metric, where to focus, or where not to focus.

How does the skill show which metric matters most?

It compares nodes by absolute impact on the top-line metric, shows the math, and recommends the highest-leverage node as the OMTM.

How do I install build-metric-tree?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is build-metric-tree free?

The code is public, but no licence file was found, so check the repository before commercial use.

Is build-metric-tree safe to use?

It scores 48 of 100. Grades: maintenance C, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to build-metric-tree?

Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.

build-metric-tree Install

Add to stack

Loading.