
Description
Stores a memory verbatim from user input with appropriate type classification and metadata. Use when the user says remember this, save this, store this, note that, or explicitly asks to record a decision, preference, convention, or learning.
SKILL.md
Mem0 Remember
Store a fact 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 metadata.type:
| Content signal | Type |
|---|---|
| "we decided...", "always use...", "never..." | decision |
| "X doesn't work because...", "don't try..." | anti_pattern |
| "I prefer...", "use X instead of Y" | user_preference |
| "the convention is...", "we always..." | convention |
| "learned that...", "figured out..." | task_learning |
| setup, env, tooling, config | environmental |
| anything else | task_learning |
Step 3: Store
Call add_memory with:
text="<the user's text>"user_id=<active_user_id>app_id=<active_project_id>metadata={"type": "<classified_type>", "branch": "<active_branch>", "confidence": 1.0, "source": "remember_command"}infer=False
infer=False because the user stated the fact explicitly — no extraction needed.
confidence=1.0 because the user explicitly asked to store this.
Step 4: Confirm
The add_memory response returns event_id (not memory_id) because writes are async.
Call get_event_status(event_id=<event_id>) once.
- If status is
SUCCEEDED: print the memory ID from the result. - If status is
PENDINGorprocessing: print with the event ID as fallback.
Remembered as <type>: "<content, first 80 chars>"
Memory ID: <id from event status>
Append ... only if content was truncated (longer than 80 chars).
More skills from the mem0 repository
View all 23 skillscontext-loader
load project context from Mem0
Jul 13AgentsContextMemorydream
consolidate and prune stored memories
Jul 13AgentsData CleaningMemoryexport
export project memories to Markdown files
Jul 13BackupMemoryMigrationforget
delete outdated or incorrect memories
Jul 13MaintenanceMemoryPrivacyhealth
diagnose Mem0 connectivity and health
Jul 13DebuggingMemoryMonitoringimport
import project memories from Markdown files
Jul 13MarkdownMemoryMigration
More from Mem0
View publisherlist-projects
list projects with stored memories
mem0
Jul 13AgentsMemorymem0
add persistent memory to AI applications
mem0
Jul 13AgentsAI InfrastructureMemorymem0-cli
manage Mem0 memory via command line
mem0
Jul 13AutomationCLIMemorymem0-integrate
integrate Mem0 into repositories
mem0
Jul 13AgentsAPI DevelopmentMemorymem0-oss-to-platform
migrate Mem0 projects to platform
mem0
Jul 13AgentsMemoryMigrationmem0-test-integration
verify Mem0 integration tests
mem0
Jul 13AgentsMemoryQATesting