
Forget
- 9.1k installs
- 26.6k repo stars
- Updated August 3, 2026
- rohitg00/agentmemory
A skill that executes user-confirmed deletion of specific agentmemory observations through search, review, and governed delete workflow
About
A governance skill that safely removes data from agentmemory storage through a two-step confirmation workflow. Developers invoke it when users explicitly request memory deletion for privacy or cleanup. The skill first searches agentmemory using memory_smart_search to locate matching observations, displays results to the user for review, waits for explicit confirmation, then executes memory_governance_delete with specific memory IDs. It prevents accidental data loss by requiring explicit yes confirmation and showing exactly what will be deleted before proceeding. The workflow collects individual memory IDs from search results rather than accepting bare session identifiers.
- Two-step confirmation workflow: search and display matches before deletion to prevent accidental data loss
- Uses memory_smart_search with query and limit 20 to locate observations, then memory_governance_delete with memory IDs
- Requires explicit user confirmation with yes/no prompt, never proceeds on silence or vague responses
- Deletes by individual memory IDs collected from search results, not bare session identifiers
- Reports actual deletion count back to user after successful memory_governance_delete operation
Forget by the numbers
- 9,069 all-time installs (skills.sh)
- +648 installs in the week ending Aug 5, 2026 (Skillselion tracking)
- Ranked #51 of 2,715 Automation & Workflows skills by installs in the Skillselion catalog
- Security screen: LOW risk (skills.sh audit)
- Data as of Aug 5, 2026 (Skillselion catalog sync)
forget capabilities & compatibility
- Capabilities
- search memory observations · display matches · request user confirmation · delete by memory id · report deletion count
What forget says it does
This is destructive and irreversible. Show exactly what will be deleted and get an explicit yes before calling delete.
npx skills add https://github.com/rohitg00/agentmemory --skill forgetAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 9.1k |
|---|---|
| repo stars | ★ 26.6k |
| Security audit | 3 / 3 scanners passed |
| Last updated | August 3, 2026 |
| Repository | rohitg00/agentmemory ↗ |
What it does
Delete specific observations from agentmemory storage after explicit user confirmation for privacy requests or data cleanup.
Who is it for?
Privacy requests, removing sensitive data like API keys, cleaning up outdated observations, or scrubbing specific user data from memory storage
Skip if: Bulk session cleanup without review, automated deletion without user confirmation, or scenarios requiring immediate deletion without verification
When should I use this skill?
User says forget this, delete memory, remove that note, wants to scrub specific data for privacy, or requests memory cleanup
What you get
Specific memories are safely deleted from agentmemory after explicit user confirmation, with clear reporting of what was removed
- Search results displayed to user
- Explicit confirmation received
- Memory IDs deleted from storage
By the numbers
- limit 20 search results by default
- requires 2 step workflow: search then delete
- reports actual deletion count
Files
The user wants to remove data from agentmemory: $ARGUMENTS
Quick start
memory_smart_search { "query": "old api key in config", "limit": 20 }Show the matches, get a yes, then:
memory_governance_delete { "memoryIds": ["abc12345", "def67890"], "reason": "user privacy request" }Expected output:
Found 2 matching memories. Confirmed. Deleted 2 memories.Why
This is destructive and irreversible. Show exactly what will be deleted and get an explicit yes before calling delete. Delete by memory ID, never a bare session.
Workflow
1. Search with memory_smart_search, the user's text as query, limit: 20. 2. Show what matched: session ids, memory ids, titles. Ask for explicit confirmation. Do not proceed on silence or a vague "sure, whatever". 3. On confirmation, call memory_governance_delete with memoryIds (array or comma-separated string) and optional reason (default plugin skill request). 4. To drop a whole session, collect every memory id in that session from the search results and pass them all. The MCP does not accept a bare sessionId. 5. Report the deletion count back.
Anti-patterns
WRONG: search returns matches, you immediately call memory_governance_delete without showing them or waiting for a yes.
RIGHT: list the matches, ask "Delete these 2? (yes/no)", and only delete after an explicit yes.
Checklist
- Matches were shown to the user before any delete.
- An explicit yes was received, not assumed.
memoryIdsholds real ids from the search, never a baresessionId.- Final message states the actual count deleted.
See also
remember: the write side; forget is its undo.recall: find the exact memory id before deleting.
Troubleshooting
See ../_shared/TROUBLESHOOTING.md if memory_smart_search or memory_governance_delete is not available.
forget worked examples
1. Delete a leaked secret
User: "Forget that note where I pasted the API key."
Search:
memory_smart_search { "query": "api key", "limit": 20 }Response:
{
"results": [
{ "id": "abc12345", "sessionId": "7f3a9c21", "title": "Pasted staging API key",
"narrative": "STAGING_KEY=sk-live-..." }
]
}Present and gate:
Found 1 match:
-abc12345(session7f3a9c2) "Pasted staging API key"
>
Delete this memory? (yes/no)
After the user says yes:
memory_governance_delete { "memoryIds": ["abc12345"], "reason": "user privacy request" }Response:
{ "deleted": 1 }Present:
Deleted 1 memory (abc12345).2. Drop a whole session's observations
User: "Delete everything from the throwaway spike session."
Search, identify the session, then collect every memory id in it:
memory_smart_search { "query": "spike prototype throwaway", "limit": 20 }Response has 4 results all with sessionId: c98f1100. Show all four, get a yes, then pass every id:
memory_governance_delete {
"memoryIds": ["m1", "m2", "m3", "m4"],
"reason": "drop throwaway spike session"
}Never send { "sessionId": "c98f1100" }; the MCP deletes by memory id only.
3. User declines
User: "Actually, on second thought, keep them."
Do not call delete. Confirm:
Understood, nothing deleted. The 4 memories from session c98f110 are intact.Related skills
FAQ
Why does the skill require explicit confirmation before deleting?
Deletion is destructive and irreversible. The skill shows exactly what will be deleted and requires an explicit yes to prevent accidental data loss, never proceeding on silence or vague responses.
Can I delete an entire session at once?
The MCP does not accept a bare sessionId. You must collect every memory ID in that session from search results and pass them all to memory_governance_delete.
What happens if I call delete without showing matches first?
This is an anti-pattern. The workflow requires listing matches to the user and asking for explicit yes/no confirmation before any delete operation proceeds.
Is Forget safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.