cc-usage
Installation
SKILL.md
Claude Code Usage Analyzer
Analyze Claude Code session data to generate usage reports with token counts, cost estimates, billing block tracking, tool usage stats, and per-project breakdowns.
Inspired by paulrobello/par_cc_usage.
How it works
Claude Code stores session data as JSONL files in:
~/.config/claude/projects/(Linux/macOS primary)~/.claude/projects/(legacy Unix)%USERPROFILE%\.claude\projects\(Windows, default)- Custom path via
CLAUDE_CONFIG_DIRenv var (all platforms)