# Send OCFT - OpenClaw File Transfer to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "ocft",
    "name": "OCFT - OpenClaw File Transfer",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/stormixus/ocft",
    "canonicalUrl": "https://clawhub.ai/stormixus/ocft",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/ocft",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ocft",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      ".clawhub/origin.json"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "ocft",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T20:08:43.413Z",
      "expiresAt": "2026-05-07T20:08:43.413Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ocft",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ocft",
        "contentDisposition": "attachment; filename=\"ocft-1.1.2.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "ocft"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/ocft"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/ocft",
    "downloadUrl": "https://openagent3.xyz/downloads/ocft",
    "agentUrl": "https://openagent3.xyz/skills/ocft/agent",
    "manifestUrl": "https://openagent3.xyz/skills/ocft/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/ocft/agent.md"
  }
}
```
## Documentation

### OCFT - OpenClaw File Transfer Protocol

P2P file transfer between AI agents via message channels.

### When to Use

Use this skill when:

Transferring files between AI agents over chat channels
Setting up peer-to-peer file sharing with trusted agents
Sending files through Telegram, Discord, Slack, or any text-based channel
Need chunked transfer with integrity verification
Transferring large files using IPFS fallback

### Installation

npm install -g ocft

### Quick Start

# Initialize your node (generates unique ID and secret)
ocft init

# View your status
ocft status

# Export your connection info to share with peers
ocft export

# Add a trusted peer
ocft add-peer <nodeId> <secret> --name "Friend"

# Or import from URI
ocft import ocft://eyJub2RlSWQ...

### Core Commands

CommandDescriptionocft initInitialize node with unique ID and secretocft statusShow node status and configurationocft show-secretDisplay full secret (careful!)ocft exportExport connection info as URIocft import <uri>Import peer from ocft:// URIocft verify <secret>Verify if a secret matches yours

### Peer Management

CommandDescriptionocft add-peer <id> <secret>Add a trusted peerocft remove-peer <id>Remove a trusted peerocft list-peersList all trusted peersocft extend-peer <nodeId> <hours>Extend a peer's trust expiryocft set-ttl <hours>Set default secret TTL (0 = no expiry)

### Configuration

CommandDescriptionocft set-download <dir>Set download directoryocft set-max-size <size>Set max file size (e.g., 100MB, 1GB)

### IPFS Fallback (for large files)

CommandDescriptionocft ipfs-enableEnable IPFS fallback for large filesocft ipfs-disableDisable IPFS fallbackocft set-ipfs-provider <provider>Set provider: pinata, filebase, kuboocft set-ipfs-key <key>Set IPFS API keyocft set-kubo-url <url>Set Kubo node API URLocft set-ipfs-threshold <size>Size threshold for IPFS (e.g., 50MB)ocft set-ipfs-gateway <url>Set custom public IPFS gateway

### Features

🔗 Message-based: Transfer files through existing chat channels
📦 Chunked transfer: Split large files into small pieces (48KB chunks)
✅ Integrity verification: SHA-256 hash for chunks and files
🤝 Request/Accept: Explicit acceptance or auto-accept policy
🔒 Security: Trusted peer whitelist with secrets
⏰ Secret TTL: Set expiry time for trust relationships
🔄 Resume: Resume interrupted transfers from last chunk
🌐 IPFS Fallback: Use IPFS for files exceeding chunk threshold

### Protocol

OCFT messages use a 🔗OCFT: prefix with Base64-encoded JSON, allowing file transfers over any text-based channel.

### Limitations

Chunk size: 48KB (safe for Base64 in messages)
Default max file size: 100MB (configurable via set-max-size)
Designed for text-based channels
IPFS fallback requires provider setup (Pinata, Filebase, or local Kubo)

### Links

GitHub: https://github.com/stormixus/ocft
npm: https://www.npmjs.com/package/ocft
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: stormixus
- Version: 1.1.2
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-30T20:08:43.413Z
- Expires at: 2026-05-07T20:08:43.413Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/ocft)
- [Send to Agent page](https://openagent3.xyz/skills/ocft/agent)
- [JSON manifest](https://openagent3.xyz/skills/ocft/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/ocft/agent.md)
- [Download page](https://openagent3.xyz/downloads/ocft)