What did my AI agents spend on one git branch?
Claude Code’s /cost shows one session at a time, so the cost of a feature means adding up every session on its branch by hand. ACTVT records the git branch of every Claude Code and Codex session on your Mac. In the session browser (See all), the Branch filter lists every branch your agents worked on; pick one, and the line under the filters adds up the matching sessions: how many, what they cost at API rates, their tokens and their active time. It counts every session the filters match, including ones whose transcript was deleted, and it combines with the other filters, such as Date or a project. The figure is what the work would cost at API rates from ACTVT’s pricing table, not your bill. The session browser and its filters are part of the Premium tier.
0:403 chapters
Step by step
0:00Open your sessions
ACTVT’s home view lists your agents’ sessions, each with its git branch. Here, two branches of one repo, refunds and tax-rounding, both worked on by Claude Code. See all opens the session browser, and the line under the filters adds up everything it lists.
0:15Filter by branch
The Branch filter lists every branch your agents worked on.
0:20Read the total
Pick refunds: 6 sessions, $0.45 at API rates, with their tokens and active time, and the sessions below it. Switch to tax-rounding: 2 sessions, $0.15.
Questions
- Is the total my bill?
- No. It’s what the work would cost at API rates. On a subscription your plan meters usage differently.
- Does it include Codex?
- Yes. Codex sessions carry their branch too, and the total counts every session the filter matches. The video shows Claude Code only.
- Can I narrow it to a week or a project?
- Yes. The total follows every filter you set, such as Date or a project.
More tutorials
All tutorials →
1:24Every machine you code on
See Claude Code, Codex and pi sessions from all your machines over SSH
Start Claude Code on another Mac over SSH, and you can follow the session from your own Mac while it runs and read the whole transcript when it’s done.
3:42Leftover ports
Find and kill the dev server Claude Code or Codex left running
Claude Code starts a dev server and then quits, and port 3000 stays taken. ACTVT shows you the server whose session is gone and lets you free the port safely.
1:23A plan-aware agent
Check your Claude and Codex plan limits before a long agent job
Before a long job, Claude Code asks ACTVT how much of your plan is left. ACTVT’s Overview shows the same limits, with a pace tick, last week’s share, and an alert before a limit runs out.
Try it on your own agents
ACTVT is free to start, and reads the session files Claude Code, Codex CLI and Pi already write. Nothing to configure.