跳到正文
TakoAPI
返回技能列表

search-memory

由 trumppo 提供

Coding Agents & IDEs
1.0k下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Local-first memory search and indexing for Openclaw.

描述

该技能的功能

Indexes local memory files and runs keyword search with a recency boost. Covers MEMORY.md and all files under memory/, with an incremental cache to avoid full re-indexing on each run. Designed for Openclaw's local-first memory layout.

Keyword scoring combined with a 30/90-day recency boost surfaces recently updated notes first, avoiding manual scanning of every memory file.

何时使用

  • Finding a past decision stored weeks ago in memory files
  • Locating notes about a specific project before resuming work
  • Searching for previously recorded config details or credentials
  • Retrieving context about a topic mid-conversation via slash command
  • Narrowing down relevant memory entries when the index has grown large

示例工作流

输入

User asks: 'Find my notes about the auth middleware rewrite'

智能体
  1. 1

    Run scripts/index-memory.py to build or update the incremental index

  2. 2

    Execute scripts/search-memory.py 'auth middleware rewrite' --top 5

  3. 3

    Apply keyword scoring and recency boost to rank results

  4. 4

    Return the top matching memory entries

输出

Top 5 ranked memory entries related to the auth middleware rewrite, ordered by relevance and recency

安装

clawhub install trumppo/search-memory

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接