Agent skill

Mem0 Forget

by mem0ai in mem0ai/mem0

Deletes the Mem0 memories stored for this repository and user, after telling the user exactly what will be removed and getting their confirmation.

Apache-2.0Auto-check passedAgent Workflows

Install Mem0 Forget

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

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mem0ai/mem0 forget --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mem0ai/mem0.git skills-src && mkdir -p .claude/skills && cp -r skills-src/integrations/kimi-plugin/skills/forget .claude/skills/forget && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
forget
GitHub stars
67k
Token cost
~263 tokens
SKILL.md length
116 words
Files
1
Skills in repo
25
Repo updated
First seen
Licence
Apache-2.0

At a glance

Deletes the Mem0 memories stored for this repository and user, after telling the user exactly what will be removed and getting their confirmation.

  • Wiping the memories Mem0 holds for the current repository
  • Calls python3
  • Clearing only local capture data such as the evidence log and pending queue
  • Removing the shared project memory for the whole team after an explicit request

What it does

Deletion of remote memories is permanent, so the agent first explains what will go: the user's own memories for this repository only. The repository's project memory is shared by everyone who works in it and stays unless the user explicitly asks to delete that too. Once the user confirms, the agent runs the plugin's memory_cli.py with the forget command, the --remote flag and --yes, and then reports what the command output says was deleted.

If the user also wants the shared project memory removed, the agent adds --include-project-memory and says this removes it for every teammate. If only local data should be cleared, such as the evidence log and the pending queue, the same command runs without --remote. The agent never passes --yes before the user has confirmed in the current conversation.

When your agent uses it

  • Wiping the memories Mem0 holds for the current repository
  • Clearing only local capture data such as the evidence log and pending queue
  • Removing the shared project memory for the whole team after an explicit request

Example prompts

  • “Forget everything you remember about me in this repo.”
  • “Clear the local pending queue but leave my remote memories alone.”
  • “Delete the shared project memory for this repo too; I understand it affects my teammates.”

Requirements

  • The Mem0 plugin for Kimi and Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit c93420c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Mem0 Forget loads about 263 tokens when it runs. Until then it costs about 35 tokens; SKILL.md has 116 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~35
When it runs · the whole SKILL.md, loaded when a task matches
~263

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from mem0ai/mem0 at commit c93420c, republished under its Apache-2.0 licence (© mem0ai). 116 words, ~263 tokens.

