Communitygithub.com

amplitude/builder-skills

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.

O que é builder-skills?

builder-skills is a Claude Code agent skill that 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.

Funciona com~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/amplitude/builder-skills/tree/HEAD/growth-skills/skills/build-metric-tree

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

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.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

amplitude/builder-skills

Performs deep analysis of a specific Amplitude chart to explain trends, anomalies, and likely drivers. Use when a metric looks unusual, investigating a spike or drop, or understanding the "why" behind numbers.

amplitude/builder-skills

Deeply analyze Amplitude dashboards by analyzing key charts, surfacing top areas for concern and takeaways, identify anomalies, then explain changes using customer feedback trends.

amplitude/builder-skills

Designs A/B tests with proper metrics and variants, analyzes running or completed experiments, and interprets results with statistical rigor. Use when setting up experiments, checking experiment status, analyzing results, or making ship decisions.

amplitude/builder-skills

Synthesizes customer feedback into actionable themes including feature requests, bugs, pain points, and praise. Use when planning product roadmap, understanding user sentiment, investigating specific issues, or preparing voice-of-customer reports.

amplitude/builder-skills

Analyze MCP server usage instrumented with Amplitude's MCP Analytics SDK: break usage and errors down by tool, read the rationales within each tool to see what callers are trying to do, and produce a prioritized write-up of actionable fixes. Use this skill whenever the user asks to understand how their MCP server is being used, what agents/users are trying to do with it, why tool calls are failing, what to fix or improve in their MCP server, or asks for an "MCP usage report", "tool error analysis", "intent analysis", "rationale clustering", or "MCP insights". Also trigger when the user mentions [MCP]-prefixed events, tool rationale, tool call errors, or just finished instrumenting their MCP server and wants to see what the data says. Requires the Amplitude MCP connector.

amplitude/builder-skills

Read lost deals and churned accounts from your CRM, extract reasons clustered by theme (missing features, pricing, competitors, UX), and write a prioritized weekly analysis with product improvement recommendations. Use before roadmap planning or to build the case for prioritizing retention work.

amplitude/builder-skills

Creates Amplitude charts from natural language descriptions, handling event selection, filters, groupings, and visualization choices. Use when you know what you want to measure but prefer not to build the chart manually.

amplitude/builder-skills

Guide an Amplitude user through building a custom agent by suggesting use cases grounded in their role and data, shaping the idea into a well-formed spec, and generating a ready-to-run Global Agent deeplink that creates it. Use to create, build, or set up a custom agent, automate a recurring analysis, or put a repeated report on a schedule.

amplitude/builder-skills

Builds comprehensive Amplitude dashboards from requirements or goals, organizing charts into logical sections with appropriate layouts. Use when creating a complete dashboard from scratch or assembling existing charts into a cohesive view.

amplitude/builder-skills

Monitors all active and recently completed experiments across Amplitude projects, triages them by importance, then runs deep analysis and reporting on the most impactful ones. Use when the user asks to "check on experiments", "experiment status", "experiment review", "what experiments are running", or wants a periodic experiment health report.

amplitude/builder-skills

Pull Intercom tickets and Slack support messages from the past 7 days, classify each signal, enrich with CRM data (ARR, plan, renewal), score by customer value and churn risk, and output a tiered priority report saved to Drive. Use when you need a fast, data-driven view of what support signals matter most.

amplitude/builder-skills

Use this skill whenever a user wants to improve existing pages on their website to get cited more by AI models — whether they say "our pages aren't getting cited", "improve this page for AI visibility", "which of our pages should we update", "make this article more cite-worthy", "our competitors are getting cited instead of us", "update our content for AI search", or any variation where the goal is improving an existing asset rather than creating something new. This skill pulls owned pages from AI Visibility, identifies which ones have citation potential but are underperforming, compares them against the external pages that are winning citations on the same topics, and produces section-level rewrites or a full-page update — then pushes the revision to the CMS as a draft. Trigger even if the user just says "help me get cited more" or "why is [competitor] getting cited instead of us".

amplitude/builder-skills

Use this skill whenever a user wants to win AI citations on prompts that competitors currently dominate — whether they say "competitors are getting cited instead of us", "we're losing on these prompts", "how do I outrank [competitor] in AI answers", "find prompts where we should be winning", "create content to beat [competitor]", or any variation where the goal is capturing AI share on prompts a competitor currently owns. This skill pulls competitor visibility data from AI Visibility, identifies the specific prompts where competitors win and Amplitude is absent, clusters them by intent, and produces targeted comparison pages, alternatives content, or rebuttal assets — then pushes drafts to CMS. Trigger on any mention of competitor, prompt hijack, outrank, or "why is [competitor] getting cited instead of us".

