Search the Obsidian vault (chrono-brain) for notes, knowledge, tasks, logs, or any information. Use when the user asks to find, recall, or look up something from their second brain. Supports semantic search via ruflo memory and keyword fallback via grep.
Search the Obsidian vault at ~/Library/Mobile Documents/iCloud~md~obsidian/Documents/chrono-brain/.
$ARGUMENTS contains the search query (e.g., /gyst:lookup auth middleware decision).
If $ARGUMENTS is index, skip to the Index section below.
Ensure ruflo embeddings are initialized — if mcp__ruflo__embeddings_status returns initialized: false, run mcp__ruflo__embeddings_init with model all-MiniLM-L6-v2 and hyperbolic: true.
Search all four vault namespaces in parallel using mcp__ruflo__memory_search:
$ARGUMENTSvault-lessons, vault-concepts, vault-entities, vault-projectsMerge results, sort by similarity, take the top 5-8 hits.
If semantic search returns fewer than 3 results above 0.5 similarity, also grep the vault for keywords from the query. Check high-value locations based on what's being searched:
| Query type | Location |
|---|---|
| People, orgs, tools | second-brain/entities/ |
| Projects | second-brain/projects/ |
| Concepts, ideas | second-brain/concepts/ |
| Lessons learned | second-brain/lessons/ |
| Tasks | banyar/tasks.md |
| Recent activity | chrono/daily-logs/ (newest first) |
| Session history | Sessions/ (newest first) |
| Background work | chrono/background-activities/ |
Re-index all second-brain/ notes into ruflo memory for semantic search.
Ensure ruflo embeddings are initialized (same as search).
Discover all .md files in:
second-brain/lessons/second-brain/concepts/second-brain/entities/second-brain/projects/Skip folder index notes (where filename matches directory name, e.g. concepts/concepts.md).
For each note, read it and store via mcp__ruflo__memory_store:
lessons/Global rules beat project CLAUDE md.md)vault-{dir} (e.g. vault-lessons)[dir-name] plus any tags from frontmatterReport results: how many indexed, skipped, total.
second-brain/projects/ and Sessions/ for recent work.