Forget
Delete selected agentmemory entries by ID, only after showing matches and getting explicit confirmation.
- CCM score
- 79 of 100
- skills.sh installs
- 14.9K
- GitHub stars
- 30.7K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the search-then-delete flow:
memory_smart_searchfinds matches, the user confirms, thenmemory_governance_deleteremoves them by memory ID - Enforces a hard confirmation step, so nothing is deleted on silence or an assumed yes, and secret values are redacted in the preview
- Excludes observations, whole sessions, and lessons, which need
memory_lesson_deletewith alessonIdinstead - Reports deleted, not-found, and failed IDs separately, and rechecks IDs before retrying after an interrupted response
Install
$ npx -y skills add rohitg00/agentmemory --skill forget -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
The user wants to remove data from agentmemory: $ARGUMENTS
Quick start
memory_smart_search { "query": "old api key in config", "targetLayer": "memory", "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
Details
- Repository
- github.com/rohitg00/agentmemory
- Category
- Memory & Context
- First seen
- Jul 14, 2026
Questions
What does the forget skill do in agentmemory?
The forget skill deletes selected memories from agentmemory after showing the matches and getting an explicit yes from the user. It is meant for requests like "forget this", "delete memory", or scrubbing specific data for privacy. Deletion is by memory ID, and the skill does not wipe whole sessions.
How do I install the forget skill?
Run npx -y skills add rohitg00/agentmemory --skill forget -y in your project. After installing, the agent can search memories and delete the ones you confirm. Deletion needs memory_smart_search and memory_governance_delete to be available.
Can forget delete a whole session or lessons?
No, this skill cannot erase a whole session or observations, and it says so before proceeding. Lessons are separate and are removed with memory_lesson_delete using a lessonId. Only selected memories found by search are deleted.
Which skills does forget work alongside in Memory & Context?
Forget ranks in the top 25 of the Memory & Context category. Its skill pair is remember, which writes memories, while forget is its undo. Recall is used first to find the exact memory ID before deleting.
More from rohitg00/agentmemory
All 15Similar to Forget
More Memory & ContextrecallSkillrohitg00/agentmemory15K installsHybrid recall tool that searches past agentmemory observations, sessions, and learnings by topic.
agentmemory-mcp-toolsSkillrohitg00/agentmemory12K installsReference map to every agentmemory MCP tool, covering capture, retrieval, graph, slots, and governance tools.
XMemoMCP serveryonro13 starsPersistent, governed memory for AI agents across tools, via MCP, CLI, and REST.
MemoryRouterMCP servermemoryrouterPersistent memory access for AI assistants, covering search, storage, consolidation, and deletion.
memory-managementSkillruvnet/ruflo1.2K installsPersistent AgentDB memory with HNSW semantic search for storing, retrieving, and sharing learned patterns.
search-memorySkillnowledge-co/community733 installsSearch Nowledge Mem memories and threads for past decisions, procedures, and context, with deep escalation when needed.