recall
Use when the current request needs relevant memories from Mem9.
Remove mem9-managed Codex files before reinstalling, resetting, or uninstalling mem9.
$ npx -y skills add mem9-ai/mem9 --skill cleanup --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/cleanupContext preview
The summary Claude sees to decide when to auto-load this skill.
Remove mem9-managed Codex files before reinstalling, resetting, or uninstalling mem9.
description: Remove mem9-managed Codex files before reinstalling, resetting, or uninstalling mem9. context: fork allowed-tools: - Bash - Read
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:
1. Inspect the current cleanup targets first:
set -euo pipefail node ./scripts/cleanup.mjs inspect
2. Use the JSON summary to confirm whether cleanup should cover only global Codex files or the current project's local override too. 3. Remove mem9-managed global Codex files with:
set -euo pipefail node ./scripts/cleanup.mjs run
4. When the current repository's local override should be removed too, run:
set -euo pipefail node ./scripts/cleanup.mjs run --include-project
Common flags:
`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.
Repo: mem9-ai/mem9
Use when the current request needs relevant memories from Mem9.
Use when Mem9 needs to be initialized, repaired, or checked in this Claude Code environment.
Use when the user explicitly asks Claude to remember one fact, preference, or instruction in Mem9.
Setup mnemos persistent memory with mnemo-server. Triggers: "set up mnemos", "install mnemo plugin", "configure memory plugin", "configure openclaw memory",…