← Back to Skills Marketplace
dev-jslee

Eidolon Search

by dev-jsLee · GitHub ↗ · v0.0.1
cross-platform ⚠ suspicious
347
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install eidolon-search
Description
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...
README (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;"
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install eidolon-search
  3. After installation, invoke the skill by name or use /eidolon-search
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug eidolon-search
Version 0.0.1
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 347 downloads so far.

How do I install Eidolon Search?

Run "/install eidolon-search" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Eidolon Search free?

Yes, Eidolon Search is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Eidolon Search support?

Eidolon Search is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Eidolon Search?

It is built and maintained by dev-jsLee (@dev-jslee); the current version is v0.0.1.

💬 Comments