forget 精选
Delete the Mem0 memories stored for this repository and this user. Use when the user asks to forget, clear, wipe, or delete memories.
安装方式
cp -r integrations/claude-code-plugin/skills/forget ~/.claude/skills/forget-2把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/
/plugin marketplace add mem0ai/mem0⚠️ 该命令形态随客户端版本变化,仅在检测到 .claude-plugin/marketplace.json 时展示;不可用时请用「目录复制」。
https://raw.githubusercontent.com/mem0ai/mem0/b7ad69afda6b6ed030347c66d48a13e4de9dec08/integrations/claude-code-plugin/skills/forget/SKILL.md下载后另存为 ~/.claude/skills/forget-2/SKILL.md。链接锁定采集时的 commit,内容与本站展示一致。
整仓一次性获取:git clone --depth 1 https://github.com/mem0ai/mem0.git
依赖与权限
- 无需 API Key
- 无需联网
- 依赖外部命令:
python3 - 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。
SKILL.md 正文
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.
质量与来源
- 所属仓库
- mem0ai/mem0
- 仓库星标
- 6.7 万
- 最近更新
- 3 天前
- 采集时间
- 今天
- commit
- b7ad69afda6b
- 内容指纹
- sha256:014824e65b2acee
- 文件路径
- integrations/claude-code-plugin/skills/forget/SKILL.md