返回顶部
m

memory-pro记忆搜索

This skill provides semantic search over your memory files using a local vector database.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 2.5.0
安全检测
已通过
672
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

memory-pro

Memory Pro (v2)

该技能利用本地向量数据库对记忆文件进行语义搜索。

架构 (v2)

  • - 服务:作为 systemd 用户服务运行(memory-pro.service)。
  • 端口:8001(为稳定性硬编码)。
  • 引擎:FAISS + Sentence-Transformers(all-MiniLM-L6-v2)。
  • 数据源
- 每日日志:${OPENCLAW_WORKSPACE}/memory/*.md - 核心文件:MEMORY.md、SOUL.md、STATUS.md、AGENTS.md、USER.md(来自工作区根目录)。
  • - 索引:存储在 ${OPENCLAW_WORKSPACE}/skills/memory-pro/v2/memory.index。

使用方法

1. 语义搜索(推荐)

使用 Python 脚本查询运行中的服务。

bash

基础搜索


python3 scripts/search_semantic.py 我昨天做了什么?

JSON 输出

python3 scripts/search_semantic.py 项目更新 --json

2. 手动重建索引

服务会在重启时自动重建索引。如需强制更新:

bash
systemctl --user restart memory-pro.service

注意:服务重启需要约 15-20 秒来重建索引和加载模型。客户端脚本具有自动重试逻辑。

3. 服务管理

bash

检查状态


systemctl --user status memory-pro.service

停止服务

systemctl --user stop memory-pro.service

查看日志

journalctl --user -u memory-pro.service -f

故障排除

连接失败

  • - 服务可能已停止或正在重启。
  • 检查状态:systemctl --user status memory-pro.service。
  • 如果正在重启,请等待 15 秒。客户端脚本会自动重试最多 20 秒。

索引大小不匹配

  • - 这意味着 memory.index 和 sentences.txt 不同步。
  • 修复:重启服务。启动脚本 start.sh 会在启动 API 之前自动运行 build_index.py 来解决此一致性问题。

地址已被占用

  • - 端口 8001 被僵尸进程占用。
  • 修复:kill $(lsof -t -i:8001) 然后重启服务。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 memory-pro-1776420081 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 memory-pro-1776420081 技能

通过命令行安装

skillhub install memory-pro-1776420081

下载

⬇ 下载 memory-pro v2.5.0(免费)

文件大小: 23.73 KB | 发布时间: 2026-4-17 19:00

v2.5.0 最新 2026-4-17 19:00
**Major update: Overhauled structure with new v2 engine and improved configuration.**

- updated to support openclaw 2026.3.11 or later

- Migrated core logic to a new `v2` directory with updated engine scripts and benchmarks.
- Replaced old `engine/` files and installation scripts with new modular scripts for building, searching, and benchmarking.
- Updated and expanded environment variable and configuration file support for detailed customization.
- SKILL.md and documentation revised for v2 architecture, service setup, and usage.
- Adds scripts for semantic search, hybrid retrieval, reranking, and evaluation.
- Removes deprecated files and legacy install process.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部