context-window-management

Installation
SKILL.md

Context Window Management

State file: ~/.openclaw/skill-state/context-window-management/state.yaml

Warning Signs

  • Session running for many hours
  • Responses getting slower or less coherent
  • Carrying context about completed tasks no longer relevant
  • Large code blocks in context not being actively used
  • Check last_compacted_at in state — if compacted recently this session, prefer a lighter strategy

Reduction Strategies

Summarize Completed Work

Replace detailed context about finished tasks with short summaries. After: write state strategy_used: summarize, current_task, last_compacted_at.

Externalize Reference Material

Related skills
Installs
28
GitHub Stars
61
First Seen
Mar 21, 2026