Registry / centminmod

centminmod/my-claude-code-setup/session-metrics

Tally Claude Code session token usage and cost estimates from the raw JSONL conversation log. Trigger when the user asks about session cost, token usage, API spend, cache hit rate, input/output tokens, or wants a breakdown of how much a Claude Code session has cost. Also trigger for "how much have we spent", "show me token usage", "session summary", "cost so far", or any request to analyse or display per-turn metrics from the current or a past session. Do NOT auto-dispatch compare mode (--compar

Agent skill · version 0.0.0-master.1795432195.g3262389 · from centminmod/my-claude-code-setup

Install

npx yarkr-cli add skill:centminmod/my-claude-code-setup/session-metrics

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:centminmod/my-claude-code-setup/session-metrics
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:centminmod/my-claude-code-setup/session-metrics

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:centminmod/my-claude-code-setup/session-metrics

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.