forget
Delete the Mem0 memories stored for this repository and this user. Use when the user asks to forget, clear, wipe, or delete memories.
How do I install this agent skill?
npx skills add https://github.com/mem0ai/mem0 --skill forgetIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides a mechanism for users to delete their stored Mem0 memories. It executes a local vendor script to perform the deletion and requires explicit user confirmation before proceeding with destructive actions.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Forget this repository's memories
This permanently deletes remote memories. Before running anything, tell the user exactly what will be deleted: their own memories for this repository only. The repository's project memory is shared by everyone who works in it, so it stays unless the user explicitly asks to delete that too.
After the user confirms, run:
python3 "${CLAUDE_PLUGIN_ROOT}/core/memory_cli.py" --harness "claude-code" --plugin-data-dir "${CLAUDE_PLUGIN_DATA}" forget --remote --yes
If the user also asked to delete the repository's shared project memory, add
--include-project-memory and say that this removes it for every teammate.
Report what the command output says was deleted. If the user only wants local
data cleared (evidence log, pending queue), run the same command without
--remote. Never pass --yes before the user has confirmed in this
conversation.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/mem0ai/mem0/forget">View forget on skillZs</a>