← Back to Skills Marketplace
Memory Transfer
by
codeblackhole
· GitHub ↗
· v2.1.1
453
Downloads
1
Stars
1
Active Installs
3
Versions
Install in OpenClaw
/install memory-transfer
Description
Transfer memory files from one OpenClaw agent to another. Use when you need to migrate memory, configuration, or context from one agent to another agent.
Usage Guidance
This tool is coherent with its stated purpose (copying agent memory files), but it lacks path validation: passing absolute paths or '../' style agent IDs can make it read or copy arbitrary files on the host. Before installing or running it, consider: (1) review the code locally (already included) and test only in a safe environment; (2) run with a low-privilege account that cannot read sensitive files; (3) prefer using the --dry-run flag to verify which files will be affected; (4) harden the script by normalizing and validating paths (reject absolute paths and any path segments with '..', ensure resolved path startsWith the workspace base); (5) avoid running on multi-tenant hosts or systems containing sensitive PII unless you trust the inputs and have backups. If you need, ask the developer to add path sanitization and explicit confirmation prompts before copying.
Capability Analysis
Type: OpenClaw Skill
Name: memory-transfer
Version: 2.1.1
The skill contains a path traversal vulnerability in `memory-transfer.js` within the `getWorkspacePath` function, which allows an agent to potentially read or write files outside of the intended workspace directories by using parent directory references (e.g., `../`) in the `agentId` parameter. Additionally, there is a significant discrepancy between the documentation in `SKILL.md`, which claims to implement 'privacy protection' and 'filtering', and the actual implementation in `memory-transfer.js`, which performs simple, unfiltered file copies.
Capability Assessment
Purpose & Capability
Name, description, SKILL.md, and memory-transfer.js all align: the tool lists and copies memory files between agent workspaces under /home/node/.openclaw. No unrelated capabilities are requested.
Instruction Scope
SKILL.md instructs the agent to read/copy files from agent workspaces (expected), but the script accepts arbitrary agent IDs and does not sanitize them. Supplying an absolute path or path traversal (e.g., '/etc', '../somepath') as an agent-id can cause the tool to read or copy files outside the intended workspace base. The instructions do not warn about this risk or restrict operations.
Install Mechanism
No install spec; this is an instruction-only skill with a single local Node script (no remote downloads or package installs). This minimizes install-time risk.
Credentials
The skill requires no environment variables, credentials, or external services. The requested access (local filesystem reads/writes) is consistent with its stated purpose, but scope of filesystem access is broader than it appears because agent IDs can resolve outside the workspace base.
Persistence & Privilege
always is false and the skill does not request persistent agent-wide privileges. It runs on-demand and only manipulates files it can reach based on supplied paths/agent IDs.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install memory-transfer - After installation, invoke the skill by name or use
/memory-transfer - Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.1.1
Optimized description for better discoverability
v2.1.0
v2.1: Added user info filtering, topic-specific transfer, share/clone modes with agent identity adaptation
v1.0.0
Initial release
Metadata
Frequently Asked Questions
What is Memory Transfer?
Transfer memory files from one OpenClaw agent to another. Use when you need to migrate memory, configuration, or context from one agent to another agent. It is an AI Agent Skill for Claude Code / OpenClaw, with 453 downloads so far.
How do I install Memory Transfer?
Run "/install memory-transfer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Memory Transfer free?
Yes, Memory Transfer is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Memory Transfer support?
Memory Transfer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Memory Transfer?
It is built and maintained by codeblackhole (@codeblackhole1024); the current version is v2.1.1.
More Skills