agentleFS
ramanbambaramanbamba/10x-pm/skills/metrics-tree/SKILL.md

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

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
  1. Distinctive:

    Ask what the product's core value moment is — the thing a user does when the product has worked for them.

    line 12
  2. Distinctive:

    Ask the business model. Ads, SaaS seats, usage-based, and marketplace products have structurally different trees.

    line 13
  3. Distinctive:

    Ask what's already instrumented.

    line 14

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  1. 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.
  2. Ask the business model. Ads, SaaS seats, usage-based, and marketplace products have structurally different trees.
  3. Ask what's already instrumented. A beautiful tree over missing events is fiction.

Workflow

  1. 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.
  2. 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).
  3. Assign input vs. output. Teams own input metrics (drivers); leadership watches output metrics. Mark which is which.
  4. 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).
  5. Write the instrumentation spec. For every leaf node: event name, trigger, properties, and current status (exists / needs adding). Use consistent object_action naming.

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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.