| name | search-memory |
| description | Search ai-memory for relevant stored memories |
| allowed-tools | Bash |
Search ai-memory for relevant stored memories matching the user's query.
Instructions
- Invoke the search script with no shell: pass a discrete argv array (e.g. Cursor Shell tool argument list, or equivalent) —
$AI_MEMORY_INSTALL_DIR/scripts/memory/run-with-env.sh, then $AI_MEMORY_INSTALL_DIR/scripts/memory/search_cli.py, then the user query string as its own token. Do not embed the query inside a single quoted shell string.
- Present the ranked results clearly to the user.