Get your API key

Lesson 5 of 8

Context engineering: what sits on the desk

Point instead of pasting, use the right rules file per tool, and know when to compact, split or start fresh.

8 min Log in to open
One step at a time, like flipping pages.

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

  1. 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:

  1. KEEP and EVICT
  2. Point, don't paste
  3. The rules file is not the same in every tool
  4. Compact, note, split
  5. Recap