metric-context-and-benchmarks

metric-context-and-benchmarks is a skill for Claude Code from clamp-sh/analytics-skills. It costs 92 tokens per session (4,139 once invoked), scanned A, original, MIT.

A guide for deciding whether an analytics number is good, bad, or too uncertain to compare.

In plain words
What is it for?
Use it to interpret bounce rate, engagement, session duration, conversion rate, or SaaS business metrics against relevant benchmarks.
Why use it?
It adds the missing context around industry, metric definition, sample size, and denominator instead of relying on generic averages.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter. Also seen: positional $N argument.

Part of the analytics-skills plugin — 13 skills shipped together

Good fit Use it to interpret bounce rate, engagement, session duration, conversion rate, or SaaS business metrics against relevant benchmarks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/clamp-sh/analytics-skills/metric-context-and-benchmarks
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 clamp-sh/analytics-skills --skill metric-context-and-benchmarks
Clone the repo
git clone --depth 1 https://github.com/clamp-sh/analytics-skills

Made for: Claude Code.

Or install analytics-skills, the plugin that ships this one along with the rest of its 13 skills.

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 metric-context-and-benchmarks

README.md
[![agentmods](https://agentmods.dev/badge/skills/clamp-sh/analytics-skills/metric-context-and-benchmarks/github.svg)](https://agentmods.dev/skills/clamp-sh/analytics-skills/metric-context-and-benchmarks)
Your own site
<a href="https://agentmods.dev/skills/clamp-sh/analytics-skills/metric-context-and-benchmarks"><img src="https://agentmods.dev/badge/skills/clamp-sh/analytics-skills/metric-context-and-benchmarks/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 metric-context-and-benchmarks

Your own site · 80×15
<a href="https://agentmods.dev/skills/clamp-sh/analytics-skills/metric-context-and-benchmarks"><img src="https://agentmods.dev/badge/skills/clamp-sh/analytics-skills/metric-context-and-benchmarks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,139 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.00092 $0.04139
Opus 5 $0.00046 $0.02070
Sonnet 5 $0.00018 $0.00828
Haiku 4.5 $0.00009 $0.00414

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

Security

Grade A, and why

metric-context-and-benchmarks 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 11d 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/metric-context-and-benchmarks/SKILL.md · 315 lines

How it starts

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

Metric context and benchmarks

The reference skill for answering "is this number good, bad, or noise?" correctly. Almost every wrong answer to that question comes from quoting a cross-industry average when the user's industry-specific number is 3× different, or quoting a benchmark without checking if the sample size even supports the comparison.

Read analytics-diagnostic-method first. Sample-size discipline applies here more than anywhere: benchmarks are meaningless if your data is noise.

How to use this skill

  1. Load analytics-profile.md. The profile's model + industry row picks the right benchmark.
  2. Check the sample size. If the user's number is computed on too few observations, the comparison to any benchmark is moot. Say so and stop.
  3. Look up the relevant benchmark with its qualifiers (year, source, population, definition).
  4. Answer in the form: "Your X is Y. Benchmark for [specific population] is Z [from source, year, n=]. Your number is [above / at / below] benchmark by W percentage points."
  5. Flag metric-specific traps (e.g. GA4 bounce rate is not UA bounce rate; last-click CVR is not the full story).

The honesty rule

Never quote a benchmark as if it's a target. Benchmarks describe populations; they don't tell you what your number should be. A business can have a below-benchmark CVR and a healthy LTV:CAC if their AOV or retention is elevated. A business can have a 3× benchmark CVR and still be unprofitable. Always connect the benchmark back to the user's actual unit economics.

Metric-by-metric

Bounce rate / engagement rate

GA4 definition (authoritative, from support.google.com/analytics/answer/12195621):

  • Engaged session = session lasting longer than 10 seconds, OR with a conversion (key) event, OR with 2+ page/screen views.
  • Engagement rate = engaged sessions / total sessions.
  • GA4 bounce rate = 100% − engagement rate.

Critical: GA4 bounce rate is NOT the same as Universal Analytics bounce rate. UA bounce rate was single-pageview sessions. In GA4, a single-pageview session with >10s dwell is engaged (not bounced). So pre-2023 blog posts quoting "50% bounce rate is average" are measuring a different thing.

Read the full file on GitHub · 315 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. 11d ago First seen · 315 lines · 92 tokens per session scan A 74626d7f7c57

Subscribe to this mod's changes

metric-context-and-benchmarks is a skill published in the GitHub repository clamp-sh/analytics-skills (8 stars, last pushed 3mo ago), licensed MIT. It adds 92 tokens to every session and 4,139 once invoked, about $0.0005 per session on Opus 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.