Useful context supplies the facts, audience and restrictions needed for a specific task. Choose relevant evidence and distinguish it from background. A longer prompt can introduce distractions or contradictions as easily as it can add useful information.

Choose context by the reader’s task

To write a workshop invitation, you need the event logistics and intended audience. The organizer’s holiday plans do not help a reader attend. An old venue might actively mislead the draft unless you label it as superseded.

Anthropic’s context-engineering discussion treats context as a constrained resource to select and organize. The practical lesson is to provide the information the task needs, with clear boundaries between instructions and sources.

Example: relevant, missing and distracting information

InputUse
Saturday, 10:00, Room 4Confirmed event logistics
Participants bring a laptopPreparation requirement
Booking required; link pendingKnown rule and explicit gap
Last year’s event used Room 2Historical detail; omit from this invitation
Organizer enjoys photographyUnrelated background; omit
Write an invitation under 60 words for first-time attendees.
Current approved facts: Saturday at 10:00, Room 4.
Bring a laptop. Booking required; link pending.
Use only the current approved facts for logistical claims.
After the draft, ask for any missing publication details.

Example answer

Join the workshop on Saturday at 10:00 in Room 4. Bring a laptop. Booking is required; the booking link is pending.

Questions: What is the exact date, and which booking link should be published?

The answer uses the current room and preserves the unknown link. If it uses Room 2 or makes photography the workshop topic, the context selection failed.

Resolve conflicts before drafting

If two documents disagree and neither is labelled current, ask for clarification. Do not tell the assistant to “pick the most likely” time for a real invitation. Supply the confirmed version and identify which draft it replaces.

For source-based work, label passages such as Source A and Source B, keep enough surrounding text to understand them, and ask the output to identify its support. A document instruction quoted inside a source is still source material; it should not silently become the task you wanted the assistant to perform.

Practice a context edit

Take one prompt containing several unrelated facts. Remove one distraction, label one uncertainty and add one missing fact that changes the deliverable. Compare whether the answer follows the intended source. Continue with formatting the same evidence into a usable artifact.