From claude-code-learn
Delete saved knowledge from ~/.claude/learnings/ and optionally clean up knowledge graph.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-code-learn:forgetThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Delete saved knowledge from `~/.claude/learnings/`.
Delete saved knowledge from ~/.claude/learnings/.
Argument: $ARGUMENTS
If empty, list all knowledge files and ask which to delete.
Search ~/.claude/learnings/:
~/.claude/learnings/<slug>.md~/.claude/learnings/*<query>*.mdIf multiple matches, list them and ask the user to pick.
Show the user:
Ask: "Delete this knowledge? (yes/no)"
If confirmed:
Delete the file:
rm ~/.claude/learnings/<slug>.md
Clean up knowledge graph (graceful fallback):
mcp__memory__search_nodes and mcp__memory__delete_entities are available: search for a "learning" entity matching the topic and delete it.Confirm:
Deleted knowledge on "".
npx claudepluginhub ourines/claude-code-learn --plugin claude-code-learnRemoves Knowledge Base files from CLAUDE.md tables and optionally deletes them from disk. Supports direct path or interactive selection, with cross-reference cleanup and index updates.
Resets knowledge base by clearing patterns, quirks, decisions, cache, session, and state to initial empty values. Invoke /learn-reset to wipe accumulated insights.
Selectively and reversibly forget stored memories/concepts by query or date, soft-deactivating them from retrieval without deletion. Useful for privacy or decluttering the kongcode graph.