Drachometer — Data skill for Claude Code
A Claude Code hook that logs every turn and tool call to a local SQLite database, with a browser dashboard for exploring token usage, costs, and cache efficiency.
How to install Drachometer
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open JamesDBartlett3/Drachometer and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Drachometer does
A Claude Code hook that logs every turn and tool call to a local SQLite database, with a browser dashboard for exploring token usage, costs, and cache efficiency. Features model-aware pricing, multi-sort tables, date filtering, live SSE refresh, and rich charts. No API keys or external services.
Alternatives in Data
- Claude Code Usage Monitor — by Maciek-roboblog - A real-time terminal-based tool for monitoring Claude Code token usage 7k ★
- Osint Employees — Gather employee names + email patterns for password spray prep 4.5k ★
- FACT — FACT – Fast Augmented Context Tools: FACT is a lean retrieval pattern that skips vector search 161 ★
README
Drachometer
Drachometer: "drachma" (ancient Greek currency) + "meter" = a token usage meter for Claude Code.
A Claude Code hook that logs every turn and tool call to a local SQLite database, with a browser dashboard for exploring token usage, costs, and cache efficiency. Features model-aware pricing, multi-sort tables, date filtering, live SSE refresh, and rich charts. No API keys or external services.

One-Line Install (Windows PowerShell)
irm https://raw.githubusercontent.com/JamesDBartlett3/drachometer/main/drachometer-install.ps1 | iex
One-Line Install (Mac, Linux, and WSL2)
curl -fsSL https://raw.githubusercontent.com/JamesDBartlett3/drachometer/main/drachometer-install.sh | bash
These bootstrap scripts resolve the latest published release via the GitHub Releases API, download the single packaged zip artifact to a temporary directory, extract it, and then run the existing installer. The installer finds your Python interpreter, copies hook scripts to `~/.claude/hooks/drachometer/`, registers them in `~/.claude/settings.json`, creates the database, and runs a smoke test.
Customizing the Install
The bootstrap scripts accept environment variables so you can point them at a fork, a private mirror, or a locally built zip:
| Variable | Default | Purpose |
|---|---|---|
DRACHOMETER_REPO |
JamesDBartlett3/drachometer |
GitHub owner/repo used to resolve releases |
Related Skills
Pulse Analytics
Local-first analytics for Claude Code, OpenAI Codex and OpenCode. Track tokens, costs, cache efficiency and ac
Claudex
by Kunwar Shah - Claudex - A web-based browser for exploring your Claude Code conversation history across proj
Tooner
🚀 Claude Code hook that automatically compresses JSON data by up to 60% using Toon format before sending to L
Statusline Bar
Modern, fully customizable Claude Code statusline. Single-file bash + jq, no plugin runtime, no network calls.
Smg
Engine-agnostic LLM gateway in Rust. Full OpenAI & Anthropic API compatibility across vLLM, TRT-LLM, TokenSpee
Dsh Agent Token Stats
Cross-agent token usage dashboard for DeepSeek Harness: aggregates local logs of Claude Code, OpenCode, Cursor
Related Agents
Stats Analyzer
Analyzes ~/.claude/stats-cache.json and history.jsonl to produce a concise usage report with model token break
Usage Reporter
Reads real Claude Code usage from ~/.claude/stats-cache.json. Reports daily/weekly token usage by model, cache
Nay
Agentistics intelligence agent. Use Nay when you need to query Claude Code usage metrics, analyze costs and pa