adopt
Use when: user asks to increase claude-mem-lite's tool-invocation rate in the current project, or to (re)install the steering block. Writes a sentinel-wrapped…
Use when: user wants to remove the claude-mem-lite steering block from the current project (or from every project Claude Code knows about with --all). Removes the <cwd>/CLAUDE.md managed block + <cwd>/.claude/plugin_claude_mem_lite.md and cleans any legacy memory-dir residue.
> /plugin marketplace add sdsrss/claude-mem-lite > /plugin install claude-mem-lite@sdsrss
How it fires
How this command gets triggered: by you, by Claude, or both.
/unadoptContext preview
What this command does when you run it.
Use when: user wants to remove the claude-mem-lite steering block from the current project (or from every project Claude Code knows about with --all). Removes the <cwd>/CLAUDE.md managed block + <cwd>/.claude/plugin_claude_mem_lite.md and cleans any legacy memory-dir residue.
name: unadopt description: "Use when: user wants to remove the claude-mem-lite steering block from the current project (or from every project Claude Code knows about with --all). Removes the <cwd>/CLAUDE.md managed block + <cwd>/.claude/plugin_claude_mem_lite.md and cleans any legacy memory-dir residue. User content outside the sentinel is preserved. Benign no-op when not adopted."
Remove the claude-mem-lite steering block from the current project. Opposite of `/adopt`.
1. The `<!-- claude-mem-lite:begin vN --> … <!-- claude-mem-lite:end -->` managed block from `<cwd>/CLAUDE.md`. Everything else in the file is preserved byte-for-byte. 2. `<cwd>/.claude/plugin_claude_mem_lite.md` detail doc. 3. `<cwd>/.claude/.plugin_claude_mem_lite_state.json` sidecar (and an emptied `.claude/` dir).
It also cleans any leftover **legacy** memory-dir sentinel + detail doc for this project (slug-scoped — other plugins' blocks survive).
Code's known-project list (`~/.claude.json` `projects`), plus sweep any legacy memory-dir sentinels. Slug-scoped, so user content and other plugins' blocks survive. A project Claude Code never opened isn't listed — `cd` into it and run `/unadopt` there. Pair with `--dry-run` to preview.
`/unadopt` removes the block now, but the next SessionStart re-adopts unless you also disable it: `claude-mem-lite adopt --disable` (per-project) or `MEM_NO_AUTO_ADOPT=1` (global).
Once unadopted, the conservative hook layer (SessionStart `File Lessons` / `Key Context`, MCP instructions `WHEN TO USE`) returns to verbose mode on the next session start.
!node ${CLAUDE_PLUGIN_ROOT}/cli.mjs unadopt $ARGUMENTS
claude-mem-lite is a persistent memory (also called long-term memory or cross-session context) system for Claude Code — Anthropic's CLI coding agent.
Use when: user asks to increase claude-mem-lite's tool-invocation rate in the current project, or to (re)install the steering block. Writes a sentinel-wrapped…
Use when: logging a known bug + repro steps you can't fix right now. Writes a searchable observation (findable via mem_search + surfaced by recall hooks; still…
Use when: capturing a non-obvious lesson/gotcha/workaround after a tricky fix or surprising behavior. Writes a searchable observation (findable via mem_search…
Use when: user asks to remember something, after solving a non-obvious problem, or to capture key session findings