Back to Mem0

Remember

pi-agent-plugin/skills/remember/SKILL.md

2.0.51.3 KB
Original Source

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).