codex-plugin/skills/cleanup/SKILL.md
Remove mem9-managed Codex files before reinstalling, resetting, or uninstalling mem9.
npx skillsauth add mem9-ai/mem9 codex-plugin/skills/cleanupInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Resolve ./scripts/cleanup.mjs relative to this skill directory.
If you need the current CLI surface, flags, or examples, run node ./scripts/cleanup.mjs --help first.
Use command-specific help when needed, for example node ./scripts/cleanup.mjs run --help.
Run this workflow:
set -euo pipefail
node ./scripts/cleanup.mjs inspect
set -euo pipefail
node ./scripts/cleanup.mjs run
set -euo pipefail
node ./scripts/cleanup.mjs run --include-project
Common flags:
inspectrun--include-project--cwd <repo-root>run removes mem9-managed entries from $CODEX_HOME/hooks.json, $CODEX_HOME/mem9/hooks/, $CODEX_HOME/mem9/install.json, $CODEX_HOME/mem9/config.json, and $CODEX_HOME/mem9/state.json.
run --include-project also removes <project>/.codex/mem9/config.json.
Keep $MEM9_HOME/.credentials.json, $CODEX_HOME/config.toml, and mem9 debug logs untouched.
Do not print API keys or credential file contents.
tools
Inspect and configure mem9 for Codex through the single setup entrypoint.
tools
Persistent cloud memory plugin for OpenClaw. This document routes setup, troubleshooting, and uninstall flows and defines config boundaries.
tools
Setup mnemos persistent memory with mnemo-server. Triggers: "set up mnemos", "install mnemo plugin", "configure memory plugin", "configure openclaw memory", "configure opencode memory", "configure claude code memory".
tools
Store one user-approved fact, preference, or instruction in mem9.