skills/claude-stats/SKILL.md
Generate an interactive HTML report of your Claude Code usage (sessions, messages, tokens, active days, streaks, peak times, model usage by day, top projects/tools) by parsing ~/.claude/projects/*.jsonl. Use when the user asks for their Claude stats, usage, activity, streaks, token breakdown, or wants to see how they use Claude over time.
npx skillsauth add benwaffle/skills claude-statsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Builds a single self-contained HTML report from the user's local Claude Code conversation logs.
python3 "${CLAUDE_PLUGIN_ROOT:-$(dirname "$0")}/build_stats.py" [OUTPUT_HTML] [CLAUDE_DIR]
OUTPUT_HTML — where to write the report. Defaults to ./claude_stats.html.CLAUDE_DIR — Claude config directory. Defaults to $CLAUDE_DIR or ~/.claude.The script writes a sidecar .json next to the HTML (same basename) for debugging or re-use.
After running, open the HTML in the browser: open <output_html> (macOS) or xdg-open (Linux).
The report has a filter bar: All time · By month · By week · Last 30d · Last 7d. Selecting By month or By week reveals clickable chips (one per bucket, showing its message count). All charts, cards, and tables rescope to the selection.
Streaks intentionally stay all-time — streak length inside a single week is meaningless.
*.jsonl under <CLAUDE_DIR>/projects/ recursively (includes subagent logs).<synthetic> assistant messages from model tallies (they have no real usage).type: "user" but tool results aren't counted as user messages).tool_use block in assistant messages.When the user asks for "my Claude stats" or "usage report":
/tmp/claude_stats.html.open the HTML so the user can explore interactively.The report is fully client-side — Chart.js is loaded from jsdelivr CDN. No data leaves the machine.
tools
Put formatted content on the macOS clipboard so it renders correctly when pasted into a Slack message composer (bold/italic/lists via HTML, tables via TSV).
development
Generate self-contained HTML slideshows for technical concepts with diagrams, code highlighting, math, and charts
databases
Query and analyze Apple .logarchive files using the macOS `log show` command
development
Android Debug Bridge (ADB) assistant for inspecting, debugging, and managing Android devices