stormixus

OCFT - OpenClaw File Transfer

AIエージェントv1.1.2
作者:stormixus更新日 2026-05-17全 5 バージョン · 最新版の公開日 2026-02-04ocft@clawhub_stormixus/ocft
エージェントフレームワークツール呼び出し#Message

AlphaMoatによると、2026-09時点でOCFT - OpenClaw File Transferのダウンロード数は3,795、スター数は1で、AIスキル全体5,078件中2,784位、AIエージェントでは969件中553位です。

インストール数
118
ダウンロード数
3795
スター数
1
総合順位
#2,784
全体の上位 55% · AIエージェントの上位 58%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗11834901-
SkillHub ↗11837951—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

信頼できる peer の管理機能があります。初期化でノード ID と秘密情報が作成されるため、接続情報を共有する前に相手を確認し、信頼できる相手とのみファイルを転送してください。

資料公開日 2026-10-29

できること

  • エージェント間でファイルを転送する
  • 分割転送と整合性検証を使って大きなファイルを送る

使う場面

  • メッセージチャネルで信頼できるエージェント間のファイル共有が必要なとき

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

転送前に信頼できる peer を確認する方法と、整合性検証や IPFS フォールバックの役割を説明してください。ファイルは転送しないでください。

月次の推移

ダウンロード数3795
2942340038582026-05 · ダウンロード数 30052026-06 · ダウンロード数 31252026-07 · ダウンロード数 33242026-08 · ダウンロード数 34072026-09 · ダウンロード数 379526-0526-09
スター数1
0122026-05 · スター数 12026-06 · スター数 12026-07 · スター数 12026-08 · スター数 12026-09 · スター数 126-0526-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-093795—1
2026-083407+2.5%1
2026-073324+6.4%1
2026-063125+4.0%1
2026-053005—1

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 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.
すべて表示(全 113 行)
## 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

AIエージェントの人気スキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。