inferwire
/
AI·3 min read

Claude Code Re-sends Agent Transcripts Every 30s for Status Lines

A gist by Flamerix AI shows Claude Code sends each background agent's full transcript to its model about every 30 seconds just to fill a status line, and offers a preload that turns it off.

TL;DR

  • Claude Code sends each background agent's entire transcript to its model about every 30 seconds for a 3-to-5-word status line, Flamerix AI reports [^1].
  • In one measurement this cost more than the main conversation: 16.4 percent of Claude Code's estimated spend and about one in five API requests [^1].

Background

Claude Code can run background agents alongside the main conversation, each with its own model, usually Opus [^1]. An agents panel shows a short status line for each of them. Every model request costs tokens: on the API that is money, and on a subscription it is rate-limit headroom [^1].

What happened

Flamerix AI published a gist describing what feeds that status line. For every background agent, Claude Code periodically sends the agent's full transcript to its model with a request to "describe your most recent action in 3-5 words." The answer only updates the panel; it never reaches the model's context or the user's conversation [^1]. The gist says there is no setting to turn this off and that it has been on by default since version 2.1.232, released in August 2026 [^1].

The anomaly showed up in Claude Code's OpenTelemetry export, where requests are tagged with a query source. In the week before the fix, requests tagged agent_summary made up 16.4 percent of Claude Code's spend, compared with 15.7 percent for the main conversation, and 19.7 percent of all API requests. 96 percent of that spend went to Opus, at roughly 9,000 input tokens per output token [^1]. "Spend" here is Claude Code's own per-request cost estimate, not an invoice, and the gist cites four independent measurements of 18 to 26 percent [^1].

The fix is a roughly 70-line file, no-agent-summary.js, loaded through Bun's preload option. It wraps the global setTimeout and replaces only the summary timer with an inert one, without modifying the Claude Code binary [^1]. It was tested on Linux with Claude Code 2.1.257 to 2.1.312; others report it working on macOS, and an update can silently undo it [^1].

Why it matters

Background agents make the cost of a coding assistant harder to see. A feature that looks free in the interface, a few words in a status panel, can consume as much as the work itself when every refresh re-sends a whole transcript. Without telemetry broken down by request type, a user would only notice that limits run out sooner than expected. The measurements also show why per-feature switches matter: Flamerix AI had to hook a timer from outside because, according to the gist, there was no supported way to opt out [^1].

Practical example

Say you run three background agents on a long refactoring task. Each one gets its transcript re-sent to Opus about every 30 seconds just to keep its line in the agents panel current [^1]. After an hour you have hit your plan's limit, although most of the useful work happened in the main conversation. If your setup exports OpenTelemetry data, grouping requests by query source shows how much of that went to agent_summary [^1].

Related gear

We recommend this book because managing state, context boundaries, and developer tooling at scale requires structural rigor across modern software stacks.

AdvertisementAmazon

Software Engineering at Google

Sources

  1. [1]Flamerix AI on GitHub Gist — Claude Code burns ~15–20% of your tokens on a 3-word status line
  2. [2]Hacker News — Claude Code regularly sends each background agent’s transcript to its model