Skip to main content

claude-code-token-usage

Stars9
Forks2
UpdatedMarch 12, 2026 at 19:36

Calculate project-specific token usage and costs from Claude Code session data. Use when: (1) user asks "how many tokens have I used?", (2) user wants to see project costs, (3) analyzing Claude Code usage patterns, (4) comparing usage across projects. Covers parsing ~/.claude session files, extracting token counts, and calculating estimated costs with prompt caching.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly