agentleFS
VektoAIVektoAI/pmstack/metrics/SKILL.md

metrics

Skill0 starsChanged 8 months agoMITView on GitHub

Metrics Architect mode. Define success metrics that measure outcomes, not activity. Input/output metrics, leading/lagging indicators, guardrail metrics, measurement plans, instrumentation specs, and dashboard wireframes. Prevents metric theater.

20 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use docgen, knowledge-graph and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • prsolansSkill

    docgen

    Generate professional contract/agreement PDFs (and .docx CLM templates) from a declarative YAML config using the yaml-doc-generator tool ("docgen"). Use this whenever the user wants to create, manufacture, or mock up agreement documents — an MSA, NDA, SaaS/subscription agreement, amendment, exhibit, SOW, renewal notice, loan/credit agreement, fund/investment doc, BAA/DPA, government contract, or a whole document FAMILY between named parties — especially demo/test documents to load into Docusign Navigator/CLM or to feed an agreement-lifecycle agent. Triggers include "generate an MSA/NDA/agreement", "make demo contracts", "create a document family for <party> and <party>", "use docgen", or "use the yaml-doc-generator". Produces real PDFs with parties, clauses, and a manifest of critical dates (renewal/expiration).

    Also in 3 projects that use this

  • ddehartSkill

    knowledge-graph

    Search, capture, and query the claude-code-plugins knowledge graph. Use when asked to "capture this", "add this to the graph", "what do we know about X", "update the graph", "check the graph for X", or when a decision, pattern, or non-obvious fact surfaces mid-session that's worth recording. Also: "log an observation", "what patterns do we have about skill triggering", "any decisions on the knowledge-commons plugin", "what do we know about the commit-creator agent".

    Also in 3 projects that use this

  • rajnavakotiSkill

    scan

    Run the AI dashboard scanner and generate the HTML report.

    Also in 3 projects that use this

  • MicrosoftSkill

    retrospective

    Review how work went and improve the next round. USE WHEN asked for a retro, delays, or process lessons. DO NOT USE for code review or transcript replay.

    Also in 3 projects that use this

  • OpenAISkill

    observability

    Vercel Observability expert guidance — Drains (logs, traces, speed insights, web analytics), Web Analytics, Speed Insights, runtime logs, custom events, OpenTelemetry integration, and monitoring dashboards. Use when instrumenting, debugging, or optimizing application performance and user experience on Vercel.

    Also in 3 projects that use this

  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 5 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 14 edited versions we read keep these.

  • 5

    Distinctive

    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:

    Before individual metrics, define what "winning" looks like.

    line 47
  2. Distinctive:

    If the North Star improves but the business gets worse, you chose the wrong North Star.

    line 68
  3. Distinctive:

    Every metric shows TREND, not just current value

    line 217
  4. Distinctive:

    Every metric has: Definition, Current, Target, Cadence, Owner

    line 274
  5. Distinctive:

    After the metrics framework, pause: "Does this framework capture what matters?

    line 277

“Common” is measured: kept by at least 6 in 10 of the 14 edited versions of this file we could read. “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

{{PREAMBLE}}

Metrics Definition Mode

Philosophy

The purpose of metrics is to help you make decisions. If a metric doesn't change a decision you'd make, it's decoration.

Metric theater: Tracking numbers that go up and to the right but don't tell you anything actionable. DAU, page views, "engagement" — these feel productive but rarely drive decisions. "We had 10,000 page views" → so what? What did you learn? What will you do differently?

The test for every metric: "If this metric moves 20% in either direction, what will we do differently?" If the answer is "nothing," it's not a metric — it's a dashboard ornament.

Input vs. Output metrics: Output metrics (revenue, retention, NPS) tell you if you won. Input metrics (feature adoption, task completion rate, time-to-value) tell you WHY you won or lost — and what to do about it. You need both, but most teams only track outputs.

Input

Ask the user (via AskUserQuestion):

What are we defining metrics for?

RECOMMENDATION: Choose A if you're building a new feature. Choose C if you have existing metrics that need review.

A) New feature or product — define metrics from scratch B) Company or team OKRs — define goal metrics with targets C) Existing metrics audit — review what we're tracking and fix gaps D) Dashboard design — I know what to measure, help me structure it


Step 1: North Star Identification

Before individual metrics, define what "winning" looks like.

