Install
openclaw skills install optimize-contextAutomatically monitors and optimizes conversation context to prevent prompt size errors by extracting key points and clearing excess history.
openclaw skills install optimize-contextThis package contains two powerful OpenClaw skills for automated context management:
skills/context-optimizer/ - Main skill directory with all implementation filescommands/optimize-context.js - Command handler for context optimizationcommands/optimize-context.json - Command configuration for context optimizationcommands/process-task.js - Command handler for processing large taskscommands/process-task.json - Command configuration for task processingsystems/context-monitor.js - Background context monitoring systemsystems/context-monitor-config.json - Configuration for context monitoringtask_processing_config.json - Global task processing configurationExtract this package to your OpenClaw workspace:
cd ~/.openclaw/workspace
tar -xzf /path/to/context-optimizer-skill.tar.gz
Install dependencies (if any are needed):
cd ~/.openclaw/workspace/skills/context-optimizer
npm install
The skills should now be available in your OpenClaw system with:
/optimize-context command for manual context optimization/process-task command for handling large tasks with automatic splittingtask_processing_config.jsonThe skills are ready to use immediately after installation!