/claude-memory:memory-forgetfrom claude-memory
This skill should be used when the user wants to forget something, delete memories, remove observations, clear outdated information, or reduce memory importance. Trigger phrases include "forget about", "delete memories", "remove observations", "clear memory of", "forget what we learned about".
Ships in claude-memory. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Find and remove or diminish specific observations from memory.
Always preview first — never delete without showing what will be affected.
~/.config/claude-memory/.venv/bin/python3 ${CLAUDE_PLUGIN_ROOT}/scripts/forget.py --query "{{query}}" --preview 2>/dev/null || python3 ${CLAUDE_PLUGIN_ROOT}/scripts/forget.py --query "{{query}}" --preview
This outputs JSON with matching observations:
matches — Array of observations matching the query (id, content, priority, importance, topics, created_at)match_count — Number of matches foundconsolidation_links — Consolidation IDs that reference any matched observations (these observations contributed to synthesized insights)Present the matches clearly to the user, highlighting:
Before proceeding, verify:
{{query}} is *, everything, all, or similar broad terms, warn the user that this will affect ALL observations and require explicit double confirmation.Only after the user explicitly confirms, execute the forget operation:
Soft mode (default — reduces importance so observations are pruned in the next consolidation cycle):
~/.config/claude-memory/.venv/bin/python3 ${CLAUDE_PLUGIN_ROOT}/scripts/forget.py --query "{{query}}" --mode soft --confirm 2>/dev/null || python3 ${CLAUDE_PLUGIN_ROOT}/scripts/forget.py --query "{{query}}" --mode soft --confirm
Hard mode (immediate deletion — irreversible):
~/.config/claude-memory/.venv/bin/python3 ${CLAUDE_PLUGIN_ROOT}/scripts/forget.py --query "{{query}}" --mode hard --confirm 2>/dev/null || python3 ${CLAUDE_PLUGIN_ROOT}/scripts/forget.py --query "{{query}}" --mode hard --confirm
--confirm flag — the script will refuse to modify data without itWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub seangsisg/deja-claude --plugin claude-memory5 skills in this plugin
/memory-consolidateThis skill should be used when the user asks to consolidate memories, merge observations, synthesize insights, run consolidation, or clean up memory. Trigger phrases include "consolidate memories", "merge observations", "run consolidation", "synthesize insights", "clean up memory"./memory-queryThis skill should be used when the user asks to search, query, or recall project memories, observations, or past session history. Trigger phrases include "what do you remember about", "search memory for", "recall", "what did we decide about", "find past observations on", "check memory for", "show me what we learned about". Also triggered by /memory-query./memory-setupThis skill should be used when the user asks to set up, configure, or install the claude-memory plugin, check memory health, diagnose memory issues, or reconfigure their LLM provider. Trigger phrases include "set up memory", "configure memory", "memory setup", "setup memory plugin", "diagnose memory", "check memory setup", "reconfigure memory provider", "fix memory". Also triggered by /memory-setup./memory-statusThis skill should be used when the user asks about memory database statistics, memory health, how many memories are stored, database size, or observation counts. Trigger phrases include "memory stats", "how many memories", "memory status", "show memory health", "database size", "observation count".Other plugins' skills for the same job