← 返回 Skills 市场
christopher-schulze

Claw2claw Filetransfer

作者 Christopher · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
613
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install claw2claw-filetransfer-v2
功能描述
Cross-platform file transfer between OpenClaw agents via rsync over SSH. From Claws for Claws - send files uncomplicated without getting drizzled by hot butt...
使用说明 (SKILL.md)

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:

  • Transfer files between two OpenClaw agents
  • Sync project directories bidirectionally
  • Backup files to a remote agent
  • Pull logs/data from remote agent
  • Set up SSH connection between agents
  • Move bits from A to B without crying

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 \x3Chost> Configure remote agent
send \x3Cfile> Upload to remote
get \x3Cfile> Download from remote
sync-to-remote \x3Cdir> Push directory to remote
sync-from-remote \x3Cdir> Pull directory from remote
ls \x3Cpath> 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

  • Delta transfers - Only sends changed bytes
  • Compression - Gzip on the wire
  • Progress bars - Watch it go brrr
  • Bidirectional - Push or pull
  • Cross-platform - Linux, macOS, Windows
  • Key-based auth - No passwords

Use Cases

  • Backup server to local
  • Sync code between agents
  • Pull logs for analysis
  • Deploy static sites
  • Share datasets

Installation

Linux

# Pre-installed on most distros
sudo apt install rsync

macOS

brew install rsync

Windows

# 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

  • Uses Unix-style paths: /c/Users/...
  • rsync usually pre-installed
  • Works out of the box

Windows Command Prompt / PowerShell

  • Use full paths or forward slashes: C:/Users/...
  • Or use cwrsync

WSL

  • Detected as Linux, works perfectly
  • Can communicate with Windows filesystem

Cygwin

  • Install via Cygwin setup
  • Path: /cygdrive/c/Users/...

Performance Tips

Compression

