Skip to main content
skill CX Codex

forget · mem0ai — Claude Code skill: memory deletion and setup

This skill removes Mem0 memories for a user and repository. Use it when you want an agent to clear or forget stored memories.

Apache-2.0 155 installs ★ 69,319 updated 2026-10-23

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add mem0ai/mem0 --skill forget -a claude-code
Open on GitHub

What forget does

forget removes the current user's remote Mem0 memories associated with the repository. Before taking action, the agent must explain what will be erased and get your confirmation. Shared project memory remains unless you explicitly request its removal; deleting it affects everyone working in the repository.

The skill runs memory_cli.py with --remote --yes. To clear local data only, it runs the command without --remote. Confirmation is required before --yes is passed. Removing shared memory also requires --include-project-memory.

What it helps with

  • remove a user's remote memories for a repository
  • clear the local evidence log and pending queue
  • delete shared project memory at the user's request

Example prompts for the agent

  • Run forget and remove my remote memories for this repository.
  • Clear the local memory data, including the evidence log and pending queue.
  • Also delete the shared project memory for everyone working in this repository.

How to install forget

1Skills CLI (Vercel)

npx skills add mem0ai/mem0 --skill forget -a claude-code

2Manually: put the files in place

~/.claude/skills/forget/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/forget/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about forget

How do I install forget in Claude Code?

Run npx skills add mem0ai/mem0 --skill forget -a claude-code. The skill file is located at ~/.claude/skills/forget/SKILL.md.

What does forget do?

It deletes the current user's remote Mem0 memories for the repository. The agent must describe the deletion and receive confirmation first.

Does forget delete shared repository memory?

Shared project memory stays unless you explicitly ask to remove it. That deletion applies to everyone working in the repository.

Source text

SKILL.md · Apache-2.0
---
name: forget
description: Delete the Mem0 memories stored for this repository and this user. Use when the user asks to forget, clear, wipe, or delete memories.
disable-model-invocation: true
---

# 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:

```bash
python3 "${ANTIGRAVITY_PLUGIN_ROOT}/core/memory_cli.py" --harness "antigravity"  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.

© mem0ai · Apache-2.0 · mem0ai/mem0

Similar skills

All skills for Agent setup: memory, context, orchestration →

forget by other authors comes first.

forget rohitg00 forget deletes selected durable memories from agentmemory after explicit confirmation. Useful when scrubbing secrets or obsolete notes. CX Codex +1 14,800installs forget Insilico-org The forget Claude Code skill removes PLSI records tied to one person. It runs when PLSI relays a request to erase the user’s data or that of someone they added. CX Codex +1 ★ 93repo stars nan-forget NaNMesh nan-forget stores project facts and decisions locally, then brings relevant context into later coding sessions. Useful when an agent keeps losing track of past work. CX Codex +1 ★ 5repo stars conversation-memory sickn33 Provides architectural patterns for tiered conversation memory in LLM apps, spanning session buffers and entity stores. Useful when building persistent context across user dialogs. CX Codex +1 1,600installs qdrant-memory cnkang This skill for Claude Code works with persistent Qdrant memory through MCP tools or a standalone CLI. It handles recall, record edits, maintenance, and migration. CX Codex +1 999installs DeepMem deepmemteam DeepMem is an MCP server for Claude Code that gives agents persistent memory, storing facts once and retrieving them by meaning across sessions. CX Codex +1 ★ 114repo stars alibabacloud-tablestore-openclaw-memory aliyun alibabacloud-tablestore-openclaw-memory connects OpenClaw agents to persistent long-term memory powered by Alibaba Cloud Tablestore and mem0. Useful when you need durable context retention across sessions. CX Codex +1 139installs git-context-controller davila7 git-context-controller maintains agent memory inside a versioned .GCC/ folder. It records task milestones, isolates experimental branches, and restores historical context across development sessions. CX Codex +1 82installs

From the same set10

The whole set →
mem0-cli The mem0-cli skill lets an agent use Mem0 memory operations from a terminal, including adding, searching, reading, updating, and deleting records. CX Codex +1 836installs mem0-vercel-ai-sdk mem0-vercel-ai-sdk connects Mem0 memory to the Vercel AI SDK. It shows your agent how to retrieve and store context inside generateText and streamText calls. CX Codex +1 552installs mem0-integrate mem0-integrate wires Mem0 memory into an existing backend repository via a TDD pipeline. Sets up a feature branch, writes tests first, and guards new logic behind a flag. CX Codex +1 441installs mem0-test-integration mem0-test-integration is a skill that verifies a Mem0 integration created by /mem0-integrate by installing dependencies, running tests and a live smoke flow, then printing a scorecard. CX Codex +1 358installs mem0-oss-to-platform mem0-oss-to-platform moves a project from the local mem0 SDK to the hosted Platform SDK, with a reviewable plan before any migration changes are made. CX Codex +1 214installs remember When you tell the agent to remember something, this skill makes it restate the fact clearly so Mem0 can save it for later sessions in the repository. CX Codex +1 161installs context-loader context-loader is a Claude Code skill that searches project memories for code details, decisions, and commands. It surfaces earlier work relevant to the current task. CX Codex +1 117installs mem0 mem0 adds persistent memory to Claude Code so your agent retains project context across terminal sessions. ★ 69,319repo stars

Project sponsors

Companies that keep this analytics open