/install eidolon-search
Eidolon Search
FTS5-based memory search for AI Agents. Index markdown files once, search with 90%+ token savings.
Quick Start
1. Index memory files (once)
python3 scripts/build-index.py \x3Cmemory_dir> \x3Cdb_path>
Example:
python3 scripts/build-index.py ./memory ./memory.db
This creates a SQLite database with FTS5 full-text index of all .md files in the directory (recursive).
2. Search
python3 scripts/search.py \x3Cquery> [limit] [db_path]
Example:
python3 scripts/search.py "Physical AI roadmap" 5
python3 scripts/search.py "project timeline" 10 ./memory.db
Default limit: 10. Default db_path: ./memory.db
Output: matching snippets with file paths and relevance scores.
3. Re-index when files change
Run build-index.py again. It rebuilds the index from scratch (fast, \x3C1 second for typical workspaces).
When to Use
- Memory search: Find specific information across many daily notes or memory files
- Token-limited contexts: When reading all files would exceed context limits
- Repeated searches: Index once, search many times
- Large workspaces: 10+ markdown files with cumulative size >50KB
When NOT to Use
- Single small file (\x3C5KB): just read it directly
- Need semantic/meaning-based search: FTS5 is keyword-based only
- See references/QUALITY.md for known limitations
Search Tips for Agents
FTS5 is keyword-based. Improve results by:
- Use specific terms: "Jetson Orin" not "hardware plans"
- Use OR for synonyms: "car OR vehicle OR automobile"
- Use quotes for phrases:
"Physical AI" - Try multiple queries if first attempt returns nothing
- Check file paths in results to read full context when needed
Benchmarks
- Token savings: 90%+ (measured 93-98.9%)
- Speed: 15x faster (measured 10-20x)
- Details: references/PERFORMANCE.md
Run benchmarks yourself:
python3 scripts/benchmark-recall.py # Recall@5, Recall@10
python3 scripts/benchmark-cache.py # Warm vs cold cache
DB Schema
CREATE VIRTUAL TABLE memory_fts USING fts5(path, content);
Direct SQL access:
sqlite3 memory.db "SELECT path, snippet(memory_fts, 1, '\x3Cb>', '\x3C/b>', '...', 32) FROM memory_fts WHERE memory_fts MATCH 'query' ORDER BY rank LIMIT 5;"
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install eidolon-search - 安装完成后,直接呼叫该 Skill 的名称或使用
/eidolon-search触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Eidolon Search 是什么?
AI Agent memory search using SQLite FTS5. 90%+ token reduction (10x+) compared to reading full files. Use when the agent needs to search through markdown mem... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 347 次。
如何安装 Eidolon Search?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install eidolon-search」即可一键安装,无需额外配置。
Eidolon Search 是免费的吗?
是的,Eidolon Search 完全免费(开源免费),可自由下载、安装和使用。
Eidolon Search 支持哪些平台?
Eidolon Search 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Eidolon Search?
由 dev-jsLee(@dev-jslee)开发并维护,当前版本 v0.0.1。