Back to Skills

forget

Delete specific observations from agentmemory after showing them and getting explicit confirmation. Use when the user says "forget this", "delete memory", "remove that note", or wants to scrub specific data for privacy.

21,955stars1,803forksUpdated 6/9/2026

Security Assessment

Safe(100/100)
Security Score100/100

About forget

The forget skill is designed to remove specific observations from agentmemory in a controlled and privacy-focused manner. It helps users delete stored information when they no longer want certain data retained, such as sensitive notes, API keys, session-related information, or other remembered content. Because deletion is destructive and irreversible, the skill enforces a confirmation workflow that ensures users can review exactly what will be removed before any deletion takes place. This reduces the risk of accidental data loss and provides transparency throughout the process.

The skill works by first searching agentmemory using the user's request as a query through memory_smart_search. It then presents matching results, including relevant identifiers and titles, so the user can verify the intended targets. Deletion is only performed after receiving an explicit confirmation from the user. The skill uses memory IDs as the deletion source and relies on memory_governance_delete to remove the selected entries. It supports deleting individual memories as well as removing all memories associated with a session, provided the corresponding memory IDs are collected from search results. The workflow also includes reporting the final deletion count after completion.

Typical use cases include privacy requests, cleanup of outdated information, removal of accidentally stored secrets, and management of remembered data. The skill is intended for users who need precise control over agentmemory contents and want a safe process for deleting information. It is especially useful for users handling sensitive data, developers removing obsolete records, and anyone who wants to undo previously stored memories while maintaining clear visibility into what is being deleted.

FAQ

How do I delete a memory using this skill?

Provide a description of what should be removed. The skill searches for matching memories, shows the results, and asks for explicit confirmation before deleting them.

Can the skill delete an entire session directly?

No. The deletion process requires memory IDs. To remove a whole session, the skill must first find all memory IDs associated with that session and then delete those IDs.

Is confirmation required before deletion?

Yes. The skill must show matching memories and receive an explicit yes from the user before any deletion is performed.

What information is shown before deletion?

The workflow displays matched items such as session IDs, memory IDs, and titles so the user can verify exactly what will be removed.

Can deleted memories be recovered?

No. The documentation describes deletion as destructive and irreversible, so users should carefully review matches before confirming.

All Files

2 files
SKILL.md2.2 KB
View
EXAMPLES.md1.4 KB
View

Install forget

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill