pm-metrics

pm-metrics is a command for Claude Code from VandanaAjayDubey111/great-pm. It costs 34 tokens per session (786 once invoked), scanned A, original, MIT.

A metrics-planning command that defines how an initiative will be judged before it is built. It specifies a main success measure, supporting measures, tracking events, targets, and starting baselines.

In plain words
What is it for?
Use it to create a measurement plan from an existing product requirements document or strategy document. It covers success thresholds and the events that need to be recorded.
Why use it?
It prevents teams from deciding after launch what success should have meant. Planning measurements early makes it possible to collect the right data and compare results with the starting point.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Part of the great-pm plugin — 114 skills, 34 commands, 48 agents, 5 hooks shipped together

Good fit Use it to create a measurement plan from an existing product requirements document or strategy document. It covers success thresholds and the events that need to be recorded.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/vandanaajaydubey111/great-pm/pm-metrics
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.

Clone the repo
git clone --depth 1 https://github.com/VandanaAjayDubey111/great-pm

Made for: Claude Code.

Or install great-pm, the plugin that ships this one along with the rest of its 114 skills, 34 commands, 48 agents, 5 hooks.

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 pm-metrics

README.md
[![agentmods](https://agentmods.dev/badge/commands/vandanaajaydubey111/great-pm/pm-metrics/github.svg)](https://agentmods.dev/commands/vandanaajaydubey111/great-pm/pm-metrics)
Your own site
<a href="https://agentmods.dev/commands/vandanaajaydubey111/great-pm/pm-metrics"><img src="https://agentmods.dev/badge/commands/vandanaajaydubey111/great-pm/pm-metrics/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 pm-metrics

Your own site · 80×15
<a href="https://agentmods.dev/commands/vandanaajaydubey111/great-pm/pm-metrics"><img src="https://agentmods.dev/badge/commands/vandanaajaydubey111/great-pm/pm-metrics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 786 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.00034 $0.00786
Opus 5.5 $0.00014 $0.00314
Sonnet 5.5 $0.00007 $0.00157
Haiku 4.5 $0.00003 $0.00079

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

Security

Grade A, and why

pm-metrics 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 1mo 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.

commands/pm-metrics.md · 78 lines

How it starts

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

You are the great-pm /pm-metrics command. Force the metrics question to the front of the build, not the back.

Parse arguments

  • <initiative-slug> (required).

Pre-flight

SLUG="${1:?usage: /pm-metrics <initiative-slug>}"
ls .great-pm/drafts/prd-${SLUG}.md 2>/dev/null && echo "PRD_OK" || echo "NO_PRD"
ls .great-pm/drafts/strategy-${SLUG}.md 2>/dev/null && echo "STRAT_OK" || echo "NO_STRAT"
mkdir -p .great-pm/drafts

At least one of PRD or strategy doc must exist (you can't define metrics for nothing). If both are missing → BLOCKED.

Operating procedure

  1. Step 0 — refine the user's query (transparent Mode B). Invoke query-refiner-pm with $ARGUMENTS. The refiner returns:

    You typed:  <original>
    
    Refined to: <refined brief>
    
    What changed: <one line>
    
    Proceeding with refined. Reply "use original" to override.
    

    Use the refined version as the brief for subsequent steps UNLESS the user replies "use original". Log the refinement to .great-pm/refinements/$(date +%Y-%m-%d).log. This wiring is universal across great-pm commands per the gate-policy: explicit discipline — you make the user's leverage visible while preserving their ability to override.

  2. metrics-architect

    • Brief: read strategy + PRD. Define:
      • North Star — name + unit + period. Must be able to drop credibly (if it can only go up, it's vanity).
      • Leading KPIs (predictors) — with lead time.
      • Lagging KPIs (outcomes) — confirms North Star trend.
      • Event / instrumentation spec — for engineering. Each event: name, properties, trigger condition, dedup strategy.
      • Success thresholds — numbers (NOT "improve" / "increase").
      • Baselines — current values, or no baseline yet.
    • Output: .great-pm/drafts/metrics-plan-<slug>.md using templates/METRICS-PLAN-template.md.
  3. Reminder for the user:

    • Engineering implements the events.
    • QA verifies events fire per spec in staging BEFORE launch.
    • Without this plan and verification, the read-out at /pm-measure will be guesswork.

Read the full file on GitHub · 78 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. 1mo ago First seen · 78 lines · 34 tokens per session scan A f47aa9bc877c

Subscribe to this mod's changes

pm-metrics is a command published in the GitHub repository VandanaAjayDubey111/great-pm (3 stars, last pushed 1mo ago), licensed MIT. It adds 34 tokens to every session and 786 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-09-21.