Bough Work and Cost Explorer

Turn Claude Code, Codex CLI, and Pi histories into a browsable work map with per-task API-rate estimates.

Source repo
nickelsec/bough
Stars
★ 133
Last updated
5d ago
License
MIT
Primary language
Go

At a glance

How it runs
CLIWeb app
Works with
Portable with changesCodex · Claude Code
Cost
Free, no paid service needed
Setup effort
Low · running in minutes
You'll need
Gogolang.org/x/termShell / CLILocal filesystem
Typical use
A Claude Code user who wants to review prompts, failures, and estimated spend for a feature or afternoon of work.
Not a fit if
  • Teams that need costs to match subscription invoices
  • Users who need extensively validated Codex or Pi metrics
Website
bough.run ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-11-11latest release v0.8.0 (2026-10-02)
Source review
78/100 · Good

What does this agent do, and when should you use it?

Bough is a Go CLI that reads local session histories from Claude Code, OpenAI Codex CLI, and Pi, then organizes prompts into tasks and sittings. Running bough opens a local browser view bound to 127.0.0.1, with a work diagram, full prompt records, estimated task costs, and Git commit details. It can also print a terminal list with --text or export the work structure without visual layout using --json. The single binary works offline by default, makes no model calls, and sends no data; it reads histories and project Git history without modifying them. Costs use published API rates and are not subscription invoices; the project is early, and its grouping thresholds were fitted to one developer's history.

When invoked, bough discovers histories for Claude Code, Codex CLI, and Pi and reads prompts, tools, files, commits, and token counts by project. It groups prompts into tasks and tasks into sittings; the browser view draws those levels, and selecting a node opens the corresponding untrimmed prompt record. Bough reads local Git history at paths named in the transcripts to check commits; --no-repo disables that read. It estimates task and project cost using published rates built into the binary. Models with no published rate or request-size pricing show token counts with NA for the amount. Use --agent to select a history source and --text, --json, or -o to choose an output path; --rename assigns a display name to a project.

  1. A Claude Code user who wants to review prompts, failures, and estimated spend for a feature or afternoon of work.
  2. A developer switching among Claude Code, Codex CLI, and Pi who wants those local project histories in one list.
  3. A user who needs to feed work records into another script or analysis flow can export the structure with --json.
  4. A terminal-focused developer can inspect task summaries with --text or write output to a file.
  5. A developer checking which commits appear in a session history can compare them with the local project Git history, or turn that read off.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • brew install nickelsec/tap/bough
  • curl -fsSL https://www.bough.run/install.sh | sh
  • irm https://www.bough.run/install.ps1 | iex
  • go install github.com/nickelsec/bough/cmd/bough@latest
Install notes cover
Windows · macOS · Linux

How do you install or deploy this agent?

On macOS, install with Homebrew:

brew install nickelsec/tap/bough

On Linux or macOS without Homebrew, run:

curl -fsSL https://www.bough.run/install.sh | sh

On Windows, run:

irm https://www.bough.run/install.ps1 | iex

Go users can install with:

go install github.com/nickelsec/bough/cmd/bough@latest

To build from source:

git clone https://github.com/nickelsec/bough
cd bough
go build ./cmd/bough

The README says the install scripts check published checksums. No API key or model service is required. Building from source requires Go; the project lists one dependency, golang.org/x/term.

How do you use this agent?

First run:

bough

Bough discovers projects and opens its local browser view. Common options:

bough --text
bough --json
bough --agent=pi
bough --no-repo
bough --root DIR
bough project-one --rename "Portfolio site"

--text prints a terminal list, --json exports the work structure, and --agent accepts claude, codex, pi, or all. Set --root to read histories from a different directory. Open a named project with bough project-one, or write output to a file with bough -o notes.txt.

What are this agent's strengths and limitations?

Pros
  • Its prompts-to-tasks-to-sittings view makes individual pieces of work inspectable instead of treating a multiweek session as one unit.
  • It automatically reads Claude Code, Codex CLI, and Pi histories and lets users filter by agent.
  • Published rates are built into the binary for offline estimates; models it cannot price are marked NA.
  • Users can inspect results in a local browser, as terminal text, or as JSON.
Limitations
  • Task-grouping thresholds were fitted to one developer's history and may place boundaries poorly for other workflows.
  • The README describes Codex and Pi support as newer and less exposed, so their metrics warrant extra scrutiny.
  • Cost figures use published API rates and do not represent a user's actual subscription or invoice.
  • Models without published rates or with request-size pricing get token counts but no cost figure.

How does this agent compare with similar options?

The README distinguishes Bough from Claude Code's /stats: /stats covers usage statistics, while Bough groups work into tasks and estimates their costs. It also notes that usage tools generally stop at the session level; Bough attempts to split sessions into tasks.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Bough Work and Cost Explorer This agent 78 · Good CLIFree ★ 133 5d ago Go Codex · Claude Code
ChatLab — Chat History Analyzer 70 · Some gaps Desktop appFree + model costs ★ 7.7k 2d ago TypeScript —
Principia 66 · Some gaps CLIFree + model costs ★ 1.1k 1mo ago Rich Text Format —
Open Science Workbench 81 · Good Desktop appFree + model costs ★ 5.5k today TypeScript Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Good
78/ 100 5-point scale 3.9 / 5
Trust 23/29
Reliability 9/14
Adaptability 14/18
Convention 14/18
Effectiveness 12/13
Verifiability 6/8
Why each dimension lost points
Trust23 / 29 · 4.0/5

