← Back to Skills Marketplace
345
Downloads
0
Stars
6
Active Installs
1
Versions
Install in OpenClaw
/install memory-guard
Description
Monitors and verifies agent workspace files to detect unauthorized changes, injection attacks, personality drift, and cross-agent contamination.
Usage Guidance
This skill is coherent with its purpose: it runs locally, uses git and sha256 hashes, and logs to a .memory-guard folder. Before installing, note that (1) the tool will write logs and a hashes.json into your workspace and can modify files when you run 'stamp' or 'accept'; (2) 'accept all' will re-register current file states as trusted — only run that after human review; (3) it relies on common tools (python3, sha256sum, git); if you don't have python3 some features will fall back or fail. If you plan to allow autonomous agent invocation, restrict which commands the agent can run (avoid granting it the ability to run 'accept' automatically) or require a human approval step for accept/accept-all actions.
Capability Analysis
Type: OpenClaw Skill
Name: memory-guard
Version: 1.0.0
The OpenClaw AgentSkills bundle 'memory-guard' is designed for agent memory integrity and security. The `memory-guard.sh` script uses standard shell commands (`sha256sum`, `stat`, `git`, `python3` for JSON handling) to track and verify the integrity of specified agent files. All operations are local, confined to the agent's workspace and a dedicated `.memory-guard` directory. It logs actions, audits changes, and explicitly instructs the agent (via `SKILL.md`) to alert a human if tampering is detected. There is no evidence of data exfiltration, remote execution, persistence mechanisms, obfuscation, or malicious prompt injection attempts in `SKILL.md`. The script's behavior is entirely consistent with its stated purpose of enhancing agent security.
Capability Assessment
Purpose & Capability
Name/description match the delivered functionality: a local integrity checker that hashes workspace files, integrates with git, writes logs, stamps provenance, and provides verify/audit/accept/watch commands. There are no unrelated credentials, binaries, or external services required.
Instruction Scope
SKILL.md limits actions to local verification and recommends running verify before reading memory files — consistent with purpose. The runtime script, however, does modify workspace state: it writes .memory-guard/, log files, can prepend provenance stamps to arbitrary files, and provides an 'accept' command that will update stored hashes (including 'accept all'). These are expected for this tool but are important side effects the operator must approve.
Install Mechanism
Instruction-only skill with a bundled Bash script; no install spec, no downloads, and no network fetches. The script uses common system utilities (sha256sum, stat, git, python3) — reasonable for its functionality.
Credentials
No required environment variables or credentials are declared. The script optionally honors MEMORY_GUARD_DIR as a directory override (reasonable). It does not attempt to read other env-vars or external secrets.
Persistence & Privilege
always:false (no forced global presence). The skill writes its own .memory-guard data and logs in the workspace (expected). Be aware that if the agent invokes the skill autonomously, commands like 'accept all' could be executed without a human review step, which would re-register the current (possibly tampered) state as trusted.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install memory-guard - After installation, invoke the skill by name or use
/memory-guard - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Frequently Asked Questions
What is Memory Guard?
Monitors and verifies agent workspace files to detect unauthorized changes, injection attacks, personality drift, and cross-agent contamination. It is an AI Agent Skill for Claude Code / OpenClaw, with 345 downloads so far.
How do I install Memory Guard?
Run "/install memory-guard" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Memory Guard free?
Yes, Memory Guard is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Memory Guard support?
Memory Guard is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Memory Guard?
It is built and maintained by Cassh (@cassh100k); the current version is v1.0.0.
More Skills