Bobo Context Cleanup
Skill by irideas
Why use this skill?
Efficiently manage and archive your OpenClaw workspace memory logs. Use Bobo Context Cleanup to reduce context bloat and improve AI agent performance.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/irideas/bobo-context-cleanupWhat This Skill Does
The Bobo Context Cleanup skill by irideas is a specialized maintenance utility designed to optimize your OpenClaw agent's workspace by managing memory logs and reducing redundant context. As your AI agent works on complex tasks, workspace logs and memory files can accumulate, often leading to "context bloat" where the model struggles to parse relevant information efficiently. This skill automates the identification and archiving of stale or low-value context records, ensuring your agent remains fast and accurate.
Installation
To add this capability to your agent environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/irideas/bobo-context-cleanup
Ensure your environment has bash installed, as the skill relies on internal shell scripting for file system operations.
Use Cases
- Long-term project maintenance: Regularly clean up logs from sessions that are several weeks old to speed up current task processing.
- Workspace optimization: Use this before initiating a new, high-complexity task to clear out "noise" from previous, unrelated brainstorming sessions.
- Compliance and housekeeping: Archive historical data according to your internal policies without permanently losing information, keeping the workspace tidy.
Example Prompts
- "Analyze my current workspace memory and identify which logs are candidates for archiving."
- "Show me a plan for cleaning up the context; what will be moved and what will be kept?"
- "Go ahead and archive all memory logs dated before March 1st, 2026, using the --yes flag for non-interactive mode."
Tips & Limitations
- Safety First: Always run
analyzeandplanbefore executing anarchiveoperation. The--dry-runflag is your best friend to verify behavior before modifying files. - Protected Files: Note that the skill is hard-coded to ignore critical files such as
MEMORY.md,specs/, andAGENTS.mdto prevent accidental loss of core project definitions. - Compatibility Note: This skill is currently deprecated as a standalone entity in favor of the
context-cleanupslug; please ensure you are using the latest version as per the metadata guidelines to receive ongoing support and updates. - Non-destructive: This tool archives files; it does not perform permanent deletions, allowing for easy recovery if a mistake occurs.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-irideas-bobo-context-cleanup": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution
Related Skills
Bobo Session Cleanup
Skill by irideas
session-cleanup
Clean orphan .jsonl files and stale sessions in OpenClaw session storage with safe confirmation flow. 适用于会话列表杂乱、历史会话堆积、需要释放存储空间场景;默认保护 72 小时内会话,删除前必须用户确认。
context-cleanup
Analyze and archive low-value memory notes in OpenClaw workspace to reduce context bloat and improve responsiveness. 适用于上下文冗余、维护整理场景;默认流程为 analyze → plan → confirm → archive,归档优先于删除。