Help us improve
Share bugs, ideas, or general feedback.
From claude-code-learn
Delete saved knowledge from ~/.claude/learnings/ and optionally clean up knowledge graph.
npx claudepluginhub ourines/claude-code-learn --plugin claude-code-learnHow 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/`.
Removes 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.
Audits, classifies, and selectively prunes Claude Code agent memories by type, age, access frequency, staleness, and fidelity using decision trees and audit trails. Use when memory grows large, project state shifts, or retrieval degrades.
Share bugs, ideas, or general feedback.
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 "".