metrics-tree
Skill1 starsChanged 5 months agoMITView on GitHub
Define a north-star metric, decompose it into a driver tree, and produce an instrumentation spec engineers can implement. Use when the user says "define metrics for", "what should our north star be", "build a metrics tree", "KPI framework", or "what should we measure".
1 other project uses a version of this.
Adopted by
Most recently taken up by
- RizwanZafaris/product-manager-OStheir own version, first seen Sep 3, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- RizwanZafaris/product-manager-OS★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository13 other files it gives its agents.
- templates/CLAUDE.mdCLAUDE.md
- competitive-teardownSkill
- exec-updateSkill
- experiment-designSkill
- feedback-triageSkill
- launch-planSkill
- prdSkill
- prioritizeSkill
- release-notesSkill
- roadmapSkill
- stakeholder-commsSkill
- story-splitterSkill
- user-interviewsSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Ask what the product's core value moment is — the thing a user does when the product has worked for them.
- Distinctive: line 13
Ask the business model. Ads, SaaS seats, usage-based, and marketplace products have structurally different trees.
- Distinctive: line 14
Ask what's already instrumented.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Metrics Tree
Define metrics that measure value delivered, decompose them into drivers a team can move, and specify the events needed to compute them — so the metric exists in a dashboard, not just a slide.
Before defining
- Ask what the product's core value moment is — the thing a user does when the product has worked for them. The north star should count that, not activity around it.
- Ask the business model. Ads, SaaS seats, usage-based, and marketplace products have structurally different trees.
- Ask what's already instrumented. A beautiful tree over missing events is fiction.
Workflow
- Propose the north star with 2 alternatives considered and rejected (show the reasoning — the rejections teach the team what the metric protects against). Test each candidate: Would this number go up if we made the product worse in a profitable way? If yes, it's gameable — fix or guard it.
- Decompose into a driver tree, 2–3 levels deep. Each node must be: movable by a team, measurable from real events, and arithmetically connected to its parent (state the relationship: sum, product, funnel rate).
- Assign input vs. output. Teams own input metrics (drivers); leadership watches output metrics. Mark which is which.
- Add guardrails. For each driver, name the metric that catches the ugly way to move it (e.g., driver: sessions/user; guardrail: task completion rate).
- Write the instrumentation spec. For every leaf node: event name, trigger, properties, and current status (exists / needs adding). Use consistent
object_actionnaming.
Output format
# Metrics — [product], [date]
## North star
**[Metric]** — [exact definition, including counting rules and time window]
*Why:* [ties to value moment]
*Rejected:* [alt 1 — why not] · [alt 2 — why not]
*Gaming check:* [how it could be gamed, and the guardrail]
## Driver tree
[Indented tree, each node with: metric, relationship to parent, input/output tag, owning team]
North star
├── Driver A (product: A = B × C) [output]
│ ├── Driver B [input — Team X]
│ └── Driver C [input — Team Y]
└── ...
## Guardrails
| Driver | Ugly way to move it | Guardrail metric |
|---|---|---|
## Instrumentation spec
| Metric | Event name | Fired when | Properties | Status |
|---|---|---|---|---|
## Baseline & review
[Current values where known; proposed review cadence; owner of the metrics doc]Quality bar — self-check
- North star counts value, not activity. Sign-ups, sessions, and page views fail unless the product's value literally is attention.
- Every definition is exact. "Active user" without the action + window that defines "active" fails.
- The tree's arithmetic works. Parent = stated function of children; no orphan vanity metrics.
- Every driver has a guardrail.
- The instrumentation spec is implementable as written — an engineer should not need a follow-up meeting to name the events.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

