Skip to content

Fallback slash commands

When the MCP connection to memory is not working, od3sa-memory setup claude installs a set of slash commands in ~/.claude/commands/. These commands call the od3sa-memory CLI directly and bypass the MCP layer.

The setup helper installs the fallback commands automatically:

Terminal window
cd ~/project-a
od3sa-memory setup claude

Restart Claude Code after running the helper so the commands appear.

Command What it does
/memory-remember <content> Store a memory.
/memory-recall <query> Run a semantic recall.
/memory-search <keywords> Run a keyword search.
/memory-forget <id> Soft-delete a memory by ID.
/memory-vacuum Run a SQLite WAL checkpoint.
/memory-health Return a health, sync, and telemetry snapshot.
/memory-remember User prefers Python examples and short sentences.
/memory-recall Python style preferences
/memory-search Python
/memory-health

Fallback commands use the default database path and the scopes configured in the MCP server environment. If you need different scopes, use the MCP tools or call the od3sa-memory CLI directly.

Prefer the MCP tools (memory_remember, memory_recall, memory_search, etc.) when they are available. The slash commands are a fallback for troubleshooting or when the MCP server is temporarily unreachable.

Knowledge packets are available through the CLI (od3sa-memory packet) and the memory_packet MCP tool. There is no fallback slash command for packets; use the CLI or MCP when you want to build or export a workspace snapshot.