What the agent can see decides what it can do. How to feed it, keep it clean, and carry knowledge between sessions.
Chapter 5 gave you a hard fact: everything the model will use has to fit in one request. Now the practical side of it. What the agent can see decides what it can do. A function it hasn't seen, it guesses at. A rule that has fallen out of the window might as well never have been written, and nothing warns you that it has gone.
So treat context as a budget you spend. Every file read and every test log stays in the window and gets read again on each later turn. This chapter teaches three habits: feed it what the task needs and little else, keep what is in there clean, and carry knowledge from one session to the next, since each one starts empty.
A lot of what gets said about this is folklore, so we separate the two. Established: every token is resent and billed, models recall less reliably from long contexts, and irrelevant text can hurt. Not established: any specific point at which a model "gets dumb". You will hear numbers. They are working rules from people who do this a lot, and no one has shown us the data behind them.
We read the tool behaviour here on 5 November 2026 (Claude Code v2.1.318), and it changes monthly. The benches count tokens with a small estimator on the page, tuned to Anthropic's published average of about 2.5 characters per token. It is not Claude's tokeniser, so use the count_tokens endpoint when you need the true figure.