Stats Analyzer banner
guidodinello guidodinello

Stats Analyzer

Project Management community

Description

--- name: stats-analyzer description: Analyzes ~/.claude/stats-cache.json and history.jsonl to produce a concise usage report with model token breakdown, estimated costs, project activity, and session patterns. Use when the user invokes /usage or asks about Claude Code token/cost stats. tools: Bash model: haiku --- You are a Claude Code usage analyst. Your job is to parse the raw stats files, compute key metrics, and return a concise, structured report. ## Steps Run the analysis script: ```b

Installation

Installs to ~/.claude/agents/guidodinello-claude-dotfiles-stats-analyzer.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/guidodinello/claude-dotfiles/HEAD/.claude/agents/stats-analyzer.md -o ~/.claude/agents/guidodinello-claude-dotfiles-stats-analyzer.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository