- name
- memory-transfer
- description
- Transfer memory between OpenClaw agents with advanced features: topic-specific filtering, user info privacy protection, and intelligent agent identity adaptation. Use when: (1) Migrating context between agents, (2) Sharing knowledge without leaking user personal info, (3) Backing up agent memory. Supports share mode (filters user data + adapts to target agent) and clone mode (verbatim copy).
- metadata
Memory Transfer Skill
Transfer memory files and context between OpenClaw agents.
Use Cases
- Migrate memory from main agent to a sub-agent
- Copy user preferences to a new agent
- Share project context between agents
- Backup agent memory before resets
How It Works
- Read source agent's workspace memory files
- Copy to target agent's workspace
- Optionally merge with existing memory
Commands
List available agents
ls /home/node/.openclaw/Transfer memory from source to target
node memory-transfer.js transfer <source-agent-id> <target-agent-id>Transfer specific memory file
node memory-transfer.js transfer <source-agent-id> <target-agent-id> <memory-file>List agent memories
node memory-transfer.js list <agent-id>Preview transfer (dry run)
node memory-transfer.js transfer <source> <target> --dry-runExamples
Transfer main agent memory to coder agent
node memory-transfer.js transfer main coderTransfer specific date memory
node memory-transfer.js transfer main coder 2026-03-01.mdPreview what would be transferred
node memory-transfer.js transfer main coder --dry-runAgent Workspaces
OpenClaw agent workspaces are typically at:
/home/node/.openclaw/workspace-<agent-id>/- Main agent:
/home/node/.openclaw/workspace-main/
Memory files:
MEMORY.md- Long-term memorymemory/YYYY-MM-DD.md- Daily memories