Claw Memory Guardian
Skill by betsymalthus
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/betsymalthus/claw-memory-guardianWhat This Skill Does
The Claw Memory Guardian is an essential infrastructure skill for OpenClaw designed to eliminate the 'amnesia' common in AI agent sessions. By creating a persistent, structured, and searchable memory layer, it ensures that your progress, task history, and critical insights survive session restarts and system interruptions. The skill maintains a sophisticated file-based architecture including daily logs, long-term memory files, and project timelines. With integrated Git-based version control, semantic search capabilities, and automatic recovery protocols, it turns your ephemeral AI assistant into a reliable, consistent partner that remembers your preferences, project requirements, and previous decision-making contexts across months of interaction.
Installation
To begin using the Memory Guardian, ensure you have the OpenClaw environment installed. You can install the skill directly via the ClawdHub command line interface using the command: clawhub install openclaw/skills/skills/betsymalthus/claw-memory-guardian. Alternatively, you can perform a manual installation by cloning the repository into your ~/.openclaw/skills/ directory. After installation, initialize the system by running memory-guardian init within your terminal or OpenClaw interface to structure your local memory directory and enable the default auto-save intervals. You may further customize behavior by editing the memoryGuardian object in your ~/.openclaw/config.json file.
Use Cases
- Long-term Project Continuity: For developers and researchers managing complex tasks that span weeks, this skill prevents the frustration of losing context. It records project milestones automatically, allowing you to resume work exactly where you left off.
- Crash Resilience: In the event of an unexpected application termination or system crash, the Guardian detects the anomaly and offers a one-click recovery of the most recent valid state.
- Knowledge Base Synthesis: Use it to store and retrieve technical notes, snippets, or research findings. It effectively acts as a personal wiki that your AI agent can query in real-time.
- Team Collaboration: By syncing memory files across a team, ensure that multiple AI agents working on the same project share a unified "source of truth" for decisions and requirements.
Example Prompts
- "Memory-guardian, search for the 'Project X' architectural decisions we made last Tuesday and summarize them for me."
- "I need to restart the session, please perform a memory-guardian backup before I exit."
- "Show me the health status of my memory system and tell me how many days of logs I have collected."
Tips & Limitations
- Tips: Regularly trigger the
memory-guardian backupcommand before major system updates to ensure your data is secure. Use the--tagfeature in your memory files to make your semantic searches much more precise. - Limitations: The semantic search feature is optimized for text-based memory files; very large binary files or bloated logs may slow down indexing. Ensure your disk space is sufficient as the
backupRetentionsetting will continue to consume storage over time. Always checkmemory-guardian healthif you notice the AI failing to retrieve older information.
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-betsymalthus-claw-memory-guardian": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution