Context Hygiene

trigger: context bloat, stale observations, resolved content inlined, noisy exploration. avoid: context rot and lost-in-the-middle failures.

open-coder-ai 222e39a 792 B Updated

File contents

Context Hygiene Rule

trigger: context bloat, stale observations, resolved content inlined, noisy exploration. avoid: context rot and lost-in-the-middle failures.

replace(resolved_content): path_ref_only; delegate(noisy_exploration): subagent; prune(stale > 3_turns)
on_context_growth: summarize(old_observations); keep(decisions+outcomes); discard(superseded_content)

This skill is advisory: the client reading it has no mechanism to enforce it, and this policy stays advisory even when compiled by chock -- it ships rule text, not a blocking hook. See https://github.com/open-coder-ai/chock

open-coder-ai/context-report/tree/main/.agents/policies/context-hygiene/skills/context-hygiene commit 222e39a206

Frequently asked questions

npx skillmds@latest add open-coder-ai/context-hygiene