Xpersona
F

fastcp

CLAWHUB · Unverified

Multi-target parallel file copy CLI. Reads source once into memory, writes to multiple USB drives concurrently. | 多目标并行复制工具,源文件只读一次,同时写入多个U盘。 Skill: fastcp Owner: dongsheng123132 Summary: Multi-target parallel file copy CLI. Reads source once into memory, writes to multiple USB drives concurrently. | 多目标并行复制工具,源文件只读一次,同时写入多个U盘。 Tags: latest:1.1.1 Version history: v1.1.1 | 2026-09-02T02:49:17.817Z | user 文档对齐 v1.1.0 实现:补 --json/-q/-v/auto-TTY;新增 JSON 契约示例(AI/脚本集成入口) v1.0.1 | 2026-03-29T05:39:28.852Z | user README and Skill description updated to bilingual C

62
Rank
84
Safety
990
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 990 downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17084bpvdzamtn12vmsse6r0d83ttn8:fastcp
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-dongsheng123132-fastcp/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

12,039 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: fastcp
version: 1.1.1
description: "Multi-target parallel file copy CLI. Reads source once into memory, writes to multiple USB drives concurrently. | 多目标并行复制工具,源文件只读一次,同时写入多个U盘。"
user_invocable: true
---

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

将源目录一次性读入内存,并行复制到多个目标(U盘)。专为 AI 工具自动化调用设计:
非终端环境自动进入安静模式,`--json` 输出机器可读结果。

Read source directory into memory once, copy to multiple targets (USB drives) in parallel.
Designed for AI tool automation: auto-quiet in non-TTY environments, machine-readable `--json` output.

## 使用场景 / When to use
- 同一份文件同时复制到多个U盘 / Copy same files to multiple USB drives
- 批量部署文件到多个目标目录 / Batch deploy to multiple destinations
- 需要复制后校验完整性 / Copy with integrity verification
- AI/脚本调用需要结构化结果 / AI or scripts need structured output

## 安装 / Install

```bash
go install github.com/dongsheng123132/fastcp@latest
```

或从 GitHub Releases 下载二进制。/ Or grab a binary from GitHub Releases.

## 用法 / Usage

```bash
# 复制到多个U盘 / Copy to multiple USB drives
fastcp <source_dir> <target1> <target2> [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 <source> <target1> <target2>

# AI/脚本调用:JSON 输出 / For AI/scripts: JSON output
fastcp --json --verify <source> <target1> <target2>

# 增量复制 / Incremental (skip unchanged)
fastcp --incremental <source> <target1>

# 控制并发数 / Control parallelism (default 3)
fastcp -c 2 <source> <target1> <target2> <target3>

# 预览模式 / Preview without copying
fastcp --dry-run <source> <target1> <target2>
```

## 参数 / 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
- `--json`: JSON 输出(AI/脚本用)/ JSON output (for AI/scripts)
- `-q, --quiet`: 极简输出 / minimal output
- `-v, --verbose`: 详细输出 / verbose output

TTY 行为:终端默认人类可读输出;非终端(管道/AI 调用)自动安静。
TTY behavior: human-readable output in terminals; auto-quiet when piped or driven by AI tools.

## 典型流程 / Typical workflow
1. 确认U盘挂载盘符 / Identify mounted drives
2. 执行: `fastcp --verify D:\source E:\ F:\ G:\`
3. 检查校验结果 / Check verification output

## JSON 契约 / JSON contract

`--json` 输出顶层 `ok`(bool)、`targets`(数组)、`elapsed`;字段 snake_case。

```json
{ "ok": true, "targets": [ { "path": "E:\\", "ok": true, "files": 12, "bytes": 1234567 } ], "elapsed": "25ms" }
```

_meta.json

{
  "ownerId": "kn70q7z33p4gjxeccfpdyjb84n821q5b",
  "slug": "fastcp",
  "version": "1.1.1",
  "publishedAt": 1788317357817
}

skill-card.md

## Description:

Multi-target parallel file copy CLI that reads a source once into memory and writes to multiple USB drives concurrently.

This skill is ready for commercial/non-commercial use.

## Publisher:

[dongsheng123132](https://clawhub.ai/user/dongsheng123132)

### License/Terms of Use:

MIT-0

## Use Case:

Developers, operators, and automation agents use this skill to install and invoke fastcp for copying one source directory to multiple removable drives or target directories, with optional verification, incremental copy, dry-run previews, concurrency control, and JSON output for scripts.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: A normal fastcp command writes to every listed target path, so a mistaken drive letter or mount point could copy files to the wrong destination.

Mitigation: Run fastcp with --dry-run first and confirm each drive letter or mount point before executing a real copy.

Risk: Installing from a moving external source can retrieve code that differs from a previously reviewed release.

Mitigation: Prefer a pinned reviewed version or verify the release checksum before installation.

## Reference(s):

- [ClawHub Skill Page](https://clawhub.ai/dongsheng123132/skills/fastcp)

## Skill Output:

**Output Type(s):** [guidance, shell commands, configuration, json]

**Output Format:** [Markdown with inline shell commands and JSON examples]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May recommend dry-run, verification, quiet, verbose, concurrency, buffer-size, incremental, preload, and JSON-output flags.]

## Skill Version(s):

1.1.1 (source: frontmatter and server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to fastcp and adjacent AI workflows.