olares-search

Search Drive, Sync, Google Drive, Dropbox, Wise, and installed apps via olares-cli.

5.2k|321|Updated Apr 29, 2024
One-click install
npx skills add https://github.com/beclab/Olares --skill olares-search
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: olares-search
Source: https://github.com/beclab/Olares/tree/main/cli/skills/olares-search
Command: npx skills add https://github.com/beclab/Olares --skill olares-search

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Locating files and knowledge items scattered across Drive, Sync (Seafile), Google Drive, Dropbox, and Wise on an Olares system requires querying multiple sources; this Skill provides a single federated search entry point through olares-cli.

Core Features & Use Cases

  • Federated file search: One search drive command covers Drive, Sync, Google Drive, and Dropbox on Olares 1.12.7+, with paging and JSON output.
  • Knowledge and app search: Query Wise/Knowledge content and find installed applications by visible title.
  • Use Case: You remember a phrase from a document but not where it lives. Run a full-text search across all four file sources, then use the returned path with files cat or files download to read it.

Quick Start

Use the olares-search skill to find all files containing the phrase quarterly budget across my Drive, Sync, Google Drive, and Dropbox.

Frequently Asked Questions about olares-search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search files across Google Drive and Dropbox on Olares?

Run `olares-cli search drive` on Olares 1.12.7+, which queries Drive, Sync, Google Drive, and Dropbox in one federated request. Cloud sources require a bound integration configured in LarePass Settings.

How to find a file by content instead of filename on Olares?

Use `olares-cli search drive` with your text query, which searches the pre-built per-user full-text index. Note that full-content indexing defaults to the Drive /Documents/ directory unless additional directories are added via settings.

Why does Olares search return no results for a file that exists?

Indexing is asynchronous, so a miss does not prove absence. Verify the path with `files ls`, check extraction failures and index progress with `settings search status`, and confirm cloud accounts are actually bound.

Does Olares search work on versions older than 1.12.7?

On Olares 1.12.6 and older there is no federated channel: `search drive` covers local Drive files only and `search sync` falls back to the sync API, so both commands are needed for full coverage.

Can I search installed Olares applications by name?

Yes, `olares-cli search app` matches installed applications by visible title. It is not lifecycle inventory; use `market list --mine` or `market status` for installation state.