AgentSkillsCN

memory-search

通过关键词搜索已保存的记忆。当您需要回顾之前的对话内容,或查找有关用户的过往信息时,此功能将大有裨益。

SKILL.md
--- frontmatter
name: memory-search
description: Search through saved memories by keywords. Use when you need to recall previous conversations or information about the user.
allowed-tools: Bash

Memory Search Skill

Search through saved memories to retrieve relevant information.

Usage

bash
${HOME}/.agents/skills/memory-search/scripts/memory-search.ts \
  --session-id "$SESSION_ID" \
  --query "hiking preferences" \
  --limit 10

Critical Rules

  1. Timeout: The script won't run for more than 30 seconds. If it hangs, do stop_bash and do not retry, return an error message in JSON format.