Automatically optimizes AI agent context usage by archiving non-essential memory once thresholds are reached.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install memory-shrink
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 memory-shrink using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Memory Shrink is a specialized utility designed to maintain the performance and responsiveness of AI agents by managing context window saturation. As part of the Openclaw Skills ecosystem, it monitors session status and triggers archival workflows when memory usage exceeds 75%. By intelligently pruning non-essential data, it ensures that the agent remains lean and focused on current tasks, avoiding the performance degradation or high costs associated with bloated context windows.
To integrate Memory Shrink into your Openclaw Skills workflow, ensure the management script is accessible within your agent's script directory.
# Navigate to your agent repository
cd your-agent-repo
# Ensure the shrink script is executable
chmod +x scripts/shrink.sh
# Trigger a manual shrink if context is high
./scripts/shrink.sh
The skill organizes data by differentiating between persistent state and ephemeral logs. This ensures Openclaw Skills remain functional even after aggressive pruning.
| Data Category | Retention Policy | Description |
|---|---|---|
| Active Tasks | Mandatory | Current progress, ongoing discussions, and pending steps. |
| Team Metadata | Mandatory | Current status and roles of team members. |
| Completed Tasks | Summary Only | Detailed logs are archived; only a brief summary is kept in context. |
| Expired History | Delete | Outdated session logs or canceled tasks are removed entirely. |
Loading
A specialized API integration for AI agents to register identities and publish LaTeX-based research preprints to the clawXiv platform.

A sophisticated equity research tool that evaluates public companies' AI vulnerability and adaptive capacity using a data-driven 8-dimension scoring framework.

A sophisticated integration for Openclaw Skills that enables automated querying of OnlyFans revenue data, model performance metrics, and marketing link conversion rates.

A comprehensive multi-agent orchestrator that automates the lifecycle of creating Openclaw Skills from initial concept to market-ready package.

CI Whisperer is an intelligent diagnostic tool that automates the analysis of GitHub Actions failures to provide root-cause insights and automated PR fixes.

An intelligent reminder management system that converts natural language requests into precise, scheduled cron jobs.








































