← 返回 Skills 市场
dev-jslee

Eidolon Search

作者 dev-jsLee · GitHub ↗ · v0.0.1
cross-platform ⚠ suspicious
347
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 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...
使用说明 (SKILL.md)

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

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;"
安全使用建议
This appears to be a straightforward local FTS5-based search tool. Before installing/running: (1) ensure you only index directories you intend to (the index will read and store the contents of all matched .md files into memory.db); (2) the benchmark script tries to drop the OS page cache using sudo—only run it if you understand and allow that; (3) confirm your Python/SQLite build includes FTS5 support; (4) there is no network exfiltration or credential use in the code, but treat the created DB as sensitive if it contains private notes and store it appropriately. If you want the agent to run this autonomously, be aware the agent could call the included scripts and thus read any files in the provided memory directory.
功能分析
Type: OpenClaw Skill Name: eidolon-search Version: 0.0.1 The skill bundle provides a legitimate SQLite FTS5 search utility for markdown files, but it includes a high-risk capability in 'scripts/benchmark-cache.py'. This script attempts to execute privileged shell commands via 'sudo' to drop the OS page cache ('/proc/sys/vm/drop_caches'). While this is contextually relevant for a 'cold cache' performance benchmark, the inclusion of hardcoded sudo commands in an automated agent skill is a significant security risk that could be abused if the environment has permissive sudoers configurations. The core indexing and search logic in 'build-index.py' and 'search.py' appears benign and uses parameterized queries.
能力评估
Purpose & Capability
Name/description (FTS5 memory search) align with included scripts (build-index.py, search.py, benchmark scripts). Files implement indexing, searching, and local benchmarks; nothing requests unrelated cloud credentials or services.
Instruction Scope
SKILL.md instructs the agent to run local Python scripts that read .md files from a specified memory directory and write a local SQLite DB. This is within the stated purpose. Note: benchmark-cache.py attempts to drop the OS page cache by invoking sudo sync and writing to /proc/sys/vm/drop_caches (Linux-only); that requires elevated privileges if actually run and is only relevant to optional benchmarking.
Install Mechanism
No install spec; the skill is instruction + local Python scripts. No downloads or third-party package installs are invoked by the skill itself.
Credentials
The skill requests no environment variables or credentials; search.py optionally reads DB_PATH from the environment which is reasonable and proportional. There are no requests for unrelated secrets or config paths.
Persistence & Privilege
always is false and the skill does not request persistent or elevated platform privileges. It creates/uses a local DB file (memory.db) within the user's workspace as expected; it does not modify other skills or system-wide agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install eidolon-search
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /eidolon-search 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.0.1
- Initial release of eidolon-search: efficient AI agent memory search using SQLite FTS5. - Enables building a full-text search index over markdown files with 90%+ token reduction compared to reading files directly. - Command-line tools provided for indexing (`build-index.py`) and searching (`search.py`) memory files. - Designed for fast, low-cost retrieval in large or context-limited workspaces. - Best used for keyword-based memory or knowledge searches; not suitable for semantic search.
元数据
Slug eidolon-search
版本 0.0.1
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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。

💬 留言讨论