← Chapter 58. Context engineering
The context window as a workbench
Swipe to change step
Step 1 of 8. Think of the context window as a workbench. Only what is on the bench can be used, and a cluttered bench makes the work worse. The aim is the smallest set of high-signal tokens for the next step. Instructions (system prompt + repo map). Recent turns (the step in hand). search_docs (returns ids). Manual (5,000 pages). arrow from search_docs to Manual.
Keys: → or J next, ← or K back, Home and End jump, Space toggles auto-play when the diagram has focus.