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 — $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/codex/search-memory commit 17a23c2b1d

Frequently asked questions

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