Who it is forA developer or team lead who wants a quick written record of how much agent work went into a project, without opening a browser.
The problemThe browser view is hard to paste into notes or a status update, and a plain list is quicker to scan.
The outcomeAn indented text list with prompt counts, changes to files, hours at the keyboard, commits and the API-rate total, saved to a file if you want it.
What you need first
- A Claude Code, OpenAI Codex CLI or Pi installation with existing session history on this machine
- Homebrew on macOS, or the install script on Linux or Windows, or Go installed
- A terminal to run bough in
Steps
- Install Bough as described in the README.
- Run
bough --listto see every project with history. - Run
bough <project-name> --textto print the summary to the terminal. (inferred, check the README) - Run
bough <project-name> --text -o notes.txtto save it to a file. (inferred, check the README)
Prompt for your agent
In the bough repo at github.com/nickelsec/bough, run `bough --list` and then `bough <project-name> --text -o summary.txt` for the project named <project-name>. Confirm that summary.txt exists and contains a total dollar figure labelled as API-rate cost.
Caveat. The text view counts what the agent did from its transcripts, so it may not match the number your agent host shows, and Bough says so in its output.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for nickelsec/bough and "Get a plain text cost summary for a project"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer