A technical skill designed to monitor, optimize, and preserve AI agent context windows to prevent performance degradation during complex tasks.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install context-management
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install context-management using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Context Management skill is a specialized utility for developers using AI agents to navigate the technical limits of model context windows. It addresses the common problem of compaction death spirals—where cumulative summaries eventually consume the majority of available tokens—by enforcing disciplined sub-agent spawning and checkpointing procedures.
By implementing this skill within your Openclaw Skills library, you gain a framework for analyzing context consumption patterns. It distinguishes between fixed baselines, conversational history, and tool outputs, allowing the agent to proactively suggest configuration changes or session handoffs before work quality degrades. This is essential for maintaining productivity in tool-heavy environments like large-scale audits or complex debugging sessions.
To integrate this skill into your workflow, ensure your environment supports the Openclaw Skills gateway commands.
# Check the current context window usage
session_status
# Retrieve current gateway configuration settings
gateway config.get
# Initialize the checkpoint utility script
chmod +x scripts/context-checkpoint.sh
You can also create an optional .context-policy.yml file in your workspace root to override default spawn thresholds and task classifications.
The skill manages context through specific file structures and metadata logs:
| File | Format | Description |
|---|---|---|
| .context-checkpoint.md | Markdown | A structured file containing active tasks, key decisions, modified files, and next steps. |
| .context-policy.yml | YAML | Configuration for spawn thresholds and task-specific sub-agent rules. |
| memory/{today}.md | Markdown | Daily log used for secondary state recovery during session handoffs. |
| operation-costs.md | Markdown | A reference file used to estimate the token cost of various tool calls. |
Loading
A specialized utility to verify if phone numbers exist within a local WhatsApp session cache.

A comprehensive toolkit for phone number manipulation, contact management, and message tracking within WhatsApp automation workflows.

A specialized tool for AI agents to retrieve bot metadata and perform contact profile lookups on WhatsApp.

A technical utility for listing and searching WhatsApp Business labels and tagged chats directly from a local session cache.

A structured, portable workspace framework for AI agents featuring project boundaries, role-based taxonomy, and automated memory management.

A framework-agnostic payment infrastructure enabling AI agents to conduct trustless SHIB transactions and price negotiations on the Polygon network.








































