stormixus

OCFT - OpenClaw File Transfer

AI Agentv1.1.2
By stormixusUpdated 2026-05-175 versions · latest released 2026-02-04ocft@clawhub_stormixus/ocft
Agent FrameworksTool Use#Message

According to AlphaMoat, as of 2026-09, OCFT - OpenClaw File Transfer has 3,795 downloads and 1 stars — ranked #2,784 of 5,078 AI skills overall, and #553 of 969 in AI Agent.

Installs
118
Downloads
3.8K
Stars
1
Overall Rank
#2,784
Top 55% overall · Top 58% in AI Agent
PlatformInstallsDownloadsStarsComments
ClawHub ↗1183.5K1-
SkillHub ↗1183.8K1—

Platforms count differently and update at different times.

What this skill does

It supports trusted-peer management. Initialization creates a node identity and secret; verify the peer before sharing connection details and transfer files only with trusted recipients.

Profile published 2026-10-29

What you can do with it

  • Transfer files between agents
  • Send larger files with chunking and integrity verification

When to use it

  • When sharing files between trusted agents through message channels

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Explain how to verify a trusted peer before transferring a file and what integrity checks and IPFS fallback do; do not transfer files.

Monthly Trend

Downloads3.8K
2.9K3.4K3.9K2026-05 · Downloads 3.0K2026-06 · Downloads 3.1K2026-07 · Downloads 3.3K2026-08 · Downloads 3.4K2026-09 · Downloads 3.8K26-0526-09
Stars1
0122026-05 · Stars 12026-06 · Stars 12026-07 · Stars 12026-08 · Stars 12026-09 · Stars 126-0526-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-093.8K—1
2026-083.4K+2.5%1
2026-073.3K+6.4%1
2026-063.1K+4.0%1
2026-053.0K—1

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

3.5 KB · ClawHub v1.1.2
---
name: ocft
description: P2P file transfer between AI agents via message channels. Supports chunked transfer, IPFS fallback for large files, and trusted peer management.
homepage: https://github.com/stormixus/ocft
---

# OCFT - OpenClaw File Transfer Protocol

P2P file transfer between AI agents via message channels.
Show all (113 lines)
## 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

```bash
npm install -g ocft
```

## Quick Start

```bash
# 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...
```

## CLI Commands

### Core Commands

| Command | Description |
|---------|-------------|
| `ocft init` | Initialize node with unique ID and secret |
| `ocft status` | Show node status and configuration |
| `ocft show-secret` | Display full secret (careful!) |
| `ocft export` | Export connection info as URI |
| `ocft import <uri>` | Import peer from ocft:// URI |
| `ocft verify <secret>` | Verify if a secret matches yours |

### Peer Management

| Command | Description |
|---------|-------------|
| `ocft add-peer <id> <secret>` | Add a trusted peer |
| `ocft remove-peer <id>` | Remove a trusted peer |
| `ocft list-peers` | List all trusted peers |
| `ocft extend-peer <nodeId> <hours>` | Extend a peer's trust expiry |
| `ocft set-ttl <hours>` | Set default secret TTL (0 = no expiry) |

### Configuration

| Command | Description |
|---------|-------------|
| `ocft set-download <dir>` | Set download directory |
| `ocft set-max-size <size>` | Set max file size (e.g., `100MB`, `1GB`) |

### IPFS Fallback (for large files)

| Command | Description |
|---------|-------------|
| `ocft ipfs-enable` | Enable IPFS fallback for large files |
| `ocft ipfs-disable` | Disable IPFS fallback |
| `ocft set-ipfs-provider <provider>` | Set provider: `pinata`, `filebase`, `kubo` |
| `ocft set-ipfs-key <key>` | Set IPFS API key |
| `ocft set-kubo-url <url>` | Set Kubo node API URL |
| `ocft 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

Popular in AI Agent

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.