A specialized utility to automatically prune, compact, and manage the size of AI agent memory and log files.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install arc-memory-pruner
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 arc-memory-pruner using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Memory Pruner is an essential tool for developers building long-running agents. It prevents the common problem of unbounded memory growth, where logs and state files eventually consume too much disk space or overwhelm an agent's context window. By implementing a circular buffer for logs and importance-based retention for state, it ensures that your agent remains efficient and cost-effective. Use this skill to keep your Openclaw Skills organized and prevent boot-up delays caused by reading tens of thousands of tokens of stale memory data.
Ensure you have python3 installed on your system (macOS or Linux).
# Check for python availability
python3 --version
# Run the stats command to see current memory usage across your agents
python3 scripts/memory_pruner.py stats --dir ~/
Memory Pruner operates on standard text, markdown, and log files. It does not require a complex database but tracks metadata through file system attributes and line parsing.
| Target Type | Retention Strategy | Metadata Tracked |
|---|---|---|
| State Files (.md) | Max line count or date-based compaction | Line indices, Date patterns |
| Log Directories | Circular buffer (last N files) | Timestamp-based sorting, File count |
| Global Stats | Cumulative size monitoring | Growth rates, Disk usage in bytes |
Loading
A smart routing utility that saves money by delegating routine content, research, and coding tasks to free AI models via OpenRouter.

A command-line orchestration layer for delegating tasks and managing specialized AI agent departments like a CEO.

Policy-based security assessment and compliance tracking for AI agent skills.

Provides an immutable, tamper-evident audit trail to track and verify the actions, decisions, and budget changes of autonomous agents.

A lightweight operational monitoring tool to track agent health, API usage, and performance metrics through a text-based dashboard.

A unified security assessment tool that chains scanners and verifiers to harden and secure your entire agent skill ecosystem.








































