360 Secure SkillHub
360 安全技能中心

Memory Search

为 Openclaw 提供本地优先的记忆检索:对 MEMORY.md 与 memory/**/*.md 建立增量索引(缓存位于 memory/cache/),并通过 CLI 脚本执行关键词打分加近 30/90 天近期加权的搜索,可接入斜杠命令。

分类:知识
trumppo
trumppo
热度 52.51
最近更新 2026-05-11 15:54:46

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add trumppo/search-memory
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
search-memory
description
Local-first memory search and indexing for Openclaw. Use when you need to (1) index memory files, (2) search memory from the CLI, or (3) wire a slash command for memory lookup.

Search Memory

Overview

Index local memory files and run fast keyword search with recency boost.

Quick Start

  1. Build/update index (incremental cache):
scripts/index-memory.py
  1. Search the index:
scripts/search-memory.py "your query" --top 5

Notes

  • Index includes MEMORY.md plus memory/**/*.md.
  • Cache lives under memory/cache/.
  • Search uses keyword scoring + recency boost (last 30/90 days).