← Back to Skills Marketplace
84
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install memory-guardian-agent
Description
Agent workspace memory lifecycle management via 10 MCP tools + batch maintenance. Manages MEMORY.md, memory/ directory, meta.json, quality gate, Bayesian dec...
Usage Guidance
This package appears to do what it says: local maintenance of an agent workspace (meta.json, MEMORY.md, memory/ files, compaction, decay, case workflows). Before installing or enabling: (1) Review and back up any real workspace you care about — the tool auto-writes and can auto-upgrade meta.json; (2) Use an explicit --workspace or set MG_WORKSPACE/OPENCLAW_WORKSPACE to an isolated test directory to avoid accidental writes to your default home workspace; (3) If you need to audit data flows, skim mg_events/telemetry.py and any code that writes logs to confirm there are no remote network sinks (the package appears local); (4) Because the MCP server imports and executes the bundled scripts at runtime, inspect any third-party code you don't trust and prefer running in a sandboxed environment if source provenance is unknown; (5) Note the small documentation mismatch: SKILL.md and code expect MG_WORKSPACE/OPENCLAW_WORKSPACE but the skill metadata lists no required env vars — set them explicitly to avoid surprises.
Capability Analysis
Type: OpenClaw Skill
Name: memory-guardian-agent
Version: 1.0.0
The memory-guardian skill is a comprehensive workspace memory management system for AI agents. It implements sophisticated features such as Bayesian decay, quality gates, and automated file synchronization. Security analysis reveals defensive design patterns, including a dedicated security layer (security_layer.py) that uses regex patterns to prevent the exfiltration of API keys and private data. The MCP server (mcp_server.py) includes explicit protections against path traversal attacks by validating workspace paths using realpath and checking for parent directory traversal. The code is well-structured, lacks any external network calls or obfuscation, and includes an extensive test suite, indicating a legitimate and well-maintained tool.
Capability Tags
Capability Assessment
Purpose & Capability
Name and description (manage MEMORY.md, memory/, meta.json, quality gate, decay, compaction, case lifecycle) match the included scripts, MCP server, CLI, and reference docs. The large test suite and modules correspond to the claimed features (sync, ingest, decay, compaction, quality gate, L3 confirmations).
Instruction Scope
SKILL.md directs local file operations (meta.json, MEMORY.md, memory/ directory, access_log.jsonl) and cron creation; it also instructs agents to append to access_log.jsonl after memory_get and to run maintenance (run_batch). These side-effecting operations are expected for a memory maintenance tool but are broader than a read-only skill — the agent will write/modify workspace files and may auto-upgrade meta.json during runs.
Install Mechanism
No external installer is declared and the package includes the Python scripts directly. The MCP server dynamically imports and executes local script files (importlib), which is expected for this packaged toolkit. There are no downloads from external URLs or package registry installs in the provided metadata.
Credentials
The skill declares no required environment variables or credentials, and it does not request cloud secrets. It does rely on OPENCLAW_WORKSPACE and MG_WORKSPACE as workspace selectors (DEFAULT_WORKSPACE falls back to OPENCLAW_WORKSPACE, then MG_WORKSPACE, then ~/workspace/agent/workspace). Those env vars are reasonable for workspace configuration but are not listed as required in metadata — benign but a small documentation mismatch.
Persistence & Privilege
always:false (no forced inclusion). The skill can be invoked autonomously (disable-model-invocation:false) which is normal. It performs persistent local actions (auto-create workspace dirs, write meta.json/memory files, append access_log), which align with its stated purpose and are not unexpected privileges for a memory lifecycle manager.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install memory-guardian-agent - After installation, invoke the skill by name or use
/memory-guardian-agent - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of memory-guardian-agent 1.0.0:
- Provides workspace memory lifecycle management using 10 tools and batch maintenance workflows.
- Supports Bayesian decay, four-state quality gate, case lifecycle, and MEMORY.md compaction.
- Includes diagnostics for memory bloat, quality anomalies, and case review/invalidation.
- Offers both scheduled (cron/batch) and on-demand memory maintenance.
- CLI fallback provided when MCP is unavailable.
Metadata
Frequently Asked Questions
What is memory-guardian-agnet?
Agent workspace memory lifecycle management via 10 MCP tools + batch maintenance. Manages MEMORY.md, memory/ directory, meta.json, quality gate, Bayesian dec... It is an AI Agent Skill for Claude Code / OpenClaw, with 84 downloads so far.
How do I install memory-guardian-agnet?
Run "/install memory-guardian-agent" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is memory-guardian-agnet free?
Yes, memory-guardian-agnet is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does memory-guardian-agnet support?
memory-guardian-agnet is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created memory-guardian-agnet?
It is built and maintained by fengqing (@5rbdmak7f-alt); the current version is v1.0.0.
More Skills