mcpField
F
forget

forget

github.com/mem0aiAgent workflows68.2k142 installsUpdated 1d ago
Repository

About forget

forget is a skill for deleting remote memories associated with a repository, with a confirmation step and an option to include shared project memory. It also supports clearing local data without deleting remote memories.

Key features

  1. 01Confirm before remote deletion
  2. 02Delete repository-specific memories
  3. 03Optionally include shared project memory
  4. 04Clear local data without remote deletion

Use cases

  1. 01Remove personal memories for a repository
  2. 02Delete shared project memory after explicit request
  3. 03Clear a local evidence log or pending queue

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/mem0ai/mem0 --skill forget

After installing, type/forgetin Claude Code to confirm it loaded.

Details

From the project README

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.

Comments

Markdown supported