Skill / SKILL.md

Session Metrics

centminmod/my-claude-code-setup

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 (--compare / --compare-prep / --compare-run / --count-tokens-only) from natural-language phrases. The skill body uses $ARGUMENTS[0] as the dispatch key — if the first positional argument is not literally "compare", "compare-prep", "compare-run", or "count-tokens", route to the default single-session report.
2 views 2,749 repository stars 0 commentsUpdated Nov 27, 2026
Overview

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 (--compare / --compare-prep / --compare-run / --count-tokens-only) from natural-language phrases. The skill body uses $ARGUMENTS[0] as the dispatch key — if the first positional argument is not literally "compare", "compare-prep", "compare-run", or "count-tokens", route to the default single-session report.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/centminmod/my-claude-code-setup' skill-source

Use the complete skill-source/.claude/skills/session-metrics directory with your client’s skill installer.

  • .claude/skills/session-metrics Claude Code

    master · SKILL.md

    Open installation source

    Client installation directory present in source repository

Source directory .claude/skills/session-metrics

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
43 included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
c2cc97f93e51efde796164522efb3528d9350074278fa211ded6de2f8a3029f4
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills