Agent skill

Metric Tree Builder

by mohitagw15856 in mohitagw15856/pm-claude-skills

Decompose a north-star metric into a driver tree — the inputs and sub-inputs that actually move it — so a team knows which levers to pull.

MITAuto-check passedProduct & Project Management

Install Metric Tree Builder

skills CLI
$ npx skills add mohitagw15856/pm-claude-skills --skill metric-tree-builder -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mohitagw15856/pm-claude-skills metric-tree-builder --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mohitagw15856/pm-claude-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/metric-tree-builder .claude/skills/metric-tree-builder && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
metric-tree-builder
GitHub stars
1.4k
Token cost
~881 tokens
SKILL.md length
422 words
Files
1
Skills in repo
1,348
Repo updated
First seen
Licence
MIT

At a glance

Decompose a north-star metric into a driver tree — the inputs and sub-inputs that actually move it — so a team knows which levers to pull.

  • Works in 5 steps: The decomposition → Relationships → Highest-leverage levers → …
  • Asked to build a metric tree
  • SKILL.md covers Working from a brief, Required Inputs, Output Format and Quality Checks, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Metric Tree Builder is an agent skill from mohitagw15856/pm-claude-skills. Decompose a north-star metric into a driver tree — the inputs and sub-inputs that actually move it — so a team knows which levers to pull. Use when asked to build a metric tree, break down a north-star metric, map metric drivers, or find the inputs behind an output metric. Produces a hierarchical tree from the top metric down to actionable input metrics, with the relationships, the highest-leverage levers, and what to instrument.

Its SKILL.md is about 880 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Product & Project Management, covering Product metrics. The repository describes itself as: 1255 professional Agent Skills for Claude, ChatGPT, Gemini, Cursor & Codex — PRDs, postmortems, leases, medical bills, layoffs, go-bags, new countries. Plain markdown, MIT, in… The licence is MIT.

When your agent uses it

  • Asked to build a metric tree
  • Break down a north-star metric
  • Map metric drivers
  • Find the inputs behind an output metric

Example prompts

  • “/metric-tree-builder”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. The decomposition
  2. Relationships
  3. Highest-leverage levers
  4. Instrumentation gaps
  5. The tree, drawn

What it can do on your machine

Read from SKILL.md and the folder at commit 1cbf1f0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are mermaid).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Metric Tree Builder loads about 881 tokens when it runs. Until then it costs about 113 tokens; SKILL.md has 422 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~113
When it runs · the whole SKILL.md, loaded when a task matches
~881

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from mohitagw15856/pm-claude-skills at commit 1cbf1f0, republished under its MIT licence (© mohitagw15856). 422 words, ~881 tokens.

