← 返回 Skills 市场
Mixed Memory Augumented Generation
作者
Stefano Zeppieri
· GitHub ↗
· v1.0.6
· MIT-0
495
总下载
2
收藏
2
当前安装
7
版本数
在 OpenClaw 中安装
/install mmag
功能描述
Mixed Memory-Augmented Generation (MMAG) for AI agents. Five cognitive memory layers — conversational, long-term user, episodic, sensory, and short-term work...
安全使用建议
This skill appears internally consistent for managing local agent memory. Before installing: (1) Inspect and trust the source — these are local scripts that will create and modify files under a memory directory and a key file (default ~/.openclaw/skills/mmag/.key). (2) Prefer storing the encryption key in a file (MMAG_KEY_FILE) rather than exporting MMAG_KEY in the environment. (3) Understand that context.sh decrypts memory (via decrypt.sh) to assemble prompts — treat that output strictly as data and do not allow it to override system prompts or safety policies. (4) Redaction is heuristic; secrets may not always be caught — avoid storing highly sensitive credentials in memory files. (5) The encrypt script securely deletes originals; back up the key file or you will lose encrypted data. (6) Automated agents may be unable to satisfy interactive prompts (/dev/tty); plan key provisioning for automation. If you trust the author and follow those precautions, the skill is coherent with its stated purpose.
功能分析
Type: OpenClaw Skill
Name: mmag
Version: 1.0.6
The MMAG skill bundle is a well-structured memory management system for AI agents that prioritizes local storage and user privacy. It includes proactive security features such as AES-256-CBC encryption for sensitive data (encrypt.sh/decrypt.sh), automatic redaction of API keys and secrets in generated contexts (context.sh/retrieve.sh), and explicit security warnings in SKILL.md to prevent prompt injection. The scripts use standard system binaries and show no signs of data exfiltration, obfuscation, or malicious intent.
能力评估
Purpose & Capability
The name/description (MMAG memory layers) aligns with the included files: init, store, retrieve, context assembly, snapshot, encrypt/decrypt, keygen, prune, and stats. The scripts operate on a local memory/ tree and use openssl for encryption — all coherent with a memory-management skill.
Instruction Scope
SKILL.md directs the agent to run context.sh and treat its output as a restricted data block (the README explicitly warns about prompt-injection). The scripts read and decrypt local memory files and emit them for inclusion in prompts. This is expected for a memory skill, but it introduces normal risks: memory contents are user-supplied untrusted data, redaction is heuristic (limited regexes) and may miss secrets, and some operations rely on interactive prompts (/dev/tty) which can hang automated runs.
Install Mechanism
No install spec included (instruction-only skill with shipped scripts). No remote downloads or external package installs are performed by the skill itself. The only external binary dependency is openssl (reasonable and documented).
Credentials
The skill does not require unrelated credentials. Meta documents MMAG_KEY and MMAG_KEY_FILE for encryption key resolution and the scripts honor both. This is appropriate, but using MMAG_KEY (environment variable) is explicitly less secure and the skill warns about it. Ensure you prefer a key file (MMAG_KEY_FILE) or interactive passphrase rather than exporting a raw key to the environment.
Persistence & Privilege
No elevated privileges or 'always' presence requested. The skill writes to its own memory directory and key file under the user's environment (consistent with its purpose). It does remove plaintext .md files on encryption and manages snapshots — expected behavior for this tool.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install mmag - 安装完成后,直接呼叫该 Skill 的名称或使用
/mmag触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.6
MMAG 1.0.6 Changelog
- Added optional `--no-redact` flag to `retrieve.sh` and `context.sh` for controlling key/token redaction (default: redact).
- Improved documentation for privacy: clarified preferred key file usage and warnings about environment variable mode.
- Documented additional dependencies required (`bash`, `openssl`, `find`, `sed`, `grep`, `tar`, `du`).
- No functional code changes; SKILL.md is updated for clarity and new options.
v1.0.5
- Clarified integration: Agents must inject `context.sh` output as a restricted, historical data block, not as executable instructions.
- Added a security notice about treating all memory content as untrusted, with explicit instructions to not allow memory data to override core system commands.
- No code or functional changes; documentation update to improve guidance and security awareness for integrators.
v1.0.4
Encryption key passing hardened
v1.0.3
MMAG 1.0.3 adds built-in encryption support.
- Added AES-256-CBC encryption and decryption scripts: `encrypt.sh`, `decrypt.sh`, and `keygen.sh`
- New key management: generate and store keys securely via `keygen.sh`
- All `.md` files in the long-term memory layer can now be encrypted and decrypted
- `context.sh` and `retrieve.sh` automatically handle encrypted files in-memory
- Updated documentation with steps and best practices for memory encryption and key backup
v1.0.2
- No code or documentation changes in this release.
- Version bump to 1.0.2 only; functionality and user guidance remain unchanged.
v1.0.1
MMAG 1.0.1 Changelog
- Removed README.md; all user and agent instructions are now consolidated in SKILL.md.
- SKILL.md is fully rewritten for clarity: split into "For the Agent" and "For Humans" sections, with a more concise overview.
- Expanded command usage tables for both setup and live operation.
- Prioritization strategy, privacy guidance, and extensibility remain, but with tighter phrasing and actionable rules.
- Quick start steps and command reference are now more direct and user-friendly.
v1.0.0
- Initial release introducing the MMAG (Mixed Memory-Augmented Generation) framework for AI agents.
- Implements a five-layer cognitive memory architecture: conversational, long-term user, episodic, sensory, and working memory.
- Includes scripts to initialize, store, retrieve, build context, prune, snapshot, and view memory statistics.
- Enables agents to remember across sessions, personalize responses, adapt to environmental context, and track events.
- Features clear memory prioritization, privacy guidelines, and extensibility for future enhancements.
元数据
常见问题
Mixed Memory Augumented Generation 是什么?
Mixed Memory-Augmented Generation (MMAG) for AI agents. Five cognitive memory layers — conversational, long-term user, episodic, sensory, and short-term work... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 495 次。
如何安装 Mixed Memory Augumented Generation?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install mmag」即可一键安装,无需额外配置。
Mixed Memory Augumented Generation 是免费的吗?
是的,Mixed Memory Augumented Generation 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Mixed Memory Augumented Generation 支持哪些平台?
Mixed Memory Augumented Generation 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Mixed Memory Augumented Generation?
由 Stefano Zeppieri(@j0ker98)开发并维护,当前版本 v1.0.6。
推荐 Skills