claw2claw-filetransfer
name: claw2claw-filetransfer
by christopher-schulze · published 2026-03-22
$ claw add gh:christopher-schulze/christopher-schulze-claw2claw-filetransfer-v2---
name: claw2claw-filetransfer
description: Cross-platform file transfer between OpenClaw agents via rsync over SSH. From Claws for Claws - send files uncomplicated without getting drizzled by hot butter. Use when user wants to sync, backup, or transfer files between agents on different machines.
homepage: https://github.com/claw2claw/filetransfer
metadata:
clawdbot:
emoji: "📦"
requires:
bins:
- rsync
- ssh
install:
- id: rsync
kind: apt
packages:
- rsync
- openssh-client
label: Install rsync + SSH
---
# claw2claw-filetransfer
**File transfer so smooth, even a lobster can do it.** 🦞
Send files between OpenClaw agents without the drama. rsync over SSH - delta transfers, compression, progress bars. Linux, macOS, Windows - we got you covered.
---
When to Trigger This Skill
Use this skill when user wants to:
---
Quick Start
# 1. Set up remote agent (one-time)
claw2claw setup 192.168.1.100 --user root
# 2. Send files like a pro
claw2claw send /backup.tar.gz
# 3. Get files back
claw2claw get /remote/logs.txt
# 4. Sync entire directories
claw2claw sync-to-remote ./my-project/---
Commands
| Command | Description |
|---------|-------------|
| `setup <host>` | Configure remote agent |
| `send <file>` | Upload to remote |
| `get <file>` | Download from remote |
| `sync-to-remote <dir>` | Push directory to remote |
| `sync-from-remote <dir>` | Pull directory from remote |
| `ls <path>` | List remote files |
| `status` | Show connection status |
---
Options
| Option | Description |
|--------|-------------|
| `-n, --dry-run` | Preview without executing |
| `--compress` | Enable compression (default) |
| `--no-compress` | Disable compression |
| `--debug` | Enable debug output |
---
Environment Variables
REMOTE_HOST="192.168.1.100" # Remote IP/hostname
REMOTE_USER="root" # SSH user
REMOTE_PORT="22" # SSH port
SSH_KEY="/path/to/key" # Custom SSH key
RSYNC_BWLIMIT=1000 # KB/s limit---
Why This Skill?
Features
Use Cases
---
Installation
Linux
# Pre-installed on most distros
sudo apt install rsyncmacOS
brew install rsyncWindows
# Option A: Git Bash (recommended)
# Download from https://git-scm.com
# Option B: cwrsync
# Download from https://www.itefix.net/cwrsync
# Option C: WSL
wsl --install---
Platform-Specific Notes
Git Bash / MSYS2
Windows Command Prompt / PowerShell
WSL
Cygwin
---
Performance Tips
Compression
# On (default) - for text files
claw2claw send /logs/*.log
# Off - for already compressed files
claw2claw send /backup.tar.gz --no-compressBandwidth
# Limit to 500 KB/s
RSYNC_BWLIMIT=500 claw2claw send /huge-file.tar.gzLarge Files
# rsync auto-resumes interrupted transfers
# Just run same command again
claw2claw send /huge-file.tar.gzSelective Sync
# Only sync specific patterns
# Use --include and --exclude in rsync manually
# Or sync specific subdirectories
claw2claw sync-to-remote ./src/---
Testing Connection
Quick Test
claw2claw statusManual SSH Test
ssh -o ConnectTimeout=5 user@host "echo OK"Test File Transfer
# Small test file first
echo "test" > /tmp/test.txt
claw2claw send /tmp/test.txt /tmp/
claw2claw get /tmp/test.txt /tmp/
rm /tmp/test.txt---
Troubleshooting
"rsync: command not found"
# Linux
sudo apt install rsync
# macOS
brew install rsync
# Windows
# Install Git Bash or cwrsync"Permission denied"
# Re-run setup to add SSH key
claw2claw setup <host> --user <user>"Connection timed out"
# Check host reachable
ping <host>
# Check port open
nc -zv <host> 22---
Examples
Daily Backup
claw2claw send /backups/daily-$(date +%Y%m%d).tar.gz /backups/Project Sync
# Morning
claw2claw sync-from-remote /workspace/project/
# Evening
claw2claw sync-to-remote /workspace/project/Log Collection
claw2claw get /var/log/syslog ./logs/---
Security
---
Related Skills
Works well with:
---
Uninstall
rm /usr/local/bin/claw2claw
rm ~/.claw2claw.conf
rm -rf ~/.claw2claw/---
**Made with 🦞🦞**
*From Claws for Claws. Transfer files uncomplicated.*
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...