Per Agent Compression Universal
Skill by bensk2001
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/bensk2001/per-agent-compression-universalWhat This Skill Does
The Per-Agent Compression Universal skill by bensk2001 is a sophisticated automation tool designed for OpenClaw users who manage multiple AI agents. It functions as a digital archivist, systematically consolidating fragmented daily memory logs into structured, long-term knowledge files. By automating the extraction of user preferences, critical decisions, and personal insights, it ensures that your agents evolve alongside your interactions. The skill identifies all active agent workspaces, creates isolated cron jobs for each, and maintains high-integrity memory files including USER.md, IDENTITY.md, SOUL.md, and MEMORY.md. This prevents the degradation of context in long-term AI agent relationships.
Installation
Installation is straightforward and requires access to your OpenClaw workspace directory. Run the following commands in your terminal:
- Navigate to the root directory:
cd /root/.openclaw/workspace - Grant execution permissions:
chmod +x skills/per-agent-compression-universal/install.sh - Execute the installer:
./skills/per-agent-compression-universal/install.shAlternatively, for system-integrated installation:clawhub install openclaw/skills/skills/bensk2001/per-agent-compression-universal. Always verify your workspace permissions before running the scripts.
Use Cases
- Long-term Context Retention: Perfect for personal assistant agents that need to recall specific preferences mentioned weeks ago.
- Automated Memory Cleanup: Keeps your primary memory folders organized by moving processed logs to a sub-directory, maintaining folder hygiene.
- Performance Tuning: By distilling thousands of raw log lines into concise core files, the agents spend fewer tokens parsing irrelevant history during initialization.
- Team Management: Ideal for developers managing a fleet of specialized agents, ensuring all agents maintain parity in user-provided identity constraints.
Example Prompts
- "@agent_manager check the status of my memory compression cron tasks for all active agents."
- "@main_agent summarize the recent consolidation updates sent to my DingTalk regarding agent performance."
- "@system_admin re-run the compression logic for my coding-assistant agent to ensure the latest USER.md updates are captured."
Tips & Limitations
- Staggering: The skill automatically staggers cron tasks to prevent resource spikes during the Sunday morning maintenance cycle.
- Customization: If you need to adjust the criteria for what constitutes a 'key decision', edit the
install.shfile before deployment. - Limitations: Because the skill operates via CLI, extremely long notes might hit system buffer limits; for extremely dense data, verify the summary output in DingTalk. Ensure your DingTalk webhook configuration is correctly set up in the system environment to receive the summary reports.
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-bensk2001-per-agent-compression-universal": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution, external-api