My household runs a few dozen automated helpers on one Claude subscription, and it kept running low days before the reset. The obvious suspects were the trading bots that never sleep, so I sat down to find and switch off whatever automation was idle or runaway.
I built a monitor to answer three questions: how much of the subscription gets used, who is spending it, and how much of that spending I can't even see. It pulls exact token counts from Claude Code transcripts on every host, reads a process sample every minute off each machine's /proc/<pid>/cgroup to catch anything that leaves no transcript, and checks the account's own api/oauth/usage meter for a 7-day and 5-hour baseline. The monitor itself makes zero Claude calls. There is a test that fails the build if it ever does.
The biggest spender was me
The 7-day split came back at $337 in automated weight against $718 interactive, in estimated API list-price dollars. Over 30 days the gap was wider still: interactive sessions on my main desktop alone ran about $6,300 in estimated weight. Roughly 70 percent of everything the subscription spent was me, sitting at a keyboard, not a scheduled job running while I slept.
That reframed the whole hunt. I had gone looking for a runaway bot and found that the fleet of bots, trading included, was small change next to my own usage. The trading bots stayed on. They were never the problem.
The writing bot that never finished
The automated share that did exist was dominated by one bot, not the ones I suspected. A writing bot responsible for two articles on a client site kept rewriting both of them every 15 minutes for a week straight: 142 reruns, each one a full pass with its own API cost, each one reported as a clean success.
The cause was a single bad check. The bot's definition of "done" was "a draft exists to show." When a job finished with nothing left to draft, because there was genuinely nothing new to say, it read that as unfinished and queued another run. Every run succeeded by its own logging. The site looked fine the whole time, because the content wasn't broken, just repeatedly regenerated.
Nothing about this showed up in an error log, a failed build, or a Slack alert, because nothing failed. A monitor that only answers "did it run" will wave this straight through. What caught it was a repeat-prompt fingerprint: a SHA-256 hash of the bot's full opening prompt with digits normalized, computed over the complete text rather than a 2,000-character stored snippet, since the writing bot's system prompt runs well past that cap. Hashing the truncated copy would have made every one of its calls look identical regardless of what it was actually asked, so the fingerprint has to run against the whole thing.
What changed
The writing bot's completion check now distinguishes "nothing new to write" from "failed to write," and a rerun of the same fingerprinted prompt inside a 24-hour window gets flagged instead of executed. The trading bots are untouched. The monitor keeps collecting, with budgets per caller set at 2 to 3 times each one's measured 30-day average, specifically so a week-long runaway doesn't get buried inside a median that quietly becomes the new normal.
The meter read 20 percent used on the day I ran this count, with the 7-day window resetting the following Tuesday at 18:00. I still check it by hand. A check that only confirms something ran was never going to catch something running too well.