Download SKILL.mdSave it as .claude/skills/forget/SKILL.md (or your agent's skills folder).
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 "${KIMI_PLUGIN_ROOT}/core/memory_cli.py" --harness "kimi"  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. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in integrations/kimi-plugin/skills/forget of mem0ai/mem0.

Open the folder on GitHubat commit c93420c

Compare with similar skills

Mem0 Forget next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Mem0 Forget compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mem0 Forget this skillmem0ai/mem067k—~263Automated safety check: PassApache-2.0
Agenticx Memory ArchitectDemonDamon/AgenticX279—~1.1kAutomated safety check: PassApache-2.0
Hyperspacedb MemoryYARlabs/hyperspace-db160—~880Automated safety check: PassMIT
Self Improving Systemsooiyeefei/ccc494—~5.2kAutomated safety check: PassMIT
Mem0Anil-matcha/awesome-muse-connectors1.3k—~867Automated safety check: PassMIT
Mem0majiayu000/claude-skill-registry6661 repos~1.8kAutomated safety check: PassApache-2.0

Similar skills

  • Agenticx Memory Architect

    DemonDamon/AgenticX

    Guide for setting up and using the AgenticX memory system including Mem0 integration, long-term memory, context management, and memory-enhanced agents.

    279 GitHub stars~1.1k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Hyperspacedb Memory

    YARlabs/hyperspace-db

    Zero-overhead cognitive long-term and episodic memory for AI agents (Mem0 drop-in and mcp-hyperspace-memory).

    160 GitHub stars~880 tokensUpdated 29 days ago
    Agent WorkflowsAuto-check passed
  • Decide whether your agent actually needs persistent memory, feedback loops, or closed-loop learning, then design the smallest thing that pays for itself.

    494 GitHub stars~5.2k tokensUpdated 2 mo ago
    Agent WorkflowsAuto-check passed
  • Mem0

    Anil-matcha/awesome-muse-connectors

    Mem0 memory CLI: add memories from messages, semantic search, read or delete memories, poll async events.

    1.3k GitHub stars~867 tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Mem0

    majiayu000/claude-skill-registry

    Adds persistent, personalized long-term memory to LLM apps and agents with Mem0, the open-source memory layer: it extracts facts from conversations, stores them in a vector database and retrieves…

    666 GitHub starsUsed in 1 repo~1.8k tokens
    DatabasesAuto-check passed
  • Mem0 Bridge

    momori777/Artemis

    Mem0 memory bridge for AI Girlfriend — search/read/write long-term memories from Qdrant vector DB.

    377 GitHub stars~453 tokensUpdated 7 days ago
    Media & CreativeAuto-check passed

More from mem0ai/mem0

All 25 skills in this repo
  • Adds persistent memory to AI apps with the Mem0 Python and TypeScript SDKs: store, search, update and delete user memories, with framework integrations.

    67k GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • Adds, searches, lists, updates and deletes memories on the Mem0 platform from the terminal with the mem0 command, including a JSON mode built for agents.

    67k GitHub stars~1.4k tokensUpdated yesterday
    Auto-check: notes
  • Adds persistent memory to Vercel AI SDK apps with the Mem0 provider, using a wrapped model or standalone retrieve and store utilities.

    67k GitHub stars~1.9k tokensUpdated yesterday
    Auto-check passed
  • Finds and deletes specific mem0 memories by search query or ID, always asking for confirmation first, and can undo the most recent memories added this session.

    67k GitHub stars~664 tokensUpdated yesterday
    Auto-check passed
  • Saves a fact, decision or preference the user states into mem0 as written, labeled with a memory type such as decision, convention or user_preference.

    67k GitHub stars~560 tokensUpdated yesterday
    Auto-check passed
  • Shows or changes the default Mem0 memory scope, project, session or global, which decides where memories are saved and searched.

    67k GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about Mem0 Forget

What does Mem0 Forget do?

Deletes the Mem0 memories stored for this repository and user, after telling the user exactly what will be removed and getting their confirmation. Deletion of remote memories is permanent, so the agent first explains what will go: the user's own memories for this repository only. The repository's project memory is shared by everyone who works in it and stays unless the user explicitly asks to delete that too.

When should I use Mem0 Forget?

Mem0 Forget fits situations like: wiping the memories Mem0 holds for the current repository; clearing only local capture data such as the evidence log and pending queue; removing the shared project memory for the whole team after an explicit request.

How do I install Mem0 Forget in Claude Code?

Run `npx skills add mem0ai/mem0 --skill forget -a claude-code`. Or copy the skill folder (integrations/kimi-plugin/skills/forget in mem0ai/mem0) into .claude/skills/forget in your project. Claude Code loads it when a task matches its description.

How do I install Mem0 Forget in Codex?

Run `npx skills add mem0ai/mem0 --skill forget -a codex`. Or copy the skill folder (integrations/kimi-plugin/skills/forget in mem0ai/mem0) into .agents/skills/forget in your project. Codex loads it when a task matches its description.

Can I use Mem0 Forget in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mem0ai/mem0 --skill forget -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/forget, .gemini/skills/forget, .github/skills/forget and .opencode/skills/forget in your project.

What does Mem0 Forget need to run?

Going by SKILL.md and its folder, Mem0 Forget needs the command-line tools its instructions call (python3). Our summary lists: The Mem0 plugin for Kimi and Python 3.

Does Mem0 Forget access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Mem0 Forget safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Mem0 Forget use?

Mem0 Forget is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Mem0 Forget use?

About 263 tokens (SKILL.md is roughly 1.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Mem0 Forget?

Skills that share tags, products or a category with Mem0 Forget: Agenticx Memory Architect (DemonDamon/AgenticX, 279 stars), Hyperspacedb Memory (YARlabs/hyperspace-db, 160 stars), Self Improving Systems (ooiyeefei/ccc, 494 stars) and Mem0 (Anil-matcha/awesome-muse-connectors, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mem0 Forget?

mem0ai (a GitHub organization) maintains it in mem0ai/mem0, which has 66,715 GitHub stars. The repository holds 25 skills in this directory. The repository was last updated on October 6, 2026.

Source: mem0ai/mem0 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.