← 返回 Skills 市场
lilei0311

Memory Core

作者 MaxStormSpace · GitHub ↗ · v0.1.3
cross-platform ⚠ suspicious
1385
总下载
0
收藏
14
当前安装
3
版本数
在 OpenClaw 中安装
/install memory-core
功能描述
OpenClaw 长期记忆核心:基于 LanceDB 的向量化长期记忆存储与检索,内置意图/场景隔离以防记忆污染。
安全使用建议
This skill appears to do what it says: store and retrieve memories locally with optional cloud embeddings. Before installing, decide whether you are comfortable having memory text sent to a cloud embedding provider (default: siliconflow). If you prefer local-only operation, configure embedding_provider to 'ollama' (point to a local Ollama) or 'local_mock'. Inspect ~/.openclaw/openclaw.json because the skill will try to read it to auto-load an embedding API key and to infer agent models; if that file contains secrets you don't want accessed, remove or separate them. Confirm you are willing to install the declared Python packages and that storing the LanceDB file under the skill directory (or a configured path) is acceptable. If you need stronger guarantees, run the skill in an isolated environment or restrict outbound network access so embeddings cannot be sent to the cloud.
功能分析
Type: OpenClaw Skill Name: memory-core Version: 0.1.3 The 'memory-core' skill provides vector-based long-term memory using LanceDB. It is classified as suspicious because it contains logic in scripts/config.py and scripts/memory_manager.py that programmatically reads the sensitive global OpenClaw configuration file (~/.openclaw/openclaw.json) to extract API keys and agent model metadata. While this behavior is plausibly intended for seamless integration within the OpenClaw ecosystem, the automated access to a filesystem location containing credentials constitutes a high-privilege behavior. The skill uses these keys to facilitate legitimate embedding requests to providers like SiliconFlow (api.siliconflow.cn) or OpenAI, and no evidence of intentional data exfiltration or malicious persistence was observed.
能力评估
Purpose & Capability
Name/description match the implementation: code provides ingest/retrieve/forget backed by LanceDB, intent/scene classification, and embedding calls. No unrelated binaries, unexplained credentials, or excessive dependencies are requested.
Instruction Scope
Runtime instructions are limited to running the provided Python CLI under the skill directory. The code will read ~/.openclaw/openclaw.json (to auto-load a siliconflow API key and to infer agent model) and will persist a LanceDB file under the skill directory (default data/memory.lance). Importantly, text passed to ingest/retrieve is sent to the configured embedding provider (default: siliconflow cloud) via HTTP requests — this is expected behavior but is a privacy-relevant network transmission.
Install Mechanism
No install script is included (instruction-only install), and declared Python dependencies (lancedb, numpy, requests) match the code. Nothing is downloaded from arbitrary URLs or written outside the skill's directory besides reading ~/.openclaw/openclaw.json.
Credentials
The skill declares no required env vars but supports MEMORY_CORE_* env overrides and a secret embedding_api_key in config.json/skill.json. It also attempts to read ~/.openclaw/openclaw.json to find a siliconflow API key and agent model; reading that file is explainable for auto-config, but users should be aware it reads a user config file that may contain secrets for other providers.
Persistence & Privilege
always=false and the skill does not try to persist beyond its own data directory. It creates a local LanceDB file under the skill root (default data/memory.lance) and does not modify other skills or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install memory-core
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /memory-core 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.3
Auto budget by agent model heuristic (small/medium/large); add auto_budget & default_tier config; keep hard caps to protect small-context models.
v0.1.2
Add retrieval char budget (per-item/total) to prevent prompt bloat; add optional min_score filter; cap embedding input length & make timeout configurable; escape lancedb filter strings.
v0.1.1
Align to OpenClaw/ClawHub spec: scripts entry, config schema, multi-provider embeddings
元数据
Slug memory-core
版本 0.1.3
许可证
累计安装 17
当前安装数 14
历史版本数 3
常见问题

Memory Core 是什么?

OpenClaw 长期记忆核心:基于 LanceDB 的向量化长期记忆存储与检索,内置意图/场景隔离以防记忆污染。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1385 次。

如何安装 Memory Core?

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

Memory Core 是免费的吗?

是的,Memory Core 完全免费(开源免费),可自由下载、安装和使用。

Memory Core 支持哪些平台?

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

谁开发了 Memory Core?

由 MaxStormSpace(@lilei0311)开发并维护,当前版本 v0.1.3。

💬 留言讨论