context-budget-guard
Installation
SKILL.md
Context Budget Guard
State file: ~/.openclaw/skill-state/context-budget-guard/state.yaml
Don't wait for the model to go incoherent. Act at 70%, not 95%.
When to Use
- At the start of any long-running session (>30 min expected)
- Before each major task step in a multi-hour workflow
- When
long-running-task-managementadvances to a new stage
The Process
Step 1: Initialize (Session Start)
Write to state: session_start timestamp, compaction_count: 0, status: monitoring, threshold_pct: 70.