Search And Index
Grok Code has both message search and code-index controls. They solve different problems.
Search Inside The Current Session
Use:
/search/search
This searches the current session messages and lets you navigate matches inside the TUI.
Inspect Current Changes
Use:
/changes/diff
These are useful when you want a user-facing summary of what changed in the current session.
Context And Index Commands
/context: inspect context usage/index: rebuild the code index/index off: disable auto-context for the current session/index status: inspect index stats