← 返回 Skills 市场
Memory V2
作者
yuyonghao-123
· GitHub ↗
· v0.1.0
· MIT-0
175
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install yuyonghao-memory-v2
功能描述
基于中文向量嵌入和知识图谱,实现语义搜索、实体提取及自动管理的高效记忆系统。
安全使用建议
This skill appears coherent and implements what it claims. Key things to consider before installing: 1) It will run npm install (pulling packages from npm) and on first run will download large ML model files (~500MB) from external model hosts — expect network use and disk space consumption. 2) Data (vector DB and graph) is stored on disk by default (./vector-db and ./memory/ontology); point those paths to a suitable directory and ensure permissions are acceptable. 3) The skill requests no credentials and has no hidden network endpoints in the code, but the embedding/NER model selection is configurable — avoid pointing to untrusted models since a malicious model could change runtime behavior. 4) Review and run the included tests in a sandboxed environment if you want to validate behavior before integrating into production. If you need higher assurance, verify the exact model download hosts used at runtime and consider pinning model sources/versions.
功能分析
Type: OpenClaw Skill
Name: yuyonghao-memory-v2
Version: 0.1.0
The skill bundle implements a sophisticated memory system for OpenClaw agents, integrating vector storage (LanceDB), a knowledge graph (JSONL-based), and Named Entity Recognition (NER) via Transformers.js. The code in src/memory-system.js and src/vector-store.js follows standard patterns for local AI applications, including model downloading from Hugging Face and local file-based persistence. No evidence of data exfiltration, unauthorized network activity, or malicious prompt injection was found in the code or documentation (SKILL.md).
能力评估
Purpose & Capability
Name/description (向量记忆 + 知识图谱 + 实体提取 + 管理) match the included source files (vector-store.js, graph-store.js, ner-extractor.js, memory-manager.js). Declared dependencies (@xenova/transformers, @lancedb/lancedb) are appropriate for embedding/NER and a local vector DB. No unrelated environment variables, binaries, or config paths are requested.
Instruction Scope
SKILL.md instructions are focused: npm install, instantiate MemorySystem, add/search memories, run maintenance. Runtime code only reads/writes local DB and graph files, loads models via the transformers pipeline, and does not reference system credentials or unrelated system files. The one runtime network activity is model downloads (noted in docs).
Install Mechanism
There is no registry install spec, but SKILL.md instructs using npm install which pulls packages from the public npm registry (package-lock shows standard npm URLs). This is expected. Runtime model downloads (Transformers.js pipeline) will fetch large model files (~500MB) from model hosts (e.g., Xenova/Hugging Face) on first run — this is expected but worth noting because it contacts external hosts and consumes bandwidth/storage.
Credentials
The skill requires no environment variables or credentials. All storage is local (configurable dbPath/graphPath). No secrets-like env vars are declared or accessed in code. Allowing the user to point storage paths to arbitrary locations is normal but means the skill will persist data where configured.
Persistence & Privilege
always:false (default). The skill writes persistent artifacts to disk (vector DB and graph JSONL files) and downloads model files on first use; it does not modify other skills or global agent settings. Persisting user data and large model files is expected behavior but users should be aware of storage and retention implications.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install yuyonghao-memory-v2 - 安装完成后,直接呼叫该 Skill 的名称或使用
/yuyonghao-memory-v2触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Memory V2 Skill 0.1.0 (yuyonghao-memory-v2):
- 初始版本发布,集成向量记忆、知识图谱、中文实体提取和自动化记忆管理。
- 支持 LanceDB 作为向量数据库,BGE & BERT 中文模型用于嵌入和实体抽取。
- 提供语义相似度搜索、实体自动链接、优先级评分与记忆遗忘/归档。
- 独立 API 支持添加、查询、删除及维护记忆,并可单独使用各组件。
- 优化中文自然语言处理性能,附带性能和配置说明。
元数据
常见问题
Memory V2 是什么?
基于中文向量嵌入和知识图谱,实现语义搜索、实体提取及自动管理的高效记忆系统。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 175 次。
如何安装 Memory V2?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install yuyonghao-memory-v2」即可一键安装,无需额外配置。
Memory V2 是免费的吗?
是的,Memory V2 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Memory V2 支持哪些平台?
Memory V2 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Memory V2?
由 yuyonghao-123(@yuyonghao-123)开发并维护,当前版本 v0.1.0。
推荐 Skills