Claude Code Spends 15–20% of Tokens on a 3-Word Agent Status Line

✍️ OpenClawRadar📅 Published: October 29, 2026🔗 Source
Ad

Claude Code has been quietly sending every background agent's entire transcript to that agent's model — usually Opus — at roughly 30-second intervals, asking it to "describe your most recent action in 3-5 words." The result only updates the status line in the agents panel. It never reaches your conversation or the model's reasoning. Per Flamerix AI's measurement via Claude Code's OpenTelemetry export, the query_source = agent_summary requests accounted for 16.4% of total Claude Code spend in the week before their hook, versus 15.7% for the main conversation. That's 19.7% of all API requests — roughly 1 in 5 — with 96% of the agent_summary spend landing on Opus. Input-to-output token ratio on those calls: approximately 9,000:1.

The behavior has defaulted on since 2.1.232 (August 2026), and there's no built-in setting to disable it. The gist notes that HN thread #86879 collects four independent measurements putting the range at 18–26%.

How the fix works

no-agent-summary.js is a ~80-line Bun preload. It wraps setTimeout and setInterval, checks each timer callback's source text via Function.prototype.toString for a summarizer anchor like the [AgentSummary] Timer fired log line, and returns an inert handle instead of arming the timer. All other timers pass through unchanged. The inert delay uses exactly 2³¹−1 ms because Node and Bun treat anything larger as a 1 ms delay — an "infinite" timer would fire immediately.

Why the timer hook instead of a cleaner approach: the module ships as precompiled Bun bytecode, so patching JS text inside the binary does nothing, and the API client doesn't route through a wrapped globalThis.fetch. The callback source string is still readable from bytecode, so string matching on the timer is the viable entry point.

Ad

Install

Download the preload, stop the daemon, and relaunch with BUN_OPTIONS pointing at it:

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 stick across every Claude Code process, export it in your shell profile:

export BUN_OPTIONS="${BUN_OPTIONS:+$BUN_OPTIONS } --preload /abs/path/no-agent-summary.js"

Fish users: set -gx BUN_OPTIONS "--preload /abs/path/no-agent-summary.js". There's also a systemd user env variant at ~/.config/environment.d/50-no-agent-summary.conf. The binary is not modified — this is purely BUN_OPTIONS=--preload injection, MIT licensed, and tested on Claude Code 2.1.257–2.1.312 on Linux.

Caveat

A Claude Code update can silently drop the preload, so the gist includes a Verify step: check the OpenTelemetry export and confirm no claude_code.api_request events carry query_source = agent_summary. If they're back, the hook stopped loading.

If you're on a subscription, the loss here isn't billing — it's rate-limit headroom. One-fifth of your requests going to transcript summarization means you hit your limits sooner.

📖 Read the full source: HN AI Agents

Ad

👀 See Also

🦀
Tools

Reef Infra's OpenClaw-RL Turns User Corrections Into Training Data — Session Matching Is the Catch

Reef Infra's OpenClaw-RL recipe reconstructs conversations from inference traffic, judges completed turns with a PRM, and feeds accepted feedback into a policy update. Session correlation is the deployment detail that decides whether any of it works.

OpenClawRadar
Developer creates read/write WordPress MCP plugin with 28 abilities
Tools

Developer creates read/write WordPress MCP plugin with 28 abilities

A developer built a WordPress plugin that registers 28 MCP abilities through the WordPress Abilities API, enabling full read/write access for AI coding agents. The plugin handles content management, quality auditing, and safety features, converting between Markdown and Gutenberg blocks automatically.

OpenClawRadar
Using Claude to Automate Mobile App QA with Capacitor WebViews
Tools

Using Claude to Automate Mobile App QA with Capacitor WebViews

A developer built an automated QA system using Claude to test a Capacitor-based mobile app across Android and iOS. The approach uses Chrome DevTools Protocol for Android WebViews and screenshots for visual analysis, with Android setup taking 90 minutes versus 6+ hours for iOS.

OpenClawRadar
Opendesk: MCP + SOM algorithm for AI desktop control via Claude Code
Tools

Opendesk: MCP + SOM algorithm for AI desktop control via Claude Code

Opendesk gives AI agents eyes and hands on your desktop via an MCP server with a custom SOM algorithm. Integrates with Claude Code or any agentic harness for mouse/keyboard control, learning, replay, and scheduling.

OpenClawRadar