跳到主要内容

remember 精选

Stores a memory verbatim from user input with appropriate category classification. Use when the user says remember this, save this, store this, note that, or explicitly asks to record a preference, decision, goal, or lesson.

在 GitHub 打开

安装方式

cp -r integrations/pi-agent-plugin/skills/remember ~/.claude/skills/remember-7

把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/

整仓一次性获取:git clone --depth 1 https://github.com/mem0ai/mem0.git

依赖与权限

  • 无需 API Key
  • 无需联网
  • 无外部命令依赖
  • 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。
触发场景
save thisstore thisnote thatexplicitly asks to recor

SKILL.md 正文

来源 mem0ai/mem0@b7ad69a · 许可 Apache-2.0 · 内容未修改

Remember

Store a fact, preference, or learning directly into Mem0.

Execution

Step 1: Extract the content

The user provides the content as an argument: /mem0-remember <text>

If no text was provided, ask: "What should I remember?"

Step 2: Classify the memory

Based on the content, pick the best category:

Content signalCategory
"I prefer...", "I like...", "use X instead of Y"preferences
"we decided...", "always use...", "never..."decisions
"I learned...", "figured out...", "don't try..."lessons
"my goal is...", "I want to...", "working toward..."goals
"I work at...", "my role is...", "my team..."work
"every day I...", "my workflow is..."routines
"I'm working on...", "the project involves..."projects
"John is...", "my manager...", "the team..."relationships
"my name is...", "I'm from...", "I studied..."identity
setup, tools, config, environmenttechnical
anything elselessons

Step 3: Store

Use the mem0_memory tool with:

  • action="add"
  • content="<the user's text>"

The /mem0-remember command stores verbatim — no inference. This is already handled by the command.

Step 4: Confirm

Remembered as <category>: "<content, first 80 chars>"

Append ... only if content was truncated (longer than 80 chars).

质量与来源

所属仓库
mem0ai/mem0
仓库星标
6.7 万
最近更新
3 天前
采集时间
今天
commit
b7ad69afda6b
内容指纹
sha256:10e0aeffa6b6624
文件路径
integrations/pi-agent-plugin/skills/remember/SKILL.md

相似 Skill

更多「编码」
access
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed, or change policy for the Discord channel.
精选 anthropics/claude-plugins-official 3.8 万 原文
Claude CodeMCP 客户端
configure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how do I set this up" or "who can reach me," or wants to check channel status.
精选 anthropics/claude-plugins-official 3.8 万 原文
Claude CodeMCP 客户端
access
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed, or change policy for the iMessage channel.
精选 anthropics/claude-plugins-official 3.8 万 原文
Claude CodeMCP 客户端
configure
Check iMessage channel setup and review access policy. Use when the user asks to configure iMessage, asks "how do I set this up" or "who can reach me," or wants to know why texts aren't reaching the assistant.
精选 anthropics/claude-plugins-official 3.8 万 原文
Claude CodeMCP 客户端
access
Manage Telegram channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed, or change policy for the Telegram channel.
精选 anthropics/claude-plugins-official 3.8 万 原文
Claude CodeMCP 客户端
configure
Set up the Telegram channel — save the bot token and review access policy. Use when the user pastes a Telegram bot token, asks to configure Telegram, asks "how do I set this up" or "who can reach me," or wants to check channel status.
精选 anthropics/claude-plugins-official 3.8 万 原文
Claude CodeMCP 客户端