local-memory-search
v1.0.0使用 TF-IDF 对 OpenClaw 内存文件进行快速本地语义搜索,无需外部依赖或 API。
Installation
Please help me install the skill `local-memory-search` from SkillHub official store.
npx skills add dagangtj/local-memory-search
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
- Builds inverted index of all memory files
- Uses TF-IDF scoring for relevance
- Returns ranked results with context
Requirements
- Python 3.8+
- No pip packages needed (uses stdlib only)