Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
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.
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.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
This skill provides a systematic framework for managing the finite context window (RAM) of an OpenClaw agent.
Objective/Goal (10%): Core task instructions and active constraints. Short-term History (40%): Recent 5-10 turns of raw dialogue. Decision Logs (20%): Summarized outcomes of past steps ("Tried X, failed because Y"). Background/Knowledge (20%): High-relevance snippets from MEMORY.md.
Before any compaction (manual or automatic), the agent MUST: Generate Checkpoint: Update memory/hot/HOT_MEMORY.md with: Status: Current task progress. Key Decision: Significant choices made. Next Step: Immediate action required. Run Automation: Execute scripts/gc_and_checkpoint.sh to trigger the physical cleanup.
Located at: skills/context-budgeting/scripts/gc_and_checkpoint.sh Usage: Run this script after updating HOT_MEMORY.md to finalize the compaction process without restarting the session.
Heartbeat (every 30m) acts as the Garbage Collector (GC): Check /status. If Context > 80%, trigger the Checkpointing procedure. Clear raw data (e.g., multi-megabyte JSON outputs) once the summary is extracted.
Agent frameworks, memory systems, reasoning layers, and model-native orchestration.
Largest current source with strong distribution and engagement signals.