create-metrics-framework
Skill8 starsChanged 9 months agoMITView on GitHub
Define a North Star metric, input metrics, and guardrail metrics when the user asks to create a metrics framework, define KPIs, or set up measurement
In this repository79 other files it gives its agents.
- AGENTS.mdAGENTS.md
- analyze-competitorsSkill
- analyze-dependenciesSkill
- analyze-metricsSkill
- audit-accessibilitySkill
- audit-api-consistencySkill
- audit-performanceSkill
- audit-securitySkill
- capture-pr-visualsSkill
- commitSkill
- create-adrSkill
- create-api-designSkill
- create-bug-reportSkill
- create-commit-messageSkill
- create-data-modelSkill
- create-decision-logSkill
- create-docSkill
- create-estimationSkill
- create-experiment-designSkill
- create-feature-flag-planSkill
- create-gtm-briefSkill
- create-handoffSkill
- create-incident-reportSkill
- create-interview-guideSkill
- create-jtbd-canvasSkill
- create-onboarding-guideSkill
- create-ostSkill
- create-planSkill
- create-postmortemSkill
- create-pr-descriptionSkill
- create-prdSkill
- create-prSkill
- create-release-checklistSkill
- create-release-notesSkill
- create-retroSkill
- create-reviewSkill
- create-rfcSkill
- create-roadmapSkill
- create-rollback-planSkill
- create-runbookSkill
- create-shape-up-pitchSkill
- create-stakeholder-updateSkill
- create-test-planSkill
- create-threat-modelSkill
- create-user-storiesSkill
- debug-systematicSkill
- fastapi-endpoint-patternsSkill
- fix-findingsSkill
- fix-reviewSkill
- flutter-platform-patternsSkill
- flutter-state-managementSkill
- flutter-version-managementSkill
- flutter-widget-patternsSkill
- manage-tech-debtSkill
- nextjs-api-patternsSkill
- nextjs-app-router-patternsSkill
- nextjs-performanceSkill
- product-context-docsSkill
- project-skill-creatorSkill
- project-standardsSkill
- The first 60 shown.
The file
Files
Create Metrics Framework
Overview
Build a metrics framework combining the North Star Framework (Amplitude), AARRR Pirate Metrics, and HEART Framework (Google). Defines one North Star metric, the input metrics that drive it, and guardrail metrics that prevent gaming. Gives the team a shared definition of success.
Workflow
- Read product context -- Scan
.chalk/docs/product/for the product profile, PRDs with success metrics, JTBD docs, and any existing metrics definitions. Understand what the product does and who it serves before defining metrics. - Parse scope -- Extract from
$ARGUMENTSthe product area or business goal. If unspecified, build a company-level metrics framework using the product profile. - Determine the next file number -- Read filenames in
.chalk/docs/product/to find the highest numbered file. The next number ishighest + 1. - Define the North Star metric -- Identify the single metric that best captures the core value the product delivers to users. It must be: measurable, actionable by the team, a leading indicator of revenue, and reflective of user value (not just business extraction).
- Map input metrics -- Identify 3-5 input metrics that drive the North Star. Use the AARRR framework as a lens: Acquisition (how users find you), Activation (first value moment), Retention (users come back), Revenue (users pay), Referral (users bring others). Not all stages need a metric -- pick the ones that matter most.
- Apply the HEART framework -- For key user journeys, consider: Happiness (satisfaction), Engagement (usage depth), Adoption (new feature uptake), Retention (continued use), Task success (completion rate). Use this to fill gaps the AARRR lens missed.
- Set guardrail metrics -- Define 2-3 metrics that must NOT degrade while optimizing the North Star. These prevent gaming (e.g., optimizing signups by removing friction could degrade activation quality).
- Write the file -- Save to
.chalk/docs/product/<n>_metrics_framework.md. - Confirm -- Share the file path and highlight which metrics likely need instrumentation work before they can be measured.
Output
- File:
.chalk/docs/product/<n>_metrics_framework.md - Format: Plain markdown with North Star definition, input metrics table, and guardrail metrics
- First line:
# Metrics Framework: <Product Area>
Anti-patterns
- Vanity metrics as North Star -- Page views, total signups, or app downloads do not reflect user value. The North Star must measure value delivered, not volume collected.
- Too many metrics -- If everything is a key metric, nothing is. One North Star, 3-5 inputs, 2-3 guardrails. That is the budget.
- No guardrails -- Without guardrails, teams will optimize the North Star at the expense of something important. Always define what must not break.
- Unmeasurable metrics -- Every metric must be instrumentable with current or near-term tooling. If you cannot measure it, it is not a metric -- it is a wish.
- Lagging-only indicators -- Revenue and churn are important but slow to move. Include leading indicators (activation rate, feature adoption) that predict future outcomes.
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.

