# .grok/memory/

Grok native memory (if [memory] enabled in ~/.grok/config.toml or via flags) lives in ~/.grok/memory/ (global + per-workspace MEMORY.md + sessions/).

**For the shared ClaudeTools memory history:** The authoritative "memory history" (feedback_*.md files, MEMORY.md, project references, all the lessons from past sessions) is in `.claude/memory/`.

- It is git-tracked and synced across machines.
- sync-memory.sh (called from .grok/hooks/ SessionStart and UserPromptSubmit) bridges repo memory to Grok's profile memory.
- Use /memory , /flush , /dream in Grok TUI for native.
- For harness memory: use GrepAI (grepai__grepai_search) over the .claude/memory/ files (they are indexed with boosts), read_file after search, edit with search_replace/write if needed (but coordinate via coord if multi-user).
- The feedback files are "memory history" — search them with GrepAI for prior decisions (e.g. "windows bash mapping", "grok coexistence").

See .claude/memory/MEMORY.md , .claude/scripts/sync-memory.sh , .grok/README.md "Making Grok Remember Things", and CLAUDE.md Automatic Context Loading / memory sections.

Do not duplicate the feedback files here; the sync + GrepAI + CLAUDE.md loading make them available to Grok.
