跳至主要内容
小龙虾小龙虾AI
🤖

Local Memory Search

Performs fast local semantic search on OpenClaw memory files using TF-IDF without external dependencies or APIs.

下载129
星标0
版本1.0.0
开发工具
安全通过
💬Prompt

技能说明

Local Memory Search

Lightweight semantic search for OpenClaw memory files. No external API needed.

Usage

python3 search.py "your query"

Build index:

python3 search.py --build

Features

  • Searches MEMORY.md and memory/*.md
  • TF-IDF based semantic matching
  • Zero external dependencies
  • Fast local execution
  • Returns top snippets with file path and line numbers

How It Works

  1. Builds inverted index of all memory files
  2. Uses TF-IDF scoring for relevance
  3. Returns ranked results with context

Requirements

  • Python 3.8+
  • No pip packages needed (uses stdlib only)

如何使用「Local Memory Search」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Local Memory Search」技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能