360 Secure SkillHub
360 安全技能中心

Memory Search

该 Skill 提供 /mem 记忆搜索能力,采用本地优先方式使用缓存索引:先用 scripts/index-memory.py 更新索引,再用 scripts/search-memory.py 带查询与 --top 参数检索,最后返回 top 命中的路径与标题并按需简要总结。描述中提及用于 Telegram 的 /mem 查询。

trumppo
trumppo
热度 62.00
最近更新 2026-05-17 11:37:54
分类:知识依赖:代码执行 / 读写文件应用场景:笔记整理 / 研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add mem
Metadata
name
mem
description
Search local memory index (local-first). Use for /mem queries in Telegram.
user-invocable
true

Memory Search (/mem)

Overview

Run local-first memory search using the cached index.

Usage

  1. Update the index if needed:
scripts/index-memory.py
  1. Search the index with the user query:
scripts/search-memory.py "<query>" --top 5

Output

Return the top hits with their paths and headers. Summarize briefly if needed.