The README and SECURITY.md limit the described inputs to local agent histories and optional Git history, and say the page binds to 127.0.0.1 without needing a network. The rate generator uses the network only when someone explicitly refreshes rates, not during history reading. Writes are described as limited to names.json when renaming, while ordinary reads are read-only; there is no per-use confirmation for sensitive transcripts, so confirmation is not full marks. The tool displays untrimmed prompts, and the supplied material shows no dedicated redaction or protection mechanism. The dependency set is small and CI includes security scans, but no audit results are supplied.

Reliability9 / 14 · 3.2/5

The README discloses grouping thresholds, cost-estimate caveats, and differences from Git counts; the main command reports partially unreadable history and missing history. However, the privacy claims are supported here mainly by README statements and partial code/comments, without the full server and parser sources for corroboration. The dependency count is low, but toolchain and dependency availability still matter; release and change-history evidence is limited.

Adaptability14 / 18 · 3.9/5

The product targets local history analysis for Claude Code, Codex CLI, and Pi, with project selection, text and JSON output, agent filtering, custom roots, and an option to skip Git reads. Its boundaries are clear: it is not a bill, it does not cover other agents, and it identifies local Pi models. Thresholds are fitted to one developer's history and Codex/Pi have less exposure, limiting fit and confidence across users.

Convention14 / 18 · 3.9/5

The README clearly organizes features, commands, layout, format notes, and limitations. Installation covers major platforms and offers checksum and non-script alternatives, though the install scripts themselves are not in the supplied packet for inspection. Naming and commands appear stable; examples are concrete, but no FAQ evidence is supplied. The MIT license text is complete. Security reporting and maintenance guidance are clear, but SECURITY.md says there are no releases yet and the packet contains no formal changelog or stable-version commitment.

Effectiveness12 / 13 · 4.6/5

The browser, text, and JSON outputs expose projects, sittings, tasks, prompts, files, commits, and task-level cost. The README explains the value of going beyond session-level grouping. Costs use published API rates rather than actual billing, and long-context rereading can dominate; thresholds are fitted to one person's history, limiting the value of estimates and grouping for other users.

Verifiability6 / 8 · 3.8/5

The README links major behavior to commands, internal modules, and agent-format notes, and distinguishes recorded facts from inferred grouping and API-rate estimates. The README, main-command excerpt, rate generator, license, and CI configuration provide partial corroboration. The source sample is incomplete, so all privacy and parser claims cannot be checked from the supplied static evidence; cross-source corroboration is therefore not full marks.

Risks and how to mitigate them
  • Costs are estimates at published API rates, not subscription or actual bills; unpriceable models may show token counts without a price.
  • Task and sitting boundaries are tuned on one developer's history, and the README says Codex and Pi have had less exposure.
  • The tool displays untrimmed prompts. Check for sensitive content before screen sharing or exporting text or JSON.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 2f101adab6da
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/bough.svg)](https://followagents.com/en/agents/bough)
<a href="https://followagents.com/en/agents/bough"><img src="https://followagents.com/badge/bough.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v0.8.0
    Release notes excerpt
    Full Changelog: https://github.com/nickelsec/bough/compare/v0.7.1...v0.8.0
    View on GitHub ↗
  2. v0.7.1
    Release notes excerpt
    Full Changelog: https://github.com/nickelsec/bough/compare/v0.7.0...v0.7.1
    View on GitHub ↗
  3. v0.7.0
    Release notes excerpt
    Full Changelog: https://github.com/nickelsec/bough/compare/v0.6.1...v0.7.0
    View on GitHub ↗

FAQ

Is the displayed cost what I was billed?
No. Bough prices work at published API rates. Subscriptions are often flat-rate, and the history does not say which billing arrangement you used.
Does it upload session history or repository contents?
No. The README says Bough makes no network calls and does not call a model; it reads agent histories and local Git history without writing to them. Renaming a project writes names.json in Bough's own settings directory.
Which coding assistants can it read?
Claude Code, OpenAI Codex CLI, and Pi are supported and discovered automatically. You can select one with --agent=claude, --agent=codex, --agent=pi, or --agent=all.
Will it still work if a project moved or is not a Git repository?
Yes. The README says it continues without repository history for a moved or non-repository project; --no-repo also disables repository reading.
Are task and sitting boundaries guaranteed to fit my work?
No. The thresholds were fitted to one developer's history, and the README cautions that they may not suit someone else's workflow.
Does Bough Work and Cost Explorer work on Windows?
Yes. The install notes on this page include a Windows command: irm https://www.bough.run/install.ps1 | iex.
Is Bough Work and Cost Explorer open source?
Yes. The source code is on GitHub (nickelsec/bough) under the MIT licence.
Is Bough Work and Cost Explorer safe to use?
FollowAgents' FARS review (Nov 08, 2026) scored Bough Work and Cost Explorer 23/29 on trust and safety. None of the eight safety controls the review checks for was missing outright.
Is Bough Work and Cost Explorer still maintained?
Yes. The latest commit on GitHub is from 2026-11-11, within the last 30 days. The latest release is v0.8.0 (2026-10-02).
Who makes Bough Work and Cost Explorer?
Bough Work and Cost Explorer is published on GitHub by the account nickelsec. FollowAgents has not verified which person or company is behind that account.
What is Bough Work and Cost Explorer's official website?
The project's GitHub repository lists https://www.bough.run as its website. That link is set by the repository owner; the source code itself is on GitHub (nickelsec/bough).
Was this page helpful?
View on GitHub ↗ Install ↓

Host ecosystems

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts