| name | recall |
| description | Retrieve relevant knowledge from Obsidian vault using 3-layer semantic search based on conversation context |
| argument-hint | <search query or topic> |
| allowed-tools | Read, Bash, Grep |
Semantic Knowledge Retrieval
You are tasked with retrieving relevant knowledge from the Obsidian vault using multi-layer semantic search.
Local Brain Search
Use Local Brain Search for all semantic search operations. Spreading activation mode recommended for synthesis queries.
Scripts:
resources/local-brain-search/run_search.sh "query" --limit 10 --json
resources/local-brain-search/run_search.sh "query" --mode spreading --limit 10 --json
resources/local-brain-search/run_connections.sh "Note Name" --json
resources/local-brain-search/run_connections.sh --hubs --json
Search Query
$ARGUMENTS
Instructions
-
First Layer - Initial Search:
-
Second Layer - Direct Associations:
-
Third Layer - Extended Network:
Output Format
Present the findings in this structured format:
# Knowledge Recall: [Query Topic]
## Layer 1: Direct Matches
[List notes found with similarity/activation scores and key excerpts]
## Layer 2: First-Degree Associations
[List connected notes with their relationships and excerpts]
## Layer 3: Extended Network
[Show hub notes and bridge connections]
## Key Insights
[Synthesize the main themes and connections discovered]
## Relevant Content
[Include the most pertinent excerpts from the retrieved notes]
Important Notes
- Use
--mode spreading for synthesis and connection-finding queries
- Use static mode for exact factual lookups
- Focus on quality over quantity
- Highlight unexpected connections
- Provide enough context for the user to understand the relevance
- If search returns no results, try broader terms or related concepts
- Learning active: Searches are tracked and rankings improve over time based on usage
State Dependencies
| Source | Location | Read | Write | Description |
|---|
| Brain notes | Brain/**/*.md | X | | Search permanent notes, sources, MOCs |
| Local Brain Search index | resources/local-brain-search/ | X | | Vector index for semantic search |
| Memory config | resources/local-brain-search/memory_config.py | X | | Tunable memory parameters |
Completion Checklist