Claude Code usage

Bough

Claude Code, Codex and Pi write down everything you do. bough draws it and prices it: a day, the work inside it, every prompt, and what each piece cost. One Go binary, runs on your machine, sends nothing anywhere.

129 stars 15 forksUsage & cost trackers Source

Install

Install
brew install nickelsec/tap/bough

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/nickelsec/bough.git

From the README

Reads your Claude Code, OpenAI Codex CLI and Pi session history, draws what you actually built, and prices it.

Not how long your streak is. Claude Code's own /stats covers that. This
answers a different question: what did you build, and what did each piece of
it cost?

Usage tools stop at a session, and a session is a hash that can cover weeks of
unrelated work. bough works out where one piece of work ends and the next
begins, so the money lands on things you recognise: that feature, that
afternoon lost to one bug.

Run it

That is the whole thing. It finds your projects and opens them in your
browser, a card for each with your time at the keyboard and what it cost.
Search them, narrow them to one agent, or sort by time or cost, then click one
to open it. Projects, at the top left, takes you back.

Inside a project you get a diagram of your own work. A square on the line is a sitting,
labelled with the day, the time you started and how long you were at the
keyboard. Smaller squares hanging off it are the tasks inside that sitting.
Every circle is a single prompt you typed.

Hover anything and the path back to its day lights up, with a note saying what
it was. Click it and the full record opens beside the drawing, scrolled to the
exact prompt, in your own words and untrimmed. Work that went badly is drawn in
rust rather than green.

A task carrying a small mark is one that ended in a commit, and the note gives
you the hash and the message. Everything else in the drawing is worked out from
your history; this is the part you can go and check.

Dotted lines can join sittings that went back to the same files, so work picked
up again later can be followed across the gap. On a long project there are a
lot of them, so they start hidden, and "What to show" in the rail turns…
Read the full README on GitHub

Details

Language
Go
License
MIT
Last updated
28 October 2026
Topics
ai-codingclaudeclaude-codeclaude-code-toolsclicodexcodex-clicoding-agentdeveloper-toolsgolangllm-costlocal-first

FAQ

What is Bough?

Claude Code, Codex and Pi write down everything you do. bough draws it and prices it: a day, the work inside it, every prompt, and what each piece cost. One Go binary, runs on your machine, sends nothing anywhere. It is a usage for Claude Code, from nickelsec/bough on GitHub.

How do I install Bough?

Run brew install nickelsec/tap/bough, then follow the setup in the README.

Is Bough popular?

nickelsec/bough has 129 GitHub stars and 15 forks, and is included in 1 curated Claude Code list. It was last updated on 28 October 2026.

More usage & cost trackers

Browse the most popular Claude Code mods, all usage & cost trackers, or the skills and MCP server directories.