metrics-framework

metrics-framework is a skill for Claude Code, Codex from uthumany/uthy-legacy-os. It costs 28 tokens per session (857 once invoked), scanned A, original, MIT.

A guide to choosing and building systems for measuring product success. It covers AARRR, HEART, and custom metric trees; AARRR and HEART are named measurement models for growth and user experience.

In plain words
What is it for?
Use it to define success for a product or feature, design an analytics system, align a team on measurements, or replace vanity metrics with useful ones.
Why use it?
It helps teams connect product work to meaningful results instead of optimizing a single attention-grabbing number. It supports shared definitions of success and actionable measurements.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to define success for a product or feature, design an analytics system, align a team on measurements, or replace vanity metrics with useful ones.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/uthumany/uthy-legacy-os/metrics-framework
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add uthumany/uthy-legacy-os --skill metrics-framework
Clone the repo
git clone --depth 1 https://github.com/uthumany/uthy-legacy-os

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for metrics-framework

README.md
[![agentmods](https://agentmods.dev/badge/skills/uthumany/uthy-legacy-os/metrics-framework/github.svg)](https://agentmods.dev/skills/uthumany/uthy-legacy-os/metrics-framework)
Your own site
<a href="https://agentmods.dev/skills/uthumany/uthy-legacy-os/metrics-framework"><img src="https://agentmods.dev/badge/skills/uthumany/uthy-legacy-os/metrics-framework/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for metrics-framework

Your own site · 80×15
<a href="https://agentmods.dev/skills/uthumany/uthy-legacy-os/metrics-framework"><img src="https://agentmods.dev/badge/skills/uthumany/uthy-legacy-os/metrics-framework.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 857 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.00857
Opus 5.5 $0.00011 $0.00343
Sonnet 5.5 $0.00006 $0.00171
Haiku 4.5 $0.00003 $0.00086

Measured 2mo ago against content hash 2de2dc9b2802, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

metrics-framework scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/measuring/metrics-framework/SKILL.md · 88 lines

How it starts

The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Metrics Framework

Overview

A metrics framework connects what you build to what matters. Without one, teams optimize for whatever number is loudest. This skill covers AARRR (Pirate Metrics), HEART (Google), and custom metric trees — choose the right framework and build a measurement system that drives decisions.

When to Use

  • Defining success for a new product or feature
  • Building or redesigning your analytics system
  • Aligning the team around a shared measurement model
  • Moving from vanity metrics to actionable metrics
  • Don't use for: one-time analysis (use experiment-analysis skill), daily monitoring (use dashboard-design)

Instructions

1. Choose a Framework

AARRR (Pirate Metrics) — best for growth-stage products:

  • Acquisition: How do users find you? (traffic sources, signups)
  • Activation: Do users have a great first experience? (aha moment, time-to-value)
  • Retention: Do users come back? (D1/D7/D30 retention, churn)
  • Revenue: Do users pay? (MRR, ARPU, conversion rate)
  • Referral: Do users tell others? (viral coefficient, NPS)

HEART (Google) — best for UX and engagement-focused products:

  • Happiness: User satisfaction (NPS, CSAT, satisfaction surveys)
  • Engagement: Frequency and depth of use (sessions, actions per session)
  • Adoption: New users of a feature (onboarding completion, feature activation)
  • Retention: Returning users (cohort retention, churn rate)
  • Task Success: Can users accomplish goals? (success rate, time-on-task, errors)

Custom Metric Tree — best for complex or unique products:

  • Start with a North Star metric
  • Break down into 3-5 supporting drivers
  • Each driver has leading and lagging indicators
  • Each indicator has a target and owner

2. Define Metrics Hierarchy

North Star: One metric that captures the core value your product delivers. Input metrics: Actions users take that drive the North Star (controllable). Output metrics: Results of those actions (lagging). Counter-metrics: What should NOT degrade while you optimize.

Read the full file on GitHub · 88 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 88 lines · 28 tokens per session scan A 2de2dc9b2802

Subscribe to this mod's changes

metrics-framework is a skill published in the GitHub repository uthumany/uthy-legacy-os (5 stars, last pushed 5mo ago), licensed MIT. It adds 28 tokens to every session and 857 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

metrics-framework compared with skills from other repositories

metrics-framework next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
metrics-frameworkuthumany/uthy-legacy-osSkill55mo agoMITA28Claude Code, Codex
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79ktodayMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill99ktodayApache-2.0A19Claude Code
systematic-debuggingobra/superpowersSkill314k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code
chat-pet-sprite-creationmicrosoft/vscodeSkill195ktodayMITA53Claude Code, Codex