audit-session-metrics SKILL.md skillA

audit-session-metrics from centminmod/claude-plugins is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add centminmod/claude-plugins/audit-session-metrics@git:20261008.5239dd5

Pins git:20261008.5239dd5 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
centminmod/claude-plugins
Path
plugins/session-metrics/skills/audit-session-metrics/SKILL.md
Versions recorded
5
Latest version
git:20261008.5239dd5, committed Oct 8, 2026
First version recorded
Apr 29, 2026
Size
8,393 bytes
Repository stars
18
License
a license file GitHub does not identify

Audit a session-metrics JSON export for token-usage waste and produce a plain-English findings report. Trigger when the user runs /audit-session-metrics, when session-metrics suggests an audit after an HTML export, or when the user asks to audit / review / find waste in a saved session-metrics JSON. Two modes: "quick" (ratios + cache health + top expensive turns/sessions) and "detailed" (adds CLAUDE.md / settings / re-read scan). Supports session, project, and instance JSON scopes. Args…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Audit Session-Metrics

Reads a session-metrics JSON export and produces a prioritised, plain-English
audit of token-usage waste. It runs on the session's current model (it no
longer pins one — a hard model pin capped the usable context at that model's
window and broke invocation on long sessions). The work is mostly
summarisation over a small disk-read export, so for a much cheaper run
`/model haiku` before invoking. On the Anthropic API `haiku` is Haiku 5.5
(1M window, so long sessions fit; prompts over 100K tokens bill at its higher
rate). On Bedrock, Google Cloud, Microsoft Foundry, and Claude Platform on AWS
it is still Haiku 4.5 with a 200k window — short/early sessions only there.

Supports three JSON scopes auto-detected from `digest.scope`:
- **session** — single session (`session_*.json`) — per-turn analysis
- **project** — all sessions for one project (`project_*.json`) — per-session analysis
- **instance** — all projects (`instance/*/index.json`) — per-project analysis

## Dispatch — how to route this invocation

**First positional argument received:** `$ARGUMENTS[0]`
**Second positional argument received:** `$ARGUMENTS[1]`
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add centminmod/claude-plugins/audit-session-metrics@sha256:a11020d222d97ab1

The line at the top of this page pins the label git:20261008.5239dd5, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_mpmjrfeirtiwpag3.svg)](https://markdownregistry.com/a/art_mpmjrfeirtiwpag3)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Apr 29, 2026 and Oct 8, 2026, about one every 40 days.

versioncommittedcommitsizeaudit
git:20261008.5239dd5 latest2026-10-08 5239dd5 8,393 BA view · diff
git:20260531.58740372026-05-31 5874037 8,145 BA view · diff
git:20260530.af5e53b2026-05-30 af5e53b 7,967 BA view · diff
git:20260501.725e1f22026-05-01 725e1f2 7,528 BA view · diff
git:20260429.2e033d82026-04-29 2e033d8 7,153 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (8393 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

centminmod/claude-plugins · 18 stars · license a license file GitHub does not identify · pushed 2026-10-15 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_mpmjrfeirtiwpag3
GET https://markdownregistry.com/api/v1/resolve?ref=centminmod/claude-plugins/audit-session-metrics
GET https://markdownregistry.com/api/v1/blob/a11020d222d97ab1e4d4749f25c31beb721a4deb2ae123a68f752e1d7b20f357

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from centminmod/claude-plugins

session-metrics SKILL.md skill
centminmod/claude-plugins · plugins/session-metrics/skills/session-metrics/SKILL.md · Tally Claude Code session token usage and cost estimates from the raw JSONL conversation log. Trigger when the user…
git:20260725.befd9a7 · audit A · 18 stars
task-breakdown SKILL.md skill
centminmod/claude-plugins · plugins/session-metrics/skills/task-breakdown/SKILL.md · Group a session-metrics session's turns into higher-level SEMANTIC TASKS ("what was I actually trying to do") and…
git:20260619.e5d6964 · audit A · 18 stars

Every file in centminmod/claude-plugins

Browse by kind, by grade A, or by owner.