- remove the Memory Crystal integration wiring for that platform
- preserve unrelated hooks and MCP entries
- keep shared
~/.memory-crystalsupport files unless you explicitly pass--purge
OpenClaw
Use this when Memory Crystal is installed as the OpenClaw plugin.- removes the
crystal-memoryplugin wiring fromopenclaw.json - clears the internal hook command mapping
- resets the OpenClaw memory slot back to
memory-core - restarts the OpenClaw gateway when the CLI is available
Claude Code
Use this when you installed the Memory Crystal MCP integration for Claude Code.- removes the
memory-crystalMCP server from Claude config - removes Memory Crystal hook entries from
~/.claude/settings.json - preserves any unrelated Claude hooks
Codex CLI
Use this when you installed the Memory Crystal MCP integration for Codex CLI.- removes the
memory-crystalMCP block from~/.codex/config.toml - removes Memory Crystal hook entries from
~/.codex/hooks.json - preserves unrelated Codex hooks and feature settings
Factory Droid
Use this when you installed the Memory Crystal MCP integration for Factory Droid.- removes the
memory-crystalMCP server from Factory Droid - removes Memory Crystal hook entries from
~/.factory/settings.json - preserves unrelated Factory Droid hooks
When to use --purge
Use --purge only when you want to remove the local Memory Crystal helper files from ~/.memory-crystal on that machine.
Do not use --purge if:
- another supported client on the same machine still uses Memory Crystal
- you want to keep the local helper files for a later reinstall
