Memory Search
by @aigentic-net
Search and retrieve relevant information from your indexed memory files using semantic queries and direct file reads for context.
clawhub install memory-searchπ About This Skill
Memory Search
You have two tools for recalling information from your memory files. Use them.
Tools
memory_search
Semantic vector search across your indexed memory files (MEMORY.md, memory/*.md, and session transcripts).
Parameters:
| Param | Type | Required | Description |
|---|---|---|---|
| query | string | yes | Natural language question or topic to search for |
| maxResults | number | no | Max results to return (default: 6) |
| minScore | number | no | Minimum relevance score threshold (0-1) |
Example calls:
{ "query": "what projects is the human working on" }
{ "query": "preferences about code style", "maxResults": 3 }
{ "query": "important dates birthdays deadlines", "maxResults": 10, "minScore": 0.3 }
Returns: Array of results, each with:
snippet β the matching text chunkpath β relative file path (e.g. MEMORY.md, memory/2026-02-07.md)startLine / endLine β line range in the source filescore β relevance scorecitation β formatted source reference (in direct chats)memory_get
Read a specific section of a memory file by path and line range. Use this after memory_search to pull more context around a result.
Parameters:
| Param | Type | Required | Description |
|---|---|---|---|
| path | string | yes | Relative path from workspace (e.g. MEMORY.md, memory/2026-02-07.md) |
| from | number | no | Starting line number |
| lines | number | no | Number of lines to read |
Example calls:
{ "path": "MEMORY.md" }
{ "path": "memory/2026-02-07.md", "from": 15, "lines": 30 }
When to Use Memory Search
Always search before answering about:
The pattern is:
1. Receive a question that might involve past context
2. Call memory_search with a relevant query
3. Review the results
4. If a snippet looks promising but needs more context, call memory_get with the path and line range
5. Answer using what you found (cite sources in direct chats)
When NOT to Use
Tips
What Gets Indexed
Your memory search covers:
MEMORY.md β your curated long-term memorymemory/*.md β daily notes and raw logsThese files are automatically indexed. You don't need to trigger indexing β just write to the files and the system handles the rest.
Do NOT
cat or ls to read memory files. Use memory_search and memory_get.memory/ directory looks sparse.