Download SKILL.mdSave it as .claude/skills/metric-tree-builder/SKILL.md (or your agent's skills folder).
name
metric-tree-builder
description
Decompose a north-star metric into a driver tree — the inputs and sub-inputs that actually move it — so a team knows which levers to pull. Use when asked to build a metric tree, break down a north-star metric, map metric drivers, or find the inputs behind an output metric. Produces a hierarchical tree from the top metric down to actionable input metrics, with the relationships, the highest-leverage levers, and what to instrument.

Metric Tree Builder Skill

A north-star metric you can't decompose is a number you can't move. This skill breaks it into the multiplicative/additive drivers beneath it, down to metrics a team can actually act on — and points at the highest-leverage levers.

Working from a brief

Given a top metric and a rough business model, build the full tree anyway, inferring the standard driver structure for that model and marking assumptions. Never stop at one level; push down to input metrics someone owns.

Required Inputs

Ask for (if not already provided):

  • The north-star / top metric (e.g. weekly active revenue, MRR, GMV, activated users)
  • Business model (subscription, marketplace, ads, transactional, freemium)
  • Where the team can act (which teams own which surfaces)
  • Current pain (the metric is flat / dropping — optional, focuses the tree)

Output Format

1. The decomposition

Express the top metric as an equation of its drivers, e.g.: Revenue = New customers × Avg first order + Retained customers × Repeat rate × AOV Then break each driver down a level or two, until you reach input metrics a team can directly influence (e.g. signup conversion, activation rate, email open→click, time-to-value).

Show it as an indented tree or a table:

LevelMetricDriven byOwner / lever
0North star—
1Driversub-inputs
2Input metricactionsteam
2. Relationships

Note where drivers are multiplicative (a small % gain compounds) vs additive, and any that trade off against each other.

3. Highest-leverage levers

The 2–3 input metrics where a realistic improvement moves the north star most — and why (sensitivity × how movable it is).

Show full SKILL.md (168 more words)Show less
4. Instrumentation gaps

Which input metrics aren't being measured yet but should be, to make the tree usable.

5. The tree, drawn

Also render the decomposition as a Mermaid flowchart so the structure is visible at a glance (it renders live in the playground and exports as PNG/SVG). North star at the top, drivers below, input metrics as leaves; keep labels short.

mermaid
flowchart TD
    NS[North star] --> D1[Driver A]
    NS --> D2[Driver B]
    D1 --> I1[Input metric]
    D1 --> I2[Input metric]
    D2 --> I3[Input metric]

Quality Checks

  • The top metric is expressed as an actual equation of its drivers
  • The tree bottoms out in input metrics a team can act on, not more outputs
  • Multiplicative vs additive relationships are noted
  • Identifies the highest-leverage levers with reasoning
  • Flags metrics that need to be instrumented

Anti-Patterns

  • A "tree" that's just a flat list of unrelated KPIs
  • Stopping at output metrics no one can directly move
  • Ignoring how drivers combine (treating everything as additive)
  • No view on which lever actually matters most

Example Trigger Phrases

  • "Build a metric tree."
  • "Break down a north-star metric."
  • "Map metric drivers."
  • "Find the inputs behind an output metric."

© mohitagw15856, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/metric-tree-builder of mohitagw15856/pm-claude-skills.

Open the folder on GitHubat commit 1cbf1f0

Compare with similar skills

Metric Tree Builder next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Metric Tree Builder compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Metric Tree Builder this skillmohitagw15856/pm-claude-skills1.4k—~881Automated safety check: PassMIT
Swarmaglitch-rabin/swarma173—~4.4kAutomated safety check: NotesMIT
Prdjuanandresgs/claude-ctrl193—~2.9kAutomated safety check: PassNone
AI Product Strategy InterviewerPrepLabsAI/InterviewMentor112—~4.5kAutomated safety check: PassMIT
Investigate MetricPostHog/posthog40k—~1.9kAutomated safety check: PassCustom licence
Weekly Creative Reportreal-simple-labs/parker-brain102—~4.7kAutomated safety check: PassCustom licence

Similar skills

  • Swarma

    glitch-rabin/swarma

    Agent teams that run growth experiments and build their own playbook.

    173 GitHub stars~4.4k tokensUpdated 6 mo ago
    Product & Project ManagementAuto-check: notes
  • Prd

    juanandresgs/claude-ctrl

    Write structured feature specifications with problem statements, user journeys, use cases, functional requirements, and success metrics.

    193 GitHub stars~2.9k tokensUpdated 2 mo ago
    Product & Project ManagementAuto-check passed
  • AI Product Strategy Interviewer

    PrepLabsAI/InterviewMentor

    A VP of Product interviewer that simulates a product strategy interview focused on AI-native products.

    112 GitHub stars~4.5k tokensUpdated 4 days ago
    Product & Project ManagementAuto-check passed
  • Investigate Metric

    PostHog/posthog

    Official

    Diagnose why a product metric changed (dropped, spiked, or plateaued) by orchestrating breakdowns, actors, paths, lifecycle, retention, and annotations queries.

    40k GitHub stars~1.9k tokensUpdated today
    Product & Project ManagementAuto-check passed
  • Weekly Creative Report

    real-simple-labs/parker-brain

    Build the brand's weekly creative report, a polished, shareable page an agency can send straight to the brand's CMO and team.

    102 GitHub stars~4.7k tokensUpdated yesterday
    Product & Project ManagementAuto-check passed
  • North Star

    andreaskelm/pm-brain

    Define, sharpen, or audit a North Star metric and its input metrics tree, and decide which product metrics actually matter (leading vs.

    234 GitHub stars~2.5k tokensUpdated yesterday
    Product & Project ManagementAuto-check passed

More from mohitagw15856/pm-claude-skills

All 1,348 skills in this repo
  • Car Tco

    mohitagw15856/pm-claude-skills

    Compare the total cost of car ownership across buy-new, buy-used, lease, and keep-your-current-car — depreciation, insurance, maintenance ramp, and fuel over a real horizon, not just the monthly…

    1.4k GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Cs Health Scorecard

    mohitagw15856/pm-claude-skills

    Build a customer health scorecard for a specific account. An agent skill from mohitagw15856/pm-claude-skills.

    1.4k GitHub stars~2.4k tokensUpdated yesterday
    Auto-check passed
  • Exit Waterfall

    mohitagw15856/pm-claude-skills

    Compute who gets what at each exit price from a cap table — liquidation preferences, conversion points, and where the founders' share collapses.

    1.4k GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Feature Prioritisation

    mohitagw15856/pm-claude-skills

    Apply prioritisation frameworks (RICE, MoSCoW, Kano, ICE, Opportunity Scoring) to rank features and backlog items.

    1.4k GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Fire Number

    mohitagw15856/pm-claude-skills

    Compute a financial-independence (FIRE) target and years-to-reach with every assumption labeled as an assumption — plus a sensitivity table instead of a single false-precision answer.

    1.4k GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Freelance Rate

    mohitagw15856/pm-claude-skills

    Derive a freelance day/hourly rate backwards from target income, honest billable utilization, overhead, and the self-employment tax premium — the arithmetic that proves a rate is not salary÷2000.

    1.4k GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed

Questions about Metric Tree Builder

What does Metric Tree Builder do?

Decompose a north-star metric into a driver tree — the inputs and sub-inputs that actually move it — so a team knows which levers to pull. Metric Tree Builder is an agent skill from mohitagw15856/pm-claude-skills. Decompose a north-star metric into a driver tree — the inputs and sub-inputs that actually move it — so a team knows which levers to pull.

When should I use Metric Tree Builder?

Metric Tree Builder fits situations like: asked to build a metric tree; break down a north-star metric; map metric drivers; find the inputs behind an output metric.

How do I install Metric Tree Builder in Claude Code?

Run `npx skills add mohitagw15856/pm-claude-skills --skill metric-tree-builder -a claude-code`. Or copy the skill folder (skills/metric-tree-builder in mohitagw15856/pm-claude-skills) into .claude/skills/metric-tree-builder in your project. Claude Code loads it when a task matches its description.

How do I install Metric Tree Builder in Codex?

Run `npx skills add mohitagw15856/pm-claude-skills --skill metric-tree-builder -a codex`. Or copy the skill folder (skills/metric-tree-builder in mohitagw15856/pm-claude-skills) into .agents/skills/metric-tree-builder in your project. Codex loads it when a task matches its description.

Can I use Metric Tree Builder in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mohitagw15856/pm-claude-skills --skill metric-tree-builder -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/metric-tree-builder, .gemini/skills/metric-tree-builder, .github/skills/metric-tree-builder and .opencode/skills/metric-tree-builder in your project.

What does Metric Tree Builder need to run?

SKILL.md names no scripts, command-line tools or credentials: Metric Tree Builder is instructions for the agent only.

Does Metric Tree Builder access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Metric Tree Builder safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Metric Tree Builder use?

Metric Tree Builder is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Metric Tree Builder use?

About 881 tokens (SKILL.md is roughly 3.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Metric Tree Builder?

Skills that share tags, products or a category with Metric Tree Builder: Swarma (glitch-rabin/swarma, 173 stars), Prd (juanandresgs/claude-ctrl, 193 stars), AI Product Strategy Interviewer (PrepLabsAI/InterviewMentor, 112 stars) and Investigate Metric (PostHog/posthog, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Metric Tree Builder?

mohitagw15856 (a GitHub user) maintains it in mohitagw15856/pm-claude-skills, which has 1,434 GitHub stars. The repository holds 1,348 skills in this directory. The repository was last updated on October 9, 2026.

Source: mohitagw15856/pm-claude-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.