← 返回 Skills 市场
masongmx

Memory Tree

作者 Masongmx · GitHub ↗ · v2.0.1 · MIT-0
cross-platform ⚠ suspicious
236
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install memory-tree
功能描述
🌳 记忆树 — 周报自动生成,永久记忆标记,关键词搜索。说句话就能用。
安全使用建议
This skill appears to implement the advertised local weekly-report/search/mark features, but the documentation and security note contain inconsistencies about cloud fallbacks and automatic cron installation. Before installing: 1) Inspect scripts/memory_tree.py yourself (it is included) to confirm there are no network calls or reference to cloud API keys in the shipped version. 2) Check your environment for OPENAI/ZHIPU (or other cloud) API keys if you require strictly local operation — remove/unset them or run the script in an isolated environment. 3) If you don't want persistent scheduling, do not run the 'setup' command (or inspect the exact crontab entries the setup would create). 4) Backup ~/.openclaw/workspace and review openclaw.json (the skill will read it to detect channels). 5) If anything in the README/SECURITY.md doesn't match the actual code you see, treat that as a red flag and ask the author to clarify.
功能分析
Type: OpenClaw Skill Name: memory-tree Version: 2.0.1 The skill is classified as suspicious due to significant discrepancies between the documentation and the actual code, as well as its access to sensitive configuration files. While the script (scripts/memory_tree.py) claims to be a simplified v2.0, the README.md and SECURITY.md describe high-risk features like automated cron job persistence and cloud API fallbacks (OpenAI/Zhipu) that are not present in the provided source. Most notably, the script reads the user's primary 'openclaw.json' configuration file to extract communication channel IDs (e.g., Feishu chat_ids), which is a high-privilege action that could be leveraged for unauthorized data exposure.
能力评估
Purpose & Capability
Name/description (weekly reports, search, permanent mark) match the shipped Python script which reads ~/.openclaw/workspace/MEMORY.md, builds reports, and writes under ~/.openclaw/workspace/memory-tree/data. However docs/README/SECURITY.md mention semantic backends (Ollama / cloud fallbacks) and 'zero-config' automatic behavior while the v2.0 script header states Ollama/cloud embedding was removed. This mismatch between docs and code is confusing and unexpected.
Instruction Scope
SKILL.md instructs running the included script for weekly/search/mark. The code reads and writes files under the user's OpenClaw workspace (~/.openclaw/... ) and reads openclaw.json to detect 'enabled channels' — behavior that is coherent for pushing reports to configured channels but expands scope beyond just local indexing/search. SECURITY.md states a 'setup' command will create cron jobs for daily/weekly tasks; that means the skill can persist scheduled actions on the user's account if the user runs setup. The SKILL.md itself does not make the cron/setup step explicit, which is scope-creep and a usability/safety concern.
Install Mechanism
This is an instruction-only skill with a single Python script and no install spec — nothing is downloaded or installed automatically by the skill bundle itself. That lowers install-time risk.
Credentials
The skill declares no required env vars or credentials. SECURITY.md (included) warns older versions or configurations may send content to cloud embedding APIs if ZHIPU_API_KEY or OPENAI_API_KEY are present. The current v2.0 script text shown does not reference cloud API keys, but the documentation's mixed messages mean a user should verify the exact code version and ensure no unintended cloud keys are present if they require strict locality.
Persistence & Privilege
The package can create user-level cron jobs (per SECURITY.md) when the 'setup' command is invoked; that grants persistent scheduled execution. While user-level cron is not a system-wide escalation, it is a non-trivial persistent presence and should only be enabled after reviewing the exact setup steps and crontab entries. The skill also reads/writes files under the user's workspace and openclaw.json, which is expected but noteworthy.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install memory-tree
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /memory-tree 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.1
精简项目介绍,优化可读性
v2.0.0
v2.0: 周报生成、永久记忆标记、关键词搜索;删除无效的decay和embedding依赖
v0.2.0
Multi-backend search (Ollama/Zhipu/OpenAI/Keyword), auto-detect, zero dependencies, one-command setup
元数据
Slug memory-tree
版本 2.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

Memory Tree 是什么?

🌳 记忆树 — 周报自动生成,永久记忆标记,关键词搜索。说句话就能用。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 236 次。

如何安装 Memory Tree?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install memory-tree」即可一键安装,无需额外配置。

Memory Tree 是免费的吗?

是的,Memory Tree 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Memory Tree 支持哪些平台?

Memory Tree 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Memory Tree?

由 Masongmx(@masongmx)开发并维护,当前版本 v2.0.1。

💬 留言讨论