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: search results seem noisy or for periodic memory maintenance
> /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.
/updateContext preview
What this command does when you run it.
Use when: search results seem noisy or for periodic memory maintenance
name: update description: "Use when: search results seem noisy or for periodic memory maintenance"
Run intelligent maintenance on the memory database.
When the user invokes `/mem:update`, perform the following maintenance cycle:
1. Call `mem_maintain(action="scan")` to analyze maintenance candidates 2. Report scan results to the user (duplicates, stale items, broken items, boostable items, **pending purge** items) 3. Call `mem_maintain(action="execute", operations=["cleanup","decay","boost"])` to apply safe automatic changes 4. If duplicates were found in scan, review them and call `mem_maintain(action="execute", operations=["dedup"], merge_ids=[[keepId, removeId1, ...], ...])` — keep the more important/recent observation in each pair 5. Run `mem_compress(preview=false)` for old low-value observations 6. **If pending purge items > 0**: Report the count to the user and ask for confirmation. If confirmed, call `mem_maintain(action="execute", operations=["purge_stale"], confirm=true)`. **`confirm=true` is required:** without it the call returns a dry-run preview and deletes nothing while still succeeding, so you would report a purge that never happened. User may optionally specify `retain_days` (default 30, allowed range 7–365) to control how many days of data to keep. Do NOT purge without explicit user confirmation.
Summarize all maintenance actions taken in zh-CN:
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