openskills.info
Course Preview

Context Engineering

Context engineering is the discipline of designing information that reaches a large language model's context window. It encompasses selecting relevant content, compressing verbose inputs, managing multi-turn conversation history, and positioning critical information where models attend most effectively. The goal is providing the model exactly what it needs to complete a task accurately, without exceeding token limits or degrading performance through information overload.

itArtificial intelligence and machine learning

Don't Panic — Context Engineering

Context engineering is the art of deciding what a language model gets to see before it starts talking. This sounds like arranging a few words. It is actually closer to packing for a trip on an aircraft with a very strict baggage allowance and an alarming interest in the order of your socks.

A context window is the model's finite space for system instructions, conversation history, retrieved documents, tool outputs, and the response it still has to produce. Before this discipline had a name, systems often kept adding material until the request was crowded, slow, or rejected. The useful replacement is not larger piles. It is a budget: reserve room for the answer, then choose the information that must shape it.

Two ideas carry most of the weight. First, information density means useful facts per token. A verified table or a short state record can earn its place; navigation chrome, duplicate search results, and old conversation turns usually cannot. Second, position matters. Models pay more attention at the beginning and end of a long context than in its middle, so a vital rule buried under a mountain of almost-relevant documents has taken a holiday from being useful.

This is why retrieval-augmented generation, where a system fetches external documents for a question, needs more than a search box. Documents need meaningful chunks, clear boundaries, and deduplication before they join the payload. The surprise is that a system can technically fit the answer in its window and still miss it. Capacity is a ceiling, not a guarantee of attention.

Long conversations and agents add their own small administrative weather system. A sliding window keeps recent turns and drops old ones. Summarization keeps a compact account of decisions and open questions. Dynamic pruning removes material that has expired or stopped helping. Tool schemas and raw tool results need the same treatment, because an agent can collect context with the enthusiasm of a squirrel collecting cables.

Start with the Intro for the full map: components, position bias, RAG, and agent context. Use the Cheatsheet when you need budget allocations, payload order, and diagnostic signals. Field Notes is for the parts that become expensive only after a system has been running long enough to remember too much.

Where this skill leads

Relevant careers

See how this topic contributes to broader role-level skill maps.

Sources