Thornaci

Turnbill — Development skill for Claude Code

Development community

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.

Turnbill demo: run npx turnbill, open a project, open a session, expand the most expensive prompt to see each API call, then copy a cost review

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.

Overview page: spend for the last 30 days by token type, with projects ranked by cost

**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.