forget

Delete topic learning files and related knowledge graph entries.

1|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/ourines/claude-code-learn --skill forget
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: forget
Source: https://github.com/ourines/claude-code-learn/tree/main/skills/forget
Command: npx skills add https://github.com/ourines/claude-code-learn --skill forget

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Deleting outdated or unwanted topic learnings from the local memory store and, if possible, removing corresponding graph entries to keep Claude's knowledge base tidy and accurate.

Core Features & Use Cases

  • Delete a specific topic's learning file from ~/.claude/learnings/
  • Optionally clean up the knowledge graph by removing the corresponding entity when supported
  • List all saved learnings to preview before deletion

Quick Start

Delete the knowledge file for a topic from ~/.claude/learnings/ and remove its graph entry if available.

Frequently Asked Questions about forget

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I delete saved Claude learnings from local storage?

To delete saved Claude learnings from local storage, remove the specific topic's learning file from the ~/.claude/learnings/ directory and optionally remove its corresponding entity from the knowledge graph using memory tooling if available.

What's the best way to clean up the knowledge graph when removing topic-specific data?

The best way to clean up the knowledge graph when removing topic-specific data is to use memory tooling like mcp__memory__search_nodes and mcp__memory__delete_entities to find and purge corresponding graph entries alongside local file deletion.

Can I list saved learnings to preview before deleting them?

Yes, you can list all saved learnings to preview them before deletion, allowing you to verify which topic-specific files in the local memory store you intend to purge safely.

Does knowledge graph cleanup work without memory tooling?

Knowledge graph cleanup requires memory tooling like mcp__memory__delete_entities to remove graph entries; without it, the process performs a safe local file deletion only and skips graph updates.

When do I need to purge outdated topic learnings?

You need to purge outdated topic learnings when your local memory store and knowledge graph contain inaccurate or unwanted data, requiring cleanup to keep Claude's knowledge base tidy and accurate.