Browse memories with /memory in Grok Build
Browse memories with /memory in Grok Build
/memory (alias /mem) is a shell-provided command that browses, views, and manages cross-session memories. It only appears when memory is enabled. Official: Modes and Commands.
Prerequisites
Enable memory in user config or via GROK_MEMORY=1 — Enable cross-session memory in Grok Build. Confirm /memory appears beside /remember, /flush, and /dream in /help.
Open the memory UI
/memory
or:
/mem
Use the browser to view and manage notes you saved with /remember. When the list is a pile of raw notes you want compressed, run /dream — Run /dream memory consolidation. Force pending writes with /flush first if you just captured something.
Clear from the shell
Outside the TUI (or when you want a clean slate):
grok memory clear --workspace
grok memory clear --global
grok memory clear --all
Inspect discovery and config sources with grok inspect before you rely on a note in a later session.
Pitfalls
- Without memory enabled,
/memory//memdo not appear. - Clearing with
--allremoves both workspace and global stores — confirm scope before you run it. - Build memory is separate from consumer Grok memory on grok.com (Manage Grok memory).