forget

Deletes Mem0 memories by search query or memory ID with confirmation.

1|Updated Jan 13, 2022
One-click install
npx skills add https://github.com/jayho-k/TIL --skill forget-jayho-k
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: forget
Source: https://github.com/jayho-k/TIL/tree/main/AI/mem0/code/mem0_code_analize/mem0/integrations/pi-agent-plugin/skills/forget
Command: npx skills add https://github.com/jayho-k/TIL --skill forget-jayho-k

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Over time, a Mem0 memory store accumulates outdated, incorrect, or sensitive entries that degrade recall quality. This Skill provides a safe, confirmation-gated workflow to locate and permanently remove specific memories without risking accidental data loss. ## Core Features & Use Cases - Query-Based Deletion: Search memories by natural language query, review matching results in a numbered list, and select which entries to delete. - Direct ID Deletion: Remove a specific memory when its ID is already known, with a preview of its content before removal. - Mandatory Confirmation: Every deletion requires explicit user approval, preventing destructive mistakes. - Use Case: After a project ends, run a search for "project alpha deadlines" to find stale memories, review the matches, and delete them all to keep the memory store clean. ## Quick Start Ask the assistant to forget memories about a topic, for example: delete my memories about travel plans.

Frequently Asked Questions about forget

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

FAQPage Schema
How do I delete memories from Mem0?

Provide a search query or a memory ID. The skill searches the Mem0 store with the mem0_memory tool, shows matching memories with content previews, and deletes only the entries you confirm by number, 'all', or 'y'.

How do I remove a specific Mem0 memory by ID?

Pass the memory ID directly as the argument. The skill looks up the memory, displays the first 120 characters of its content and creation date, then asks for a yes/no confirmation before calling the delete action.

Can I delete multiple Mem0 memories at once?

Yes. After a search returns a numbered list of matches, you can enter comma-separated numbers like 1,3,5 or type 'all' to delete every match. Each confirmed memory is deleted individually and failures are reported.

Does deleting Mem0 memories require confirmation?

Yes, confirmation is mandatory. The skill never deletes without explicit approval, since deletion is destructive and irreversible. You can always answer 'cancel' or 'N' to abort without changes.

What happens if a Mem0 memory deletion fails?

The skill reports how many memories were deleted and lists any deletions that failed along with the reason. Successful deletions are not rolled back, so you can retry only the failed entries.