ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

Node Transfer

Skill by eisonme

skill-install β€” Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/eisonme/node-transfer
Or

node-transfer

High-speed, memory-efficient file transfer between OpenClaw nodes using native Node.js streams.

πŸ“‹ Table of Contents

  • Problem Solved
  • Architecture
  • Requirements
  • Installation
  • Usage
  • API Reference
  • Troubleshooting

🎯 Problem Solved

The Original Problem

When transferring large files between OpenClaw nodes using the standard nodes.invoke mechanism, we encountered several critical issues:

IssueImpact
Base64 Encoding Overhead33% larger payload, slower transfers
Memory Exhaustion (OOM)Loading multi-GB files into memory crashes the process
Transfer LatencyJSON serialization/deserialization adds significant delay
9-Minute DeploymentsRe-deploying scripts on every transfer

The Solution

node-transfer uses native HTTP streaming with Node.js streams, providing:

  • βœ… Zero memory overhead - Files stream directly from disk to network
  • βœ… No Base64 encoding - Raw binary transfer
  • βœ… Speed - Line-speed limited only by network bandwidth
  • βœ… Install Once, Run Many - Scripts persist on nodes after first deployment

Performance Comparison

MetricBase64 Transfernode-transferImprovement
1GB file transfer time~15-30 min~8 sec~150x faster
Memory usage1GB+<10MB99% reduction
First transfer overheadN/A~30 sec (one-time install)-
Subsequent transfers~15-30 min<1 sec check + ~8 sec transfer~200x faster

πŸ—οΈ Architecture

How It Works

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     HTTP Stream      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  send.js     β”‚ ◄──────────────────► β”‚ receive.js   β”‚
β”‚  (Source)    β”‚   (Token-protected)  β”‚ (Destination)β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
       β”‚                                     β”‚
       β–Ό                                     β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Read Stream β”‚                      β”‚ Write Stream β”‚
β”‚  (fs.create  β”‚                      β”‚ (fs.create   β”‚
β”‚   ReadStream)β”‚                      β”‚  WriteStream)β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
       β”‚                                     β”‚
       β–Ό                                     β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  File on     β”‚                      β”‚  File on     β”‚
β”‚  Disk        β”‚                      β”‚  Disk        β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Security Model

  1. One-time Token: 256-bit cryptographically random token (64 hex chars)
  2. Single Connection: Only one download allowed per token
  3. Auto-shutdown: Server closes after transfer completes or disconnects
  4. Token Validation: Every request must include the correct token

Data Flow

Metadata

Author@eisonme
Stars2387
Views3
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build β€” we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-eisonme-node-transfer": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.