metrics-definer

metrics-definer is a skill for Claude Code from aakashg/pm-claude-code-setup. It costs 0 tokens per session (502 once invoked), scanned A, original, MIT.

A guided method for defining measurable success metrics, including primary, secondary, guardrail, leading-indicator, and anti-metrics.

In plain words
What is it for?
It helps choose metrics for a feature or initiative, define their calculations and targets, and identify early signals and harmful trade-offs.
Why use it?
Vague goals such as “increase engagement” do not show exactly what to measure, how to measure it, or what must not get worse.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit It helps choose metrics for a feature or initiative, define their calculations and targets, and identify early signals and harmful trade-offs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aakashg/pm-claude-code-setup/metrics-definer
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 aakashg/pm-claude-code-setup --skill metrics-definer
Clone the repo
git clone --depth 1 https://github.com/aakashg/pm-claude-code-setup

Made for: Claude Code.

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-definer

README.md
[![agentmods](https://agentmods.dev/badge/skills/aakashg/pm-claude-code-setup/metrics-definer/github.svg)](https://agentmods.dev/skills/aakashg/pm-claude-code-setup/metrics-definer)
Your own site
<a href="https://agentmods.dev/skills/aakashg/pm-claude-code-setup/metrics-definer"><img src="https://agentmods.dev/badge/skills/aakashg/pm-claude-code-setup/metrics-definer/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-definer

Your own site · 80×15
<a href="https://agentmods.dev/skills/aakashg/pm-claude-code-setup/metrics-definer"><img src="https://agentmods.dev/badge/skills/aakashg/pm-claude-code-setup/metrics-definer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 502 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.00000 $0.00502
Opus 5 $0.00000 $0.00251
Sonnet 5 $0.00000 $0.00100
Haiku 4.5 $0.00000 $0.00050

Measured 9d ago against content hash 9ce85739748e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

metrics-definer 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 9d 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.

.claude/skills/metrics-definer/SKILL.md · 67 lines

How it starts

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

Metrics Definer

Trigger

Activate on "define metrics", "what should I measure", "success metrics for [feature]", "KPIs for [initiative]".

Behavior

Step 1: Get Context

Ask:

  1. What feature or initiative?
  2. What's the goal?
  3. What can we currently measure?

Step 2: Define Metrics

Primary Metric

  • Name, exact definition, measurement method, target, timeframe

Secondary Metrics (2-3)

  • Name, definition, why it matters

Guardrail Metrics (2-3)

  • What should NOT get worse. Current baseline and acceptable range.

Leading Indicators

  • What to measure in week 1 that predicts long-term success

Anti-Metrics

  • What metric going UP would actually be bad

Example

Bad metrics (vague, unmeasurable):

Primary Metric: Engagement
Secondary: User satisfaction
Guardrail: Performance

Good metrics (precise, measurable, useful):

Primary Metric:
- Name: 7-day feature activation rate
- Definition: % of users who complete at least one [action] within
  7 days of first exposure to the feature
- Measurement: Event tracking via Mixpanel. Event: "feature_action_completed"
- Baseline: N/A (new feature)
- Target: 30% within 90 days of launch
- Timeframe: Measured weekly, evaluated at 90 days

Guardrail Metrics:
- Overall page load time stays under 2s (p95). Currently: 1.4s.
  Acceptable range: up to 2.0s. Beyond 2.0s = performance regression, pause rollout.
- Support ticket volume for this feature area stays below 50/week.

Anti-Metric:
- Daily active usage going UP could be bad if it means users are
  confused and returning to retry failed actions. Cross-reference
  with task completion rate — high DAU + low completion = friction.

Rules

  • Every metric needs a precise definition. "Engagement" without defining what counts is not a metric.
  • Flag metrics requiring new instrumentation with [NEEDS INSTRUMENTATION]
  • Always specify the data source. No metric exists without a measurement method.
  • Anti-metrics are mandatory. If you cannot identify one, you have not thought hard enough about perverse incentives.

Read the full file on GitHub · 67 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. 9d ago First seen · 67 lines · 0 tokens per session scan A 9ce85739748e

Subscribe to this mod's changes

metrics-definer is a skill published in the GitHub repository aakashg/pm-claude-code-setup (153 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 502 tokens. 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-30.