Priberry research · Finding · December 2026

29% of what our coding agent re-read was tool output. 1.2% was the conversation

In our last finding, 97.5% of our coding agent's tokens were cached context read back again. This time we asked what that context was made of. Across the same 107,597 Claude Code calls, tool output filled 29% of the 23.6 billion re-read tokens. What the person typed and what the agent wrote back filled 1.2%.

This is our own machine, totals only. Priberry makes Tare, an open-source tool that shows where a coding agent's tokens go.

29%of re-read tokens were tool output (range 26–33%)
1.2%were the conversation, both sides (range 1.2–1.5%)
44%were the agent's own setup and reminders, sent again on every call
51%of the context that grew during a session was tool output (range 48–60%)

What the re-read context was made of

The agent's own setup: system prompt, tool definitions, project instructions and injected reminders
44.3%
Tool output: command output, file reads, search and tool results
28.6%
Tool calls the agent wrote: commands, file edits
9.4%
The model's earlier thinking
6.1%
Summaries left by compaction
2.1%
The conversation: what the person typed and the agent's replies
1.2%
Not tied to any logged piece (per-call overhead)
8.3%

Tool output, by kind

Shares of all re-read tokens.

Shell command output
15.7%
Connected (MCP) tools, all servers together
5.1%
File reads
4.6%
Images and documents from tools
1.6%
Web and code search results
0.8%
Other tools (edits, to-dos and the rest)
0.3%
Sub-agent reports
0.2%
Web pages fetched
0.2%

What to take from it

Every call sends the whole context again, so a piece of context costs as many times as there are calls after it. Almost half of what our agent re-read was its own setup and reminders, and 34% was there before anyone typed a word. Of the part that grows during a session, tool output was about half, and shell command output alone was 15.7% of everything re-read. The conversation, the part people tend to think of as "the context", was about 1.2%.

This tells you where the bulk is. It does not tell you how much of it the agent didn't need, and we make no claim about that here.

Check your own

npx tarelab

It runs on your machine and uploads nothing. Priberry makes six free, open-source tools:

Launch Blockers
the leaks AI-built apps ship, checked in your codenpx launch-blockers check
Rolelock
users who can raise their own role, checked in your supabase/ foldernpx rolelock@0.1.1 ./my-app
Greenlit
what a stranger can see in your live appnpx greenlitlab
Crumple
a crash-test lab for AI coding agentsnpx crumplelab attack
Tare
where your coding agent's tokens gonpx tarelab
MarkOS
an AI exec team on your own computermarkos.priberry.com

How we did it, and the limits

More studies: priberry.com/research · Launch Blockers, Rolelock, Greenlit, Crumple, Tare and MarkOS (priberry.com/#tools)