Claude Code background summaries reportedly consume 15–20% of tokens
Flamerix AI reports that Claude Code sends each background agent’s full transcript to its model about every 30 seconds to generate a three-to-five-word status summary. Its telemetry attributes roughly 15–20% of Claude Code token use to these requests, although the estimate is not based on invoices. The project provides an MIT-licensed Bun preload that suppresses the summary timers on Linux without modifying the Claude Code binary.
If the reported behavior is representative, Claude Code users running background agents may be able to reclaim significant usage headroom by disabling these otherwise undocumented summary requests.
Claude Code burns ~15-20% of your tokens on a 3-word status line: a Bun preload that turns agent_summary off · by Flamerix AI, flamerix.ai · MIT
by Flamerix AI · MIT License
Tested on Linux, Claude Code 2.1.257–2.1.312 (see Tested versions). The binary is not modified (
BUN_OPTIONS=--preload). An update can silently undo it, so see Verify.
TL;DR
curl -fsSL https://gist.githubusercontent.com/flamerix-ai/c3905705cc4205e5de3011fa2e74efce/raw/no-agent-summary.js -o ~/.local/share/no-agent-summary.js claude daemon stop --any BUN_OPTIONS="${BUN_OPTIONS:+$BUN_OPTIONS }--preload $HOME/.local/share/no-agent-summary.js" claude
To make it permanent for every Claude Code process, see Install.