By the end of this lesson you will know what deserves a place on the agent's desk, which rules file each tool reads, and when to compact, split or start fresh.
You need: the rules file you made in Prompting for AI coding · Time: 8 minutes
Every agent has a context window, and every token in it competes for attention. Anthropic calls this the attention budget: as the number of tokens grows, the model's ability to reliably recall what is in there goes down. Researchers call the effect context rot.
So a bigger window does not mean "paste everything". It means you have more room to be careless, and carelessness is what makes the agent forget the one requirement you actually cared about.
Why?Prompt crafting is about words. Context engineering is about what you allow in the room while those words are read. The second one decides whether the first one survives.
Log in free to read the rest of this lesson
Every lesson is free. A free account unlocks all of them and saves your progress.
Still to come in this lesson:
- KEEP and EVICT
- Point, don't paste
- The rules file is not the same in every tool
- Compact, note, split
- Recap