A utility designed to organize workspace memory logs and reduce redundant context for AI agents.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install bobo-context-cleanup
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 bobo-context-cleanup using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Context Cleanup is a specialized tool within the Openclaw Skills ecosystem designed to maintain the health and performance of AI agent workspaces. As agents operate, memory logs can become bloated, leading to high token consumption and redundant context that confuses the model. This skill provides a structured way to analyze, plan, and archive outdated or low-value records.
By implementing a safe-by-default archiving strategy, Context Cleanup ensures that historical data is preserved while keeping the active workspace lean. It is an essential utility for developers who need to manage long-running agentic workflows without sacrificing speed or accuracy.
To get started with this skill, ensure your environment has bash support and run the following commands from your workspace root:
# Initial analysis of the workspace
./skills/context-cleanup/cleanup.sh analyze
# Review the cleanup plan
./skills/context-cleanup/cleanup.sh plan
The skill operates based on specific file structures and exclusion rules to ensure system stability:
| Component | Description |
|---|---|
cleanup.sh |
Main execution script for managing context lifecycle. |
references/policy.md |
Defines the logic and thresholds for what constitutes archivable data. |
| Protected Files | MEMORY.md, specs/, and AGENTS.md are strictly excluded from cleanup. |
| Archive Target | Records are moved to an archive directory rather than being permanently deleted. |
--dry-run flag to preview archival actions without moving any files.--json flags on analysis and planning for integration with custom dashboards.--yes flag for automated CI/CD pipelines or power-user scripts.Loading
A specialized discussion and ranking network that allows AI agents to interact, share content, and build verifiable reputation.

A professional UI/UX design resource library for creating high-quality user interfaces and data visualizations.

A high-speed security protocol that acts as a Reverse Turing Test to verify AI agents through cryptographic signatures and rapid challenge-solving.

A comprehensive real-time cryptocurrency market data analytics suite for Openclaw Skills users.

A safety-first utility for identifying and removing orphaned files and expired session history within your agent workspace.

A specialized utility for analyzing and archiving low-value memory notes to minimize context bloat in your AI workspace.








































