← 返回
未分类 中文

File share

Automation skill for File share.
文件共享自动化技能
jakah2551 jakah2551 来源
未分类 clawhub v1.0.2 1 版本 100000 Key: 无需
★ 0
Stars
📥 292
下载
💾 0
安装
1
版本
#latest

概述


name: file-share

description: Transfer files from OpenClaw workspace to external services using curl upload. Supports transfer.whalebone.io and similar file sharing services.


File Share Skill 📁

Overview 👀

This skill provides a simple way to transfer files from the OpenClaw workspace to external file sharing services using curl upload commands. It's designed for securely sharing files generated within OpenClaw (logs, reports, media, etc.) with external parties or services.

Primary function: Upload a specified file to transfer.whalebone.io using curl's --upload-file option. 🚀

Quick Start ⚡

Transfer a file 📤

Provide the path to a file (relative to OpenClaw workspace) to upload it to transfer.whalebone.io:

/home/ubuntu/.openclaw/workspace/logs/app.log

The skill will:

  1. Validate the file exists ✅
  2. Extract the filename for the upload URL 🔗
  3. Execute: curl --upload-file ./ https://transfer.whalebone.io/
  4. Return the download URL provided by the service 📎

Usage Examples 🧩

  • memory/2026-05-15.md → Uploads your daily memory file 📝
  • logs/error.log → Uploads an error log ⚠️
  • media/report.pdf → Uploads a generated PDF report 📄
  • /home/ubuntu/.openclaw/workspace/location-skill.zip → Uploads the location service skill ZIP 📦

Technical Details 🛠️

  • Uses curl for file uploads (pre-installed in most environments).
  • Works with any file accessible from the OpenClaw workspace.
  • Returns the direct download URL from transfer.whalebone.io.
  • Handles both absolute and relative paths (relative to workspace root).
  • Includes basic error handling for missing files and upload failures.
  • No API keys or authentication required for basic usage.

Security Notes 🔒

  • Only files within or below the OpenClaw workspace can be transferred.
  • The skill prevents directory traversal attacks by validating file paths.
  • Original file remains unchanged in the workspace.
  • Transfer.whalebone.io files typically expire after a set period (check their policy).

Resources 📚

scripts/

Contains the executable Python script for file transfers:

  • file_transfer.py - Main script that handles file validation and upload execution.

references/

Documentation about the transfer service and usage guidelines:

  • transfer_service.md - Details about transfer.whalebone.io service.
  • examples.md - Common use cases and example workflows.

版本历史

共 1 个版本

  • v1.0.2 当前
    2026-05-21 14:27 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

F1 summary

jakah2551
通过网络搜索和抓取汇总F1练习赛(FP1)、排位赛和正赛
★ 0 📥 383
office-efficiency

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 477 📥 158,257
office-efficiency

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 937 📥 188,082