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.
$npx -y skills add centminmod/claude-plugins --skill session-metricsInstalls into the current project.
Run `npx skills use "https://github.com/centminmod/claude-plugins" --skill "centminmod/claude-plugins/session-metrics"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/centminmod/claude-plugins" that are relevant to the current task. Run `npx skills add "https://github.com/centminmod/claude-plugins"` and select the relevant skills, then follow their instructions.