NORTH STAR METRIC
═════════════════
Metric: [Name — one metric that best captures the value you deliver to users]
Definition: [Exactly what is measured — no ambiguity]
Why this: [Why this metric, and not 3 others, is the North Star]
Current: [Baseline value, or "Unknown — needs instrumentation"]
Target: [Specific number + timeframe]
Cadence: [How often reviewed — daily/weekly/monthly]

Example: "Weekly active searchers who find an answer (not just search, but succeed)"
Not: "Total searches" (activity, not outcome)
Not: "DAU" (too broad — doesn't capture the specific value)

North star rules:

  • ONE metric, not five. If everything is the North Star, nothing is.
  • Measures value delivered TO THE USER, not activity or revenue directly.
  • Revenue is an OUTPUT of delivering user value, not the goal itself (for product metrics).
  • If the North Star improves but the business gets worse, you chose the wrong North Star.

Step 2: Metrics Framework

Build the full metrics tree:

METRICS FRAMEWORK: [Product/Feature]
═════════════════════════════════════

NORTH STAR: [Metric name]
│
├── INPUT METRICS (things you can directly influence)
│   ├── [Metric 1]: [Definition]
│   │   Current: [Value] → Target: [Value] by [Date]
│   │   Lever: [What product action moves this metric?]
│   │
│   ├── [Metric 2]: [Definition]
│   │   Current: [Value] → Target: [Value] by [Date]
│   │   Lever: [What product action moves this metric?]
│   │
│   └── [Metric 3]: [Definition]
│       Current: [Value] → Target: [Value] by [Date]
│       Lever: [What product action moves this metric?]
│
├── OUTPUT METRICS (results you're trying to achieve)
│   ├── [Metric 4]: [Definition]
│   │   Current: [Value] → Target: [Value] by [Date]
│   │   Lag time: [How long after input change before this moves?]
│   │
│   └── [Metric 5]: [Definition]
│       Current: [Value] → Target: [Value] by [Date]
│       Lag time: [How long after input change before this moves?]
│
├── GUARDRAIL METRICS (must NOT get worse)
│   ├── [Metric 6]: [Definition]
│   │   Threshold: [Value that triggers investigation]
│   │   Alert: [Who gets paged and how]
│   │
│   └── [Metric 7]: [Definition]
│       Threshold: [Value that triggers investigation]
│       Alert: [Who gets paged and how]
│
└── LEADING INDICATORS (early signals before lagging metrics move)
    ├── [Signal 1]: [What to watch in first week/month]
    │   Healthy range: [Expected values if things are working]
    │
    └── [Signal 2]: [What to watch in first week/month]
        Healthy range: [Expected values if things are working]

Metric Types Explained

Input metrics = things you can influence through product changes. Feature adoption rate, onboarding completion %, search success rate. These are YOUR levers.

Output metrics = results that follow from good inputs. Revenue, retention, NPS, customer lifetime value. These are lagging — they move weeks/months after inputs change.

Guardrail metrics = things that should NOT get worse when you optimize inputs. If you improve search speed but degrade search quality, the guardrail catches it. Common guardrails: error rate, latency p95, support ticket volume, churn rate.

Leading indicators = early signals that predict whether output metrics will move. If you launch a feature today, you can't measure 90-day retention for 90 days. But you CAN measure Day 1 activation, which correlates with retention. Leading indicators give you signal in days, not months.


Step 3: Metric Quality Audit

For each metric, run this checklist:

METRIC QUALITY AUDIT
════════════════════
| Check | [Metric Name] |
|──────────────────────────────|────────────────|
| Can be gamed? | [Yes/No — if yes, gaming vector: ___] |
| Actionable? (20% change → what do we do?) | [Yes/No — action: ___] |
| Measurable today? | [Yes/No — if no, instrumentation needed: ___] |
| Has a baseline? | [Yes/No — if no, measure for ___ before setting target] |
| Target has rationale? | [Yes/No — based on: benchmarks / growth rate / ___] |
| Leading indicator exists? | [Yes/No — if no, suggest one] |
| Guardrail exists? | [Yes/No — if no, what could break?] |
| Review cadence defined? | [Daily / Weekly / Monthly] |
| Owner defined? | [Name/Role] |

If a metric fails 3+ checks, flag it:

⚠️ [Metric name] — fails [N] quality checks.
Consider: [Replace with X / Add guardrail Y / Instrument Z first]

Step 4: Measurement Plan

How will each metric actually get measured?

MEASUREMENT PLAN
════════════════
| Metric | Source | Method | Frequency | Owner |
|--------|--------|--------|-----------|-------|
| [Metric 1] | [Analytics tool / DB query / Survey] | [How calculated] | [How often] | [Who] |
| [Metric 2] | [Source] | [Method] | [Frequency] | [Owner] |

INSTRUMENTATION NEEDED:
1. [Event/data point to add]: [Where — frontend/backend/infra] — Est. effort: [S/M/L]
2. [Event/data point to add]: [Where] — Est. effort: [S/M/L]

DATA GAPS:
- [What we can't measure today and what we'd need to fix it]
- [Data quality concern and remediation plan]

Step 5: Dashboard Wireframe

DASHBOARD: [Product/Feature] Metrics
═════════════════════════════════════

┌─────────────────────────────────────────────────────────────┐
│ NORTH STAR: [Metric name]                                    │
│ ████████████████████░░░░░  [Current] / [Target]   [Trend ↑] │
└─────────────────────────────────────────────────────────────┘

┌──────────────────────┐  ┌──────────────────────┐
│ INPUT: [Metric 1]     │  │ INPUT: [Metric 2]     │
│ [Value] → [Target]    │  │ [Value] → [Target]    │
│ Trend: [↑↓→]  [Spark] │  │ Trend: [↑↓→]  [Spark] │
└──────────────────────┘  └──────────────────────┘

┌──────────────────────┐  ┌──────────────────────┐
│ OUTPUT: [Metric 3]    │  │ GUARDRAIL: [Metric 4] │
│ [Value] → [Target]    │  │ [Value] / Threshold    │
│ Lag: [N] days         │  │ Status: 🟢🟡🔴        │
└──────────────────────┘  └──────────────────────┘

┌─────────────────────────────────────────────────────────────┐
│ LEADING INDICATORS                                           │
│ [Signal 1]: [Value] — Healthy: [Range]                       │
│ [Signal 2]: [Value] — Healthy: [Range]                       │
└─────────────────────────────────────────────────────────────┘

Dashboard rules:

  • North Star is the biggest, most prominent element
  • Guardrails show threshold + status (green/yellow/red), not just the number
  • Every metric shows TREND, not just current value
  • Leading indicators are separate from lagging outputs — different cadence, different audience

Step 6: Review Cadence

METRICS REVIEW CADENCE
═══════════════════════
| Cadence | What's reviewed | Who | Action on anomaly |
|---------|----------------|-----|------------------|
| Daily | Guardrails + leading indicators | PM + Eng lead | Investigate if breached |
| Weekly | Input metrics + North Star | Product team | Adjust priorities if off-track |
| Monthly | Output metrics + full framework | PM + leadership | Strategic pivot if needed |
| Quarterly | Framework audit — are we measuring the right things? | PM + leadership | Add/remove/redefine metrics |

Completion Summary

METRICS FRAMEWORK SUMMARY
═════════════════════════════════════
| Component | Status |
|──────────────────────|──────────────────────|
| North Star | ✓ Defined: [name] |
| Input metrics | ___ defined |
| Output metrics | ___ defined |
| Guardrails | ___ defined |
| Leading indicators | ___ defined |
| Quality audit | ___ pass, ___ flagged |
| Measurement plan | ✓ / Needs instrumentation |
| Dashboard wireframe | ✓ Designed |
| Review cadence | ✓ Defined |
| Instrumentation gaps | ___ items |
═════════════════════════════════════

Ready for: /launch (metrics feed into launch success criteria) or /brief (to communicate metrics strategy)

Common Anti-Patterns

Flag these if you see them in existing metrics:

  1. Vanity metrics — Numbers that only go up (total users, total revenue) without rate or cohort analysis
  2. Activity metrics as outcomes — "Number of searches" instead of "search success rate"
  3. Missing guardrails — Optimizing one metric at the expense of another without noticing
  4. No baseline — Targets set without knowing where you're starting from
  5. Unmeasurable metrics — "User satisfaction" with no survey, no NPS, no proxy
  6. Output-only dashboard — Shows if you won but not why (missing input metrics)
  7. Lagging-only indicators — Won't know if it's working for 90 days (add leading indicators)

Formatting Rules

  • Metrics tree uses the branch diagram format (├── └──) for hierarchy
  • Every metric has: Definition, Current, Target, Cadence, Owner
  • Guardrails show thresholds and alert mechanisms
  • Dashboard wireframes use ASCII box art
  • After the metrics framework, pause: "Does this framework capture what matters? Any metrics missing?"

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.