Communityv1.0.0

Context Budgeting

Manage and optimize OpenClaw context window usage via partitioning, pre-compression checkpointing, and information lifecycle management. Use when the session context is near its limit (>80%), when the agent experiences "memory loss" after compaction, or when aiming to reduce token costs and latency for long-running tasks.

3.8kdownloads5stars40active installsSarielWang93
View on ClawHubBack to Skills

Skill Details

Slug
context-budgeting
Latest Version
1.0.0
Author
SarielWang93
Published
Feb 8, 2026
Updated
Mar 1, 2026
Total Versions
1

How to Install

  1. 1 on OpenClawdBots (takes under 60 seconds).
  2. 2Open your bot dashboard and go to the Skills tab.
  3. 3Switch to the ClawHub tab and search for Context Budgeting.
  4. 4Click Install and the skill is deployed to your bot automatically.

Changelog — v1.0.0

- Initial release of the context-budgeting skill for OpenClaw agents. - Provides a structured method to partition the agent's context window by priority: goals, recent history, decision logs, and relevant knowledge. - Introduces mandatory pre-compression checkpointing to preserve key task data before context compaction. - Adds an automation script (`gc_and_checkpoint.sh`) for efficient memory cleanup without session restart. - Integrates with the agent's heartbeat to automatically trigger context management when usage exceeds 80%.