← Back to Skills Marketplace
dongsheng123132

FastCP

by dongsheng123132 · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
124
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install fastcp
Description
Multi-target parallel file copy CLI. Reads source once into memory, writes to multiple USB drives concurrently. | 多目标并行复制工具,源文件只读一次,同时写入多个U盘。
README (SKILL.md)

FastCP - 多目标并行复制 / Multi-target Parallel Copy

将源目录一次性读入内存,并行复制到多个目标(U盘)。专为 AI 工具自动化调用设计。

Read source directory into memory once, copy to multiple targets (USB drives) in parallel. Designed for AI tool automation.

使用场景 / When to use

  • 同一份文件同时复制到多个U盘 / Copy same files to multiple USB drives
  • 批量部署文件到多个目标目录 / Batch deploy to multiple destinations
  • 需要复制后校验完整性 / Copy with integrity verification

安装 / Install

从 GitHub Releases 下载或源码编译:

go install github.com/dongsheng123132/fastcp@latest

用法 / Usage

# 复制到多个U盘 / Copy to multiple USB drives
fastcp \x3Csource_dir> \x3Ctarget1> \x3Ctarget2> [target3] ...

# Windows 示例
fastcp.exe D:\源文件夹 E:\ F:\ G:\ H:\

# Linux/macOS 示例
fastcp /path/to/source /media/usb1 /media/usb2 /media/usb3

# 带校验 / With verification (xxhash)
fastcp --verify \x3Csource> \x3Ctarget1> \x3Ctarget2>

# 增量复制 / Incremental (skip unchanged)
fastcp --incremental \x3Csource> \x3Ctarget1>

# 控制并发数 / Control parallelism (default 3)
fastcp -c 2 \x3Csource> \x3Ctarget1> \x3Ctarget2> \x3Ctarget3>

# 预览模式 / Preview without copying
fastcp --dry-run \x3Csource> \x3Ctarget1> \x3Ctarget2>

参数 / Flags

  • -c, --concurrency N: 同时写入目标数 / simultaneous target writes (default 3)
  • -b, --buffer-size: 写缓冲区 / write buffer (default 4M)
  • --verify: xxhash 校验 / integrity check after copy
  • --incremental: 跳过未变更文件 / skip unchanged files
  • --dry-run: 预览不复制 / preview only
  • --preload-all: 强制全量预加载 / force all files into memory

典型流程 / Typical workflow

  1. 确认U盘挂载盘符 / Identify mounted drives
  2. 执行: fastcp --verify D:\source E:\ F:\ G:\
  3. 检查校验结果 / Check verification output
Usage Guidance
This SKILL.md is coherent and simply documents a CLI tool. However, the skill points to a third-party GitHub repo for installation — you should review the repository or releases before running `go install` or installing any binary. Consider: 1) inspect the source code or release tarball and check commit history/maintainer reputation; 2) prefer pinned versions/tags rather than @latest and verify checksums; 3) run initial tests on non-sensitive, small files and avoid running as root; 4) be cautious with the --preload-all flag (may consume a lot of memory) and with write access to removable drives (ensure you intend the writes). Because there is no bundled code in the skill package, the registry review cannot vouch for the tool's implementation — that review is up to you. If you cannot audit the repo, treat the install as higher risk.
Capability Assessment
Purpose & Capability
Name, description, and usage all describe a CLI that reads a source and writes to multiple targets; the SKILL.md only documents invoking that CLI and an install suggestion (go install), so the requested capabilities are proportional to the stated purpose.
Instruction Scope
Runtime instructions are limited to running the fastcp tool, identifying mounted drives, and using flags like --verify/--dry-run; the document does not instruct the agent to read unrelated files, environment variables, or exfiltrate data.
Install Mechanism
No platform install spec is provided by the registry (skill is instruction-only). SKILL.md suggests `go install github.com/dongsheng123132/fastcp@latest` which is a normal Go install from a GitHub repo — expected for a CLI written in Go but carries the usual caveat of building third-party code locally (moderate risk if the repository is untrusted).
Credentials
The skill declares no required environment variables, credentials, or config paths; that matches the stated purpose and the SKILL.md (no secret access requested).
Persistence & Privilege
Flags show the skill is user-invocable and not always-enabled; it does not request persistent system-wide privileges or modify other skills' configurations in the instructions.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install fastcp
  3. After installation, invoke the skill by name or use /fastcp
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
README and Skill description updated to bilingual Chinese/English
v1.0.0
Initial release of fastcp: a high-speed, parallel file copier for multiple targets. - Copies files from a source directory to several destinations in parallel. - Optimized for batch-copying to multiple USB drives, using a single in-memory read for all writes. - Supports verification (xxhash), incremental mode, parallelism control, dry-run, and preload options. - Command-line tool, with easy integration into batch deployment workflows. - Suitable for users needing rapid, verified, one-to-many copying.
Metadata
Slug fastcp
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is FastCP?

Multi-target parallel file copy CLI. Reads source once into memory, writes to multiple USB drives concurrently. | 多目标并行复制工具,源文件只读一次,同时写入多个U盘。 It is an AI Agent Skill for Claude Code / OpenClaw, with 124 downloads so far.

How do I install FastCP?

Run "/install fastcp" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is FastCP free?

Yes, FastCP is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does FastCP support?

FastCP is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created FastCP?

It is built and maintained by dongsheng123132 (@dongsheng123132); the current version is v1.0.1.

💬 Comments