Turnbill — Development skill for Claude Code
See what every Claude Code prompt costs: a local dashboard over Claude Code transcripts, priced at API list prices.
How to install Turnbill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Thornaci/turnbill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Turnbill does
See what every Claude Code prompt costs: a local dashboard over Claude Code transcripts, priced at API list prices.
Alternatives in Development
- Clear Code — See your claude code logs in clear details in your dashboard 2.1k ★
- Claude Usage — A local dashboard for tracking your Claude Code token usage, costs, and session history 864 ★
- Cost Xray — See what Claude Code and Codex actually send to the API — and what each part costs 586 ★
README
Turnbill
**English** · [Türkçe](README.tr.md) · [Español](README.es.md)
See what your Claude Code usage costs, down to every prompt and API call. Turnbill reads the transcripts Claude Code already keeps on your machine and prices them at Anthropic's API list prices. It also shows why a prompt was expensive.
Download the full-quality video (MP4, 5 MB) · The demo uses made-up data.
Quick start
npx turnbill
Then open http://localhost:4317. Requires Node.js 20 or later. Nothing is uploaded: the server only listens on `127.0.0.1`.
| Flag | Default | |
|---|---|---|
--port |
4317 (or $PORT) |
Port to listen on |
--dir |
$CLAUDE_CONFIG_DIR/projects or ~/.claude/projects |
Where Claude Code keeps transcripts |
--open |
off | Open the browser |
What you get
**Overview.** API-equivalent spend for the selected range, split into cache reads, cache writes, output and input. It also shows how much prompt caching saved, spend per active day, and a month-end projection. Then it lists your projects by spend, a daily chart by model, a day × hour heatmap, your most expensive sessions and prompts, and the sessions running right now. With a Pro or Max plan set, it compares your usage with what you pay.
**Project.** Every session started in a directory, with active time, prompts, API calls, models and cost. You can filter, sort and export the list as CSV.
Related Skills
Claude Code Shadow Bill
Price your Claude Code transcripts at API list rates: request leaderboard, per-session costs, and the 60-minut
Overtime
A local dashboard for your Claude Code and Codex agents: plan limits and when they run out, cost at API prices
Claude Usage
Local dashboard for visualizing Claude Code token usage and estimated API costs
Claude Code Token Dashboard
Self-hosted dashboard for Claude Code token usage and API-equivalent cost. Reads your local transcripts, runs
Tokens Reset Dashboard
See how much of your Claude Code, Codex and Grok Build plan you have used and when it resets. One command, 100
StackRadar
StackRadar: free local dev dashboard + network firewall. Find every repo, run command & open port, catch leake
Related Agents
Standalone Model
Work out what a business costs to run on its own once its parent is gone: every service the parent gives, pric
Lookup Sonnet
Use proactively when a prompt asks to find, check, list or count something across more than three files or tra
Dashboard QA
Independent QA, inventory-lens, and trace-author subagent for dashboard-requirements runs. Reads the paths its