← 返回 Skills 市场
Memory System Pro V2
作者
minmengxhw-cpu
· GitHub ↗
· v2.0.1
· MIT-0
93
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install memory-system-pro-v2
功能描述
完整记忆系统 - 四类记忆分类 + AutoDream自动整合 + MiniMax LLM驱动 + Feedback双向记录
安全使用建议
What to consider before installing:
- Privacy: AutoDream builds a prompt from your MEMORY.md, session histories and recent memory files and sends that content to an external MiniMax API endpoint. If your memory folder contains private or sensitive information, it will be transmitted to that external service when AutoDream runs.
- API key handling: The code reads MINIMAX_CODING_API_KEY from environment or config (e.g., 'env:MINIMAX_CODING_API_KEY'), but the skill metadata does not declare this required env var. If you have that env var set, AutoDream can run automatically and use it — consider unsetting the variable or not configuring the key if you do not want off-host calls.
- Autonomous triggers: AutoDream is hooked into HEARTBEAT (daily cron) and is checked after memory writes. If you want to avoid automatic consolidation, disable autoDream in config or avoid providing the API key. Also consider disabling the heartbeat integration.
- Local embedding: The skill calls a local Ollama endpoint via curl/exec for embeddings. Ensure Ollama is running locally if you want vector search; otherwise the skill falls back to a deterministic fallback embedding (less accurate).
- Code review & sandboxing: If you plan to use this skill for sensitive data, review the executeDream/buildDreamPrompt code path (it constructs the prompt and sends memory contents) and test in a sandboxed environment first. Prefer running without the MiniMax API key or configuring AutoDream.enabled=false, and only enable vector search/Ollama if you control the local service.
- Fixes & checks: Ask the author or repository maintainer to (1) explicitly declare required env vars in metadata, (2) document exactly what data is sent to the MiniMax endpoint, and (3) harden shell usage in embed.ts (use execFile/spawn with arguments rather than a single command string). If you can't verify the external service or source repo, treat this skill as potentially exfiltrative and avoid enabling AutoDream.
功能分析
Package: memory-system (mcp)
Version: 2.0.1
Description: 完整记忆系统 - 四类记忆分类 + AutoDream LLM整合 + Feedback双向记录
The package contains several high-risk security vulnerabilities and suspicious implementation patterns. Most critically, `src/embed.ts` uses `child_process.exec` to execute a `curl` command for generating text embeddings. The command is constructed using string interpolation of user-provided text with insufficient sanitization (only double quotes are escaped, while single quotes are not), leading to a classic shell command injection vulnerability. Additionally, the `autoDream` feature in `src/autoDream.ts` automatically modifies the file system (creating and deleting files) based on responses from an external LLM (MiniMax). This logic lacks path sanitization, making it susceptible to directory traversal attacks where an attacker could manipulate the LLM to delete or overwrite sensitive system files. The decision to use `child_process.exec` for local API calls instead of the standard `fetch` API (which is used elsewhere in the same package) is a significant red flag for a security analyst.
能力评估
Purpose & Capability
The name/description (memory system + LLM-driven AutoDream) align with the code: the skill reads/writes markdown memory files, performs semantic search (local Ollama or fallback), and runs an LLM consolidation step. Requiring an LLM API key and calling a local Ollama endpoint are coherent with the described AutoDream and embedding features. However, the registry metadata lists no required environment variables despite the code explicitly reading process.env.MINIMAX_CODING_API_KEY (and supporting config 'env:MINIMAX_CODING_API_KEY'), which is an inconsistency.
Instruction Scope
SKILL.md and code instruct the agent to scan all memory files and session histories under the configured memoryDir and send their contents (via a constructed prompt) to an external MiniMax API for consolidation. That behavior is exactly the AutoDream feature, but it means potentially sensitive private/team data stored in memory files will be transmitted off-host. The instructions also cause automatic execution on HEARTBEAT (daily) and after writes, which increases the chance of unintended data transmission unless AutoDream is disabled or the API key is unset.
Install Mechanism
This is an instruction+source skill delivered with source files; there is no download-from-arbitrary-URL install step. No high-risk install mechanism was used.
Credentials
The code expects an external LLM API key (MINIMAX_CODING_API_KEY or config autoDream.apiKey), but the registry metadata declared no required env vars. Requesting an LLM API key is proportionate to the AutoDream feature, but the omission from metadata is an incoherence that could lead users to install without realizing memory will be sent off-host. No other unrelated credentials are requested.
Persistence & Privilege
always is false and the skill uses platform hooks (onHeartbeat, onSessionStart) — expected for an autonomous memory tool. It does not request to become always-enabled or modify other skills. The autonomous heartbeat-triggered execution combined with network exfiltration risk should be considered by users, but this by itself is not an unusual privilege for a skill of this type.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install memory-system-pro-v2 - 安装完成后,直接呼叫该 Skill 的名称或使用
/memory-system-pro-v2触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.1
v2.0.1: 修复Critical问题 - memory_write触发检查/HEARTBEAT hook/新增文件内容
元数据
常见问题
Memory System Pro V2 是什么?
完整记忆系统 - 四类记忆分类 + AutoDream自动整合 + MiniMax LLM驱动 + Feedback双向记录. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 93 次。
如何安装 Memory System Pro V2?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install memory-system-pro-v2」即可一键安装,无需额外配置。
Memory System Pro V2 是免费的吗?
是的,Memory System Pro V2 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Memory System Pro V2 支持哪些平台?
Memory System Pro V2 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Memory System Pro V2?
由 minmengxhw-cpu(@minmengxhw-cpu)开发并维护,当前版本 v2.0.1。
推荐 Skills