← 返回 Skills 市场
kalalxy

memory-m3e - Semantic Memory Plugin

作者 kalalxy · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
321
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install memory-m3e
功能描述
Semantic memory plugin using m3e-large embeddings with SQLite storage, supporting storage, retrieval, and deletion via cosine similarity search in pure JS.
安全使用建议
This skill appears to implement a memory store using an external embedding service and a local SQLite DB, but there are a few red flags to consider before installing: - Mismatch: README/SKILL.md claim "no native deps" but package.json/index.ts use better-sqlite3 (a native module). Expect native compilation or platform-specific binaries when running npm install — ensure build tools are available or avoid if you cannot build native modules. - Missing implementation: Documentation mentions autoCapture/autoRecall, but the code does not implement automatic capture of conversations. Treat those documented features as not present. - Secrets handling: The embedding API key is placed in plugin config (openclaw.json). That file will contain your API key in plaintext unless your environment secures it; point baseUrl only to a trusted embedding provider and rotate keys if needed. - Data location: Memories are stored locally at ~/.openclaw/data/memory-m3e.db by default and not encrypted. Sensitive information saved via memory_store will be persisted in that DB. - Network risk: All text passed to memory_store/memory_recall/memory_forget is sent to the configured embedding baseUrl. Verify the service is trusted and uses HTTPS (default example uses http). Recommended actions: - Ask the publisher for an upstream/homepage or source repository to validate releases and see build instructions. - If you want no native deps, request a truly pure-JS implementation or a different storage backend. Otherwise prepare to allow native builds. - Review and, if necessary, sandbox the plugin (test in isolated environment) before using with sensitive data. - Confirm where you will store the API key and consider whether storing it in openclaw.json meets your security requirements.
功能分析
Type: OpenClaw Skill Name: memory-m3e Version: 1.0.0 The 'memory-m3e' skill is a legitimate semantic memory plugin that uses a local SQLite database and a user-configured embedding API for vector search. The code in `index.ts` implements standard storage and retrieval logic, performing cosine similarity calculations locally and only communicating with the external embedding service defined in the user configuration. No indicators of malicious intent, data exfiltration, or prompt injection were found.
能力评估
Purpose & Capability
Name/description match the code's behavior (embedding API + SQLite memory store). However the README/SKILL.md state "纯 JS / 无原生依赖" while package.json and index.ts use better-sqlite3 (a native module that requires compilation). This is an important mismatch for install/runtime expectations. Otherwise the declared functionality (embedding calls, cosine search, SQLite storage) is coherent.
Instruction Scope
SKILL.md and README instruct how to configure the plugin and mention autoCapture/autoRecall features, but index.ts does not implement automatic capture/recall behavior. The instructions ask you to place the API key in plugin config (openclaw.json) and restart the gateway — that is expected. No other out-of-scope file reads or unexpected external endpoints are referenced, though the plugin will send all texts to the configured embedding baseUrl.
Install Mechanism
There is no explicit install spec (instruction-only), but package.json lists better-sqlite3 which is a native dependency requiring build tools and platform-specific binaries. The SKILL.md claim of "no native deps" contradicts this. Lack of an install script means manual npm install may be required and could fail or compile native code unexpectedly.
Credentials
The plugin requests no environment variables, instead expecting an embedding.apiKey and baseUrl in plugin config. That is proportionate to its purpose. Be aware that the embedding API key will be stored in the OpenClaw plugin config (openclaw.json) and used as a Bearer token to whichever baseUrl you configure — ensure the endpoint is trusted. Memory DB is written under the user's home by default (~/.openclaw/data/memory-m3e.db).
Persistence & Privilege
always is false and the plugin registers its own tools only. It creates a local SQLite DB and starts a periodic index logger (setInterval). It does not modify other plugins or request elevated system privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install memory-m3e
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /memory-m3e 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of memory-m3e: - Adds semantic memory plugin using m3e-large embedding API (1536 dimensions). - Supports persistent storage with SQLite. - Pure JavaScript cosine similarity search (no native dependencies). - Automatic index refresh every 10 minutes. - Provides three tools: memory_store, memory_recall, and memory_forget. - Includes performance metrics and flexible configuration options.
元数据
Slug memory-m3e
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

memory-m3e - Semantic Memory Plugin 是什么?

Semantic memory plugin using m3e-large embeddings with SQLite storage, supporting storage, retrieval, and deletion via cosine similarity search in pure JS. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 321 次。

如何安装 memory-m3e - Semantic Memory Plugin?

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

memory-m3e - Semantic Memory Plugin 是免费的吗?

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

memory-m3e - Semantic Memory Plugin 支持哪些平台?

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

谁开发了 memory-m3e - Semantic Memory Plugin?

由 kalalxy(@kalalxy)开发并维护,当前版本 v1.0.0。

💬 留言讨论