Claude Usage — Development skill for Claude Code
A local dashboard for tracking your Claude Code token usage, costs, and session history.
How to install Claude Usage
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open phuryn/claude-usage and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Usage does
[](LICENSE) [](https://claude.ai/code)
Alternatives in Development
- Coding Agent Session Search — Unified TUI and CLI to index and search your local coding agent session history across 11+ providers (Codex, C 708 ★
- Alethe Agents — A local-first desktop workspace for running, organizing, and resuming multiple coding agents and shells with r 511 ★
- Claude Dashboard — Comprehensive status line plugin for Claude Code with context usage, API rate limits, and cost tracking 258 ★
README
Claude Code Usage Dashboard
[](LICENSE) [](https://claude.ai/code)
**Pro and Max subscribers get a progress bar. This gives you the full picture.**
Claude Code writes detailed usage logs locally — token counts, models, sessions, projects — regardless of your plan. This dashboard reads those logs and turns them into charts and cost estimates. Works on API, Pro, and Max plans.
**Created by:** [The Product Compass Newsletter](https://www.productcompass.pm)
What this tracks
Works on **API, Pro, and Max plans** — Claude Code writes local usage logs regardless of subscription type. This tool reads those logs and gives you visibility that Anthropic's UI doesn't provide.
Captures usage from:
- Claude Code CLI (
claudecommand in terminal) - VS Code extension (Claude Code sidebar)
- Dispatched Code sessions (sessions routed through Claude Code)
**Not captured:**
- Cowork sessions — these run server-side and do not write local JSONL transcripts
Requirements
- Python 3.8+
- No third-party packages — uses only the standard library (
sqlite3,http.server,json,pathlib)
Anyone running Claude Code already has Python installed.
Quick Start
No `pip install`, no virtual environment, no build step.
Windows
git clone https://github.com/phuryn/claude-usage
cd claude-usage
python cli.py dashboard
macOS / Linux
git clone https://github.com/phuryn/claude-usage
cd claude-usage
python3 cli.py dashboard
Usage
On macOS/Linux, use `python3` instead of `python` in all commands below.
# Scan JSONL files and populate the database (~/.claude/usage.db)
python cli.py scan
# Show today's usage summary by model (in terminal)
python cli.py today
# Show all-time statistics (in terminal)
python cli.py stats
# Scan + open browser dashboard at http://localhost:8080
python cli.py dashboard
# Custom host and port via environment variables
HOST=0.0.0.0 PORT=9000 python cli.py dashboard
...
Related Skills
Claude Session Explorer
Second Brain: a private, local dashboard for your Claude Code history. Mind map, sessions, agents, what's inst
Claude Usage
Local dashboard for visualizing Claude Code token usage and estimated API costs
Tokens Gone
Local dashboard for Claude Code token usage and costs. Reads ~/.claude/projects//.jsonl, aggregates spend, sli
Claude Skills Dashboard
A local dashboard for your Claude Code skills and plugins: enable/disable, install, delete, token costs and us
Cato Plugin
Cut Claude Code token costs by 35-80% with prompt-cache TTL tracking, pre-read structural indexing, noisy CLI
Poke Agent Safari
Pokemon-themed live dashboard for Claude Code agents with session status, token usage, and Pokedex tracking.
Related Agents
Stats Analyzer
Analyzes ~/.claude/stats-cache.json and history.jsonl to produce a concise usage report with model token break
Nay
Agentistics intelligence agent. Use Nay when you need to query Claude Code usage metrics, analyze costs and pa
API Cost Scanner
Scans codebase for AI/API cost optimization opportunities including model usage, token estimates, caching stra