amplitude/builder-skills

Use this skill whenever a user wants to turn AI Visibility data into published content — whether they say "find content gaps", "what should we write about", "which topics have low visibility", "help me get cited by AI models", "create a blog post from our AI Visibility gaps", "we're losing to competitors on these prompts", or any variation where they want to go from AI visibility weakness to a draft article, landing page, or FAQ. This skill connects directly to Amplitude AI Visibility data (topics, prompts, visibility scores, citations, competitor data, full LLM responses and sources) and produces a publish-ready content brief plus full article draft. If the user mentions CMS (WordPress, Webflow, Contentful, Sanity, HubSpot, Ghost, Shopify), also trigger this skill to push the draft directly. Trigger even if they just say something vague like "what content should we create?" in an AI Visibility context.

amplitude/builder-skills

Use this skill whenever a user wants to test content variants before publishing to find which one will get cited most by AI models — whether they say "which version of this content will perform better", "test this article before we publish", "simulate how AI will respond to this content", "which angle should we use", "generate content variants and pick the winner", "run a simulation before publishing", or any variation where the goal is data-driven content selection rather than gut-feel publishing. This skill takes an identified content opportunity, generates 2–3 distinct variants with different angles or structures, scores them against actual AI model responses from AI Visibility, references the Simulate Changes feature for pre-publish validation, and produces a clear recommendation on which variant to publish — then pushes the winner to CMS. Trigger on any mention of "simulate", "test variants", "which performs better", "A/B content", or "before we publish".

amplitude/builder-skills

Use this skill whenever a user wants to understand which external sources are being cited by AI models on topics relevant to their brand, and wants to create content that will outrank those sources — whether they say "what sources are AI models citing", "why is [third-party site] being cited instead of us", "we want to be the definitive source on X", "build something that gets cited more than G2 or TechRadar", "create an authoritative asset", or any variation where the goal is producing a new reference asset (definition page, benchmark, methodology, glossary, comparison hub) designed to beat existing top-cited sources. This skill analyzes AI Visibility source data, reverse-engineers what makes top-cited pages authoritative, and produces a superior source asset — then pushes it to CMS as a draft. Trigger on any mention of "sources", "third-party citations", "authoritative content", "definitional pages", or "outrank".

amplitude/builder-skills

Instrument a Node/TypeScript MCP server with Amplitude's @amplitude/mcp-analytics SDK so tool calls, sessions, and rationale are tracked as Amplitude events. Use this skill whenever the user wants to add Amplitude analytics to their MCP server, mentions "MCP Analytics", "@amplitude/mcp-analytics", "instrument my MCP server", "track MCP tool calls", "add rationale to my MCP tools", or wants agent traffic (Claude, Cursor, ChatGPT) attributed back to Amplitude. Also use for adding UTM tagging to MCP-returned links, or for troubleshooting identity/user_id mismatches between MCP events and web/mobile Amplitude data.

amplitude/builder-skills

Instruments a pull request with Amplitude analytics that conform to the project's existing taxonomy. Reads the tracking plan via the Amplitude MCP server (events, properties, naming conventions), analyzes the PR diff to find the few user actions genuinely worth tracking, detects the codebase's SDK and tracking patterns, and adds instrumentation that matches both. Optionally (opt-in) stages new events and properties on an Amplitude tracking-plan branch for data-governance review. Use when asked to "instrument this PR", "add analytics to this change", "add tracking", "add Amplitude events", "instrument this feature", or "what should I track here".

amplitude/builder-skills

Diagnoses product health by cross-referencing Amplitude analytics (dashboards, charts, funnels, feedback, AI agent analytics), optionally Datadog (errors, latency, stack traces), and optionally Slack (qualitative feedback, bug reports, feature requests). Identifies what's broken, what's working, and what to do about it — with root causes, not just symptoms. Use when asked to "diagnose my product", "what's going on", "product health check", "what's broken", "where are users struggling", "give me a product diagnosis", or "what should I focus on".

amplitude/builder-skills

Summarizes B2B account health by analyzing usage patterns, engagement trends, risk signals, and expansion opportunities. Use for customer success reviews, renewal preparation, QBRs, or account prioritization.

Habilidades Relacionadas