Transfer memories between OpenClaw agents with optional topic filtering, supporting sharing mode with role transformation or cloning mode for verbatim copies.
Transfer memory files and context between OpenClaw agents with advanced filtering and transformation options.
Best for knowledge/context transfer between agents
This mode:
Filters out user information - Removes personal data about the user:
Transforms to target agent's identity - Converts references to match the target agent:
Use when: Sharing project knowledge, workflows, or task context. The target agent adopts the knowledge as their own experience.
Copies memory exactly as-is without filtering or transformation:
Use when: Full backup/migration or preserving original author's voice.
ls /home/node/.openclaw/
node memory-transfer.js transfer <source-agent-id> <target-agent-id>
node memory-transfer.js transfer <source> <target> --mode interactive
This will prompt for:
node memory-transfer.js transfer <source> <target> --topic "claude"
node memory-transfer.js transfer <source> <target> --mode share
node memory-transfer.js transfer <source> <target> --mode clone
node memory-transfer.js transfer <source> <target> --dry-run
node memory-transfer.js list <agent-id>
node memory-transfer.js search <agent-id> <topic>
When running without explicit flags, the skill will:
share - Filter user info + transform pronouns (recommended for knowledge sharing)clone - Keep original verbatim (for backup)node memory-transfer.js transfer main coder --mode share
node memory-transfer.js transfer main coder 2026-03-01.md --mode clone
node memory-transfer.js transfer main coder --topic "preferences" --dry-run
node memory-transfer.js transfer main coder --mode interactive
When using share mode, the memory is transformed to match the target agent's identity:
| Source | Target |
|---|---|
| I | Agent Main (source agent name) |
| me | Agent Main |
| my | Agent Main's |
| I bought | Agent Main bought |
| I think | Agent Main thinks |
| Source Pattern | Target |
|---|---|
| I work as helper | Agent Skill Master works as helper |
| I serve as | Agent Skill Master serves as |
Result example: "I bought a phone" → "Agent Main bought a phone"
This way the target agent knows this is the source agent's experience, not their own.
| Source | Target |
|---|---|
| I think | you think |
| I believe | you believe |
| I know | you know |
| I understand | you understand |
| I remember | you remember |
| I prefer | you prefer |
| I like | you like |
| I want | you want |
| I need | you need |
Important: The transformation converts both pronouns AND role descriptions so the target agent doesn't inherit confused identity. For example:
OpenClaw agent workspaces are typically at:
/home/node/.openclaw/workspace-<agent-id>//home/node/.openclaw/workspace-main/Memory files:
MEMORY.md - Long-term memorymemory/YYYY-MM-DD.md - Daily memoriesmemory/*.md - Topic-specific memoriesZIP package — ready to use