← 返回 Skills 市场
Three Layer Memory + LanceDB Pro
作者
kylin19860916
· GitHub ↗
· v2.0.0
· MIT-0
790
总下载
1
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install three-layer-memory
功能描述
三层记忆系统 + LanceDB Pro 整合版。热/暖/冷记忆自动管理,结合向量数据库实时提取与结构化排程维护。Micro Sync(每天5次扫session记决策+审核autoCapture)、Daily Wrap Up(每天凌晨结构化摘要)、Weekly Compound(每周记忆减脂+蒸馏+向量清理)。含...
安全使用建议
This skill generally does what it says (scheduled memory capture, summarization, and LanceDB integration), but before installing you should: (1) require the author to declare required env vars (e.g., JINA_API_KEY, any LanceDB endpoint/credentials) in the manifest so you can review them; (2) verify where embeddings and memory are sent — prefer self-hosted endpoints or explicit URLs; (3) inspect or run the memory-lancedb-pro plugin code to confirm it doesn't exfiltrate data to unknown hosts; (4) consider limiting which sessions get scanned (sensitive channels excluded) and implementing redaction rules; (5) run the scripts in a restricted account or sandbox first, and back up/openclaw.json before enabling plugin changes; (6) if you accept the credential use, set API keys with least privilege and rotate them regularly. The main risks are undisclosed credential usage and automated scheduled uploading of conversation content to external services — address those before proceeding.
功能分析
Type: OpenClaw Skill
Name: three-layer-memory
Version: 2.0.0
The skill implements an automated three-layer memory management system that uses shell scripts (micro-sync.sh, daily-wrapup.sh, weekly-compound.sh) and crontab to schedule agent-led maintenance tasks. While the behavior is aligned with the stated purpose of memory distillation and archiving, it utilizes high-risk capabilities such as persistent crontab modification, full session history access, and instructions for the agent to self-modify its own SYSTEM_GUIDE.md and workspace files. These features provide a high degree of autonomous control over the agent's environment, which, while functional, represents a significant attack surface for indirect prompt injection from processed session data.
能力评估
Purpose & Capability
Name/description match the actual behavior: this is a local memory management strategy that integrates with a LanceDB plugin and an embedding/rerank service (Jina). The files and cron tasks align with the stated goal of hot/warm/cold memory management and scheduled summarization/compaction.
Instruction Scope
Runtime instructions and shipped scripts write to ~/.openclaw/workspace, create cron jobs, and append tasks to HEARTBEAT.md which will cause the agent to scan recent sessions and store/clean memory. That means user conversations will be programmatically collected and (per the design) sent to LanceDB and embedding/rerank services. The SKILL.md references commands like sessions_list, sessions_history, memory_recall, memory_store but does not define them—these are expected to come from the platform/plugins but give the skill broad discretion to read and process conversation history. There's no guidance about data minimization, redaction, or privacy controls.
Install Mechanism
No remote installers or downloads. The skill is instruction-only and provides local shell scripts the user is asked to copy into ~/.openclaw/shared and enable in cron. That is low install risk (no arbitrary network fetches), but it does establish persistent scheduled runs on the host.
Credentials
SKILL.md explicitly lists a prerequisite 'Jina API Key (embedding + rerank)' and requires the memory-lancedb-pro plugin, but the registry metadata lists no required env vars or primary credential. The missing declaration of required credentials is an incoherence. Requesting an embedding/rerank API key is plausible for this functionality, but it is sensitive: conversation content will likely be sent to external services (Jina, LanceDB). The skill gives no guidance about what endpoints are used, whether embedding calls go to a hosted service or self-hosted instance, or how to limit/exclude sensitive sessions.
Persistence & Privilege
The skill does not set always:true and is user-invocable (normal). It installs cron jobs (persistent scheduled tasks) that will repeatedly append to HEARTBEAT.md to trigger agent actions — this is expected for a scheduled memory system but increases the blast radius because it causes autonomous, recurring collection and processing of conversation data. The skill also instructs modifying openclaw.json to enable a plugin, which is consistent with its function.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install three-layer-memory - 安装完成后,直接呼叫该 Skill 的名称或使用
/three-layer-memory触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.0
v2.0: Integrated with LanceDB Pro - autoCapture/autoRecall + structured memory management + scope isolation + dedup detection
v1.0.0
Initial release: Micro Sync, Daily Wrap Up, Weekly Compound, dedup detection, scope isolation
元数据
常见问题
Three Layer Memory + LanceDB Pro 是什么?
三层记忆系统 + LanceDB Pro 整合版。热/暖/冷记忆自动管理,结合向量数据库实时提取与结构化排程维护。Micro Sync(每天5次扫session记决策+审核autoCapture)、Daily Wrap Up(每天凌晨结构化摘要)、Weekly Compound(每周记忆减脂+蒸馏+向量清理)。含... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 790 次。
如何安装 Three Layer Memory + LanceDB Pro?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install three-layer-memory」即可一键安装,无需额外配置。
Three Layer Memory + LanceDB Pro 是免费的吗?
是的,Three Layer Memory + LanceDB Pro 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Three Layer Memory + LanceDB Pro 支持哪些平台?
Three Layer Memory + LanceDB Pro 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Three Layer Memory + LanceDB Pro?
由 kylin19860916(@kylin19860916)开发并维护,当前版本 v2.0.0。
推荐 Skills