{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/ocft",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ocft",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      ".clawhub/origin.json"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/ocft",
    "agentPageUrl": "https://openagent3.xyz/skills/ocft/agent",
    "manifestUrl": "https://openagent3.xyz/skills/ocft/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/ocft/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "OCFT - OpenClaw File Transfer Protocol",
        "body": "P2P file transfer between AI agents via message channels."
      },
      {
        "title": "When to Use",
        "body": "Use this skill when:\n\nTransferring files between AI agents over chat channels\nSetting up peer-to-peer file sharing with trusted agents\nSending files through Telegram, Discord, Slack, or any text-based channel\nNeed chunked transfer with integrity verification\nTransferring large files using IPFS fallback"
      },
      {
        "title": "Installation",
        "body": "npm install -g ocft"
      },
      {
        "title": "Quick Start",
        "body": "# Initialize your node (generates unique ID and secret)\nocft init\n\n# View your status\nocft status\n\n# Export your connection info to share with peers\nocft export\n\n# Add a trusted peer\nocft add-peer <nodeId> <secret> --name \"Friend\"\n\n# Or import from URI\nocft import ocft://eyJub2RlSWQ..."
      },
      {
        "title": "Core Commands",
        "body": "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"
      },
      {
        "title": "Peer Management",
        "body": "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)"
      },
      {
        "title": "Configuration",
        "body": "CommandDescriptionocft set-download <dir>Set download directoryocft set-max-size <size>Set max file size (e.g., 100MB, 1GB)"
      },
      {
        "title": "IPFS Fallback (for large files)",
        "body": "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"
      },
      {
        "title": "Features",
        "body": "🔗 Message-based: Transfer files through existing chat channels\n📦 Chunked transfer: Split large files into small pieces (48KB chunks)\n✅ Integrity verification: SHA-256 hash for chunks and files\n🤝 Request/Accept: Explicit acceptance or auto-accept policy\n🔒 Security: Trusted peer whitelist with secrets\n⏰ Secret TTL: Set expiry time for trust relationships\n🔄 Resume: Resume interrupted transfers from last chunk\n🌐 IPFS Fallback: Use IPFS for files exceeding chunk threshold"
      },
      {
        "title": "Protocol",
        "body": "OCFT messages use a 🔗OCFT: prefix with Base64-encoded JSON, allowing file transfers over any text-based channel."
      },
      {
        "title": "Limitations",
        "body": "Chunk size: 48KB (safe for Base64 in messages)\nDefault max file size: 100MB (configurable via set-max-size)\nDesigned for text-based channels\nIPFS fallback requires provider setup (Pinata, Filebase, or local Kubo)"
      },
      {
        "title": "Links",
        "body": "GitHub: https://github.com/stormixus/ocft\nnpm: https://www.npmjs.com/package/ocft"
      }
    ],
    "body": "OCFT - OpenClaw File Transfer Protocol\n\nP2P file transfer between AI agents via message channels.\n\nWhen to Use\n\nUse this skill when:\n\nTransferring files between AI agents over chat channels\nSetting up peer-to-peer file sharing with trusted agents\nSending files through Telegram, Discord, Slack, or any text-based channel\nNeed chunked transfer with integrity verification\nTransferring large files using IPFS fallback\nInstallation\nnpm install -g ocft\n\nQuick Start\n# Initialize your node (generates unique ID and secret)\nocft init\n\n# View your status\nocft status\n\n# Export your connection info to share with peers\nocft export\n\n# Add a trusted peer\nocft add-peer <nodeId> <secret> --name \"Friend\"\n\n# Or import from URI\nocft import ocft://eyJub2RlSWQ...\n\nCLI Commands\nCore Commands\nCommand\tDescription\nocft init\tInitialize node with unique ID and secret\nocft status\tShow node status and configuration\nocft show-secret\tDisplay full secret (careful!)\nocft export\tExport connection info as URI\nocft import <uri>\tImport peer from ocft:// URI\nocft verify <secret>\tVerify if a secret matches yours\nPeer Management\nCommand\tDescription\nocft add-peer <id> <secret>\tAdd a trusted peer\nocft remove-peer <id>\tRemove a trusted peer\nocft list-peers\tList all trusted peers\nocft extend-peer <nodeId> <hours>\tExtend a peer's trust expiry\nocft set-ttl <hours>\tSet default secret TTL (0 = no expiry)\nConfiguration\nCommand\tDescription\nocft set-download <dir>\tSet download directory\nocft set-max-size <size>\tSet max file size (e.g., 100MB, 1GB)\nIPFS Fallback (for large files)\nCommand\tDescription\nocft ipfs-enable\tEnable IPFS fallback for large files\nocft ipfs-disable\tDisable IPFS fallback\nocft set-ipfs-provider <provider>\tSet provider: pinata, filebase, kubo\nocft set-ipfs-key <key>\tSet IPFS API key\nocft set-kubo-url <url>\tSet Kubo node API URL\nocft set-ipfs-threshold <size>\tSize threshold for IPFS (e.g., 50MB)\nocft set-ipfs-gateway <url>\tSet custom public IPFS gateway\nFeatures\n🔗 Message-based: Transfer files through existing chat channels\n📦 Chunked transfer: Split large files into small pieces (48KB chunks)\n✅ Integrity verification: SHA-256 hash for chunks and files\n🤝 Request/Accept: Explicit acceptance or auto-accept policy\n🔒 Security: Trusted peer whitelist with secrets\n⏰ Secret TTL: Set expiry time for trust relationships\n🔄 Resume: Resume interrupted transfers from last chunk\n🌐 IPFS Fallback: Use IPFS for files exceeding chunk threshold\nProtocol\n\nOCFT messages use a 🔗OCFT: prefix with Base64-encoded JSON, allowing file transfers over any text-based channel.\n\nLimitations\nChunk size: 48KB (safe for Base64 in messages)\nDefault max file size: 100MB (configurable via set-max-size)\nDesigned for text-based channels\nIPFS fallback requires provider setup (Pinata, Filebase, or local Kubo)\nLinks\nGitHub: https://github.com/stormixus/ocft\nnpm: https://www.npmjs.com/package/ocft"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/stormixus/ocft",
    "publisherUrl": "https://clawhub.ai/stormixus/ocft",
    "owner": "stormixus",
    "version": "1.1.2",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}