Search Memory

Search ai-memory for relevant stored memories

Hidden-History Updated

File contents

Search ai-memory for relevant stored memories matching the user's query.

Instructions

  1. 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.
  2. Present the ranked results clearly to the user.

Hidden-History/ai-memory/tree/main/src/memory/adapters/templates/cursor/search-memory commit cda4e67474

Frequently asked questions

npx skillmds@latest add hidden-history/search-memory-2