Where my Claude Code spend actually went last week
I shipped claude-agent-ledger v0.4
this morning. The new flag is --by project — group your Claude Code spend by
which folder under ~/.claude/projects/ the session belonged to.
I added it because I thought I was spreading my time roughly evenly across a few side projects. Some iOS work over here, the blog over there, day-job spillover in the middle.
Then I ran it on my own logs:
agent-ledger week --by project
~/clawbot $6,657.93 ← 50%
~/clawbot-work $4,433.32 ← 33%
~/ZStack-zstack-workspace $1,890.02 ← 14%
~/gpu-hustle-product-video $177.72
~/newlive $145.77
~/Adbot $89.80
~/clawbot-Game $29.92
~/.openclaw/agents/zstackws $25.11
~/ZStack $0.45
─────────────────────────────────────
total $13,449.57
Three projects = 97% of the week’s compute. The other six combined didn’t break $200.
The bit that bugs me is which projects are which. The 97% are the things I mention to nobody — the iOS app factory and a couple of internal automation projects that just need finishing. The 3% are the ones I’d tell you I’m “working on.” This week I wasn’t.
I don’t think this is a calendar problem. Claude Code makes the cheap thing
(thinking out loud about whatever’s on your mind) feel the same as the
expensive thing (actually moving the iOS factory forward). Without a per-project
view it all blurs into one number — /cost showed me a few hundred dollars
that day, the dashboard never showed me where I’d actually been.
If you run multiple Claude Code sessions and want this for yourself, the install is one line:
npm install -g claude-agent-ledger
agent-ledger week --by project
Reads your local JSONL, never touches the network, MIT.
The number that surprised you about your own logs — please tell me. I’m collecting these.