# On (default) - for text files
claw2claw send /logs/*.log

# Off - for already compressed files
claw2claw send /backup.tar.gz --no-compress

Bandwidth

# Limit to 500 KB/s
RSYNC_BWLIMIT=500 claw2claw send /huge-file.tar.gz

Large Files

# rsync auto-resumes interrupted transfers
# Just run same command again
claw2claw send /huge-file.tar.gz

Selective 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 status

Manual 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 \x3Chost> --user \x3Cuser>

"Connection timed out"

# Check host reachable
ping \x3Chost>

# Check port open
nc -zv \x3Chost> 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

  • SSH key-based auth only
  • Keys: ~/.ssh/ (mode 700)
  • Config: ~/.claw2claw.conf (mode 600)
  • No passwords in scripts

Related Skills

Works well with:

  • blogwatcher - Sync RSS feeds between agents
  • github - Sync repositories after commits
  • playwright-scraper-skill - Transfer scraped data
  • Any skill that needs to share files

Uninstall

rm /usr/local/bin/claw2claw
rm ~/.claw2claw.conf
rm -rf ~/.claw2claw/

Made with 🦞🦞

From Claws for Claws. Transfer files uncomplicated.

安全使用建议
This package is documentation for using rsync over SSH rather than a runnable plugin. Before installing or using it: - Understand it does not include a 'claw2claw' binary — you must either install a separate CLI from a trusted source or run the shown rsync/ssh commands yourself. - The instructions assume access to your SSH key files (~/.ssh/) and will (per docs) add keys to remotes and create ~/.claw2claw.conf; only proceed if you trust the remote host and you understand where keys/configs will be written. - Be careful with rsync options that delete remote/local files (sync-to-remote/sync-from-remote warnings); test with --dry-run first. - If you plan to install a third-party 'claw2claw' binary to match these docs, verify its source (checksums, GitHub release, maintainer) before running it; avoid copying private keys to unknown installers. - If you want automated behavior from an agent, prefer a skill that either provides its implementation or clearly documents exactly which local files it will read/write and which external endpoints it will contact. If unsure, treat this as guidance-only and execute transfers manually.
功能分析
Type: OpenClaw Skill Name: claw2claw-filetransfer-v2 Version: 1.0.0 The skill bundle describes a legitimate file transfer tool using rsync over SSH, with transparent documentation regarding its capabilities, including SSH key management and potential data deletion. However, the inherent power of wrapping `rsync` and `ssh` commands, especially with options like `--delete` and the default use of `root` in examples, introduces significant risk. Without the actual `claw2claw` executable, potential vulnerabilities such as shell injection (if user input is not sanitized when constructing commands) cannot be ruled out. While there is no evidence of malicious intent or prompt injection for harmful objectives in the provided files, the high-risk capabilities warrant a 'suspicious' classification.
能力评估
Purpose & Capability
The SKILL.md advertises a runnable 'claw2claw' CLI with commands (setup, send, get, sync-*) and an uninstall step that removes /usr/local/bin/claw2claw, but the package is instruction-only and contains no executable or installer for that CLI. The only declared install action is to install rsync/openssh-client via apt, which does not provide the claimed 'claw2claw' binary. This mismatch means the skill as published cannot actually perform the advertised automated functionality unless an external binary is installed separately.
Instruction Scope
The instructions tell the agent to test SSH connectivity, add SSH keys to a remote, and write/read config at ~/.claw2claw.conf and ~/.ssh/. Those file and key operations are outside the declared requirements (requires.config_paths is empty). The docs also instruct running ssh/rsync commands and warn about destructive rsync options (deletes on sync), which could lead to data loss if blindly followed. The instructions are concrete about manipulating keys/config but provide no safe, constrained procedure or requirement declarations.
Install Mechanism
There is no install spec that fetches code from arbitrary URLs; the metadata suggests installing rsync/openssh-client via the system package manager (apt) which is a standard, low-risk operation. Because the skill is instruction-only, nothing in the registry package will write code to disk automatically.
Credentials
The skill declares no required environment variables, but the SKILL.md examples reference REMOTE_HOST, REMOTE_USER, REMOTE_PORT, SSH_KEY, and RSYNC_BWLIMIT, and the Security section references ~/.ssh/ and a config file. That implicitly requires access to SSH keys (potentially private keys) and to create/read config files, yet these accesses are not declared as required credentials. This gap makes it unclear what sensitive data the agent or user must expose for 'setup' to work.
Persistence & Privilege
always:false and user-invocable:true (defaults) — the skill does not request persistent platform privileges. However, SKILL.md describes installation/uninstallation of a CLI and writes a config file (~/.claw2claw.conf). Because no installer is bundled, any persistent artifacts would come from external software the user installs; the skill itself does not create that persistence.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install claw2claw-filetransfer-v2
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /claw2claw-filetransfer-v2 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of claw2claw-filetransfer. - Enables cross-platform file transfer and sync between OpenClaw agents using rsync over SSH. - Supports Linux, macOS, Windows (Git Bash, WSL, Cygwin). - Provides commands for sending, getting, syncing directories, status checks, and remote file listing. - Supports SSH key-based authentication only—no passwords required. - Features delta transfers, compression, progress bars, and bandwidth limits. - Includes troubleshooting tips, performance advice, and platform-specific usage notes.
元数据
Slug claw2claw-filetransfer-v2
版本 1.0.0
许可证
累计安装 1
当前安装数 0
历史版本数 1
常见问题

Claw2claw Filetransfer 是什么?

Cross-platform file transfer between OpenClaw agents via rsync over SSH. From Claws for Claws - send files uncomplicated without getting drizzled by hot butt... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 613 次。

如何安装 Claw2claw Filetransfer?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install claw2claw-filetransfer-v2」即可一键安装,无需额外配置。

Claw2claw Filetransfer 是免费的吗?

是的,Claw2claw Filetransfer 完全免费(开源免费),可自由下载、安装和使用。

Claw2claw Filetransfer 支持哪些平台?

Claw2claw Filetransfer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Claw2claw Filetransfer?

由 Christopher(@christopher-schulze)开发并维护,当前版本 v1.0.0。

💬 留言讨论