360 Secure SkillHub
360 安全技能中心

Mem0 Memory Sync

通过 mem0_client.sh 调用自托管的 Mem0 服务接口,提供添加、检索、对话、更新、删除记忆,以及查看记忆历史、知识图谱与用量统计的子命令,需要配置服务基础地址与 API 密钥。

分类:知识
pratiknarola
pratiknarola
热度 0.00
最近更新 2026-06-03 19:23:09

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add pratiknarola/mem0-memory-sync
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
mem0-sync
description
Sync memories to external Mem0 server (memory.pratikn.com). Use whenever important user context is learned.

Mem0 Sync

Syncs important memories to Pratik's self-hosted Mem0 instance.

Usage

/root/clawd/skills/mem0-sync/mem0_client.sh add "The memory text"
/root/clawd/skills/mem0-sync/mem0_client.sh search "query"
/root/clawd/skills/mem0-sync/mem0_client.sh chat "message"
/root/clawd/skills/mem0-sync/mem0_client.sh delete "memory_id"
/root/clawd/skills/mem0-sync/mem0_client.sh get [limit]         # List user memories
/root/clawd/skills/mem0-sync/mem0_client.sh update "id" "text"  # Update a memory
/root/clawd/skills/mem0-sync/mem0_client.sh history "memory_id" # View memory changes
/root/clawd/skills/mem0-sync/mem0_client.sh graph               # View knowledge graph
/root/clawd/skills/mem0-sync/mem0_client.sh stats               # View usage stats

When to use

  • add: Whenever you update USER.md or write a significant fact to MEMORY.md.
  • search: When you need context that might not be in local files (though local files are primary).
  • delete: Use to remove sensitive data or correct hallucinations. Get the memory_id from a search command first.
  • graph: To explore relationships between entities in memory.
  • stats: To check memory count and usage.