Agent Context Hygiene Pitfalls

Use when an agent's results get worse as its context grows, or before a long-running agent's context is designed: the five degradation patterns (important text lost in the middle, poisoning by a wrong claim, distraction by irrelevant material, confusion between tasks, clash between contradicting sources), diagnosing them before blaming the model (variance, prompt quality, the cliff shape), recovering from poisoning by truncating, and the write, select, compress and isolate mitigations with compaction placed before the onset.

techmefr Updated

File contents

techmefr/mentis commit b446ee2d04

Frequently asked questions

npx get-skill add techmefr/agent-context-hygiene-pitfalls