File share

👤 jakah2551 📦 v1.0.2 ⭐ 4.2 ⬇️ 665 下载
📄 办公效率 免费

📖 技能介绍


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 ./<filename> https://transfer.whalebone.io/<filename> 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.

    7w4.net小葱技能站收录全网优质技能,值得收藏。

  • 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.

🤖 AI 评测

整体质量中等偏上。功能简洁实用,文档清晰易懂,适合有文件分享需求的场景。优点是使用简单、安全检查到位、兼容绝对和相对路径。不足之处是依赖外部第三方服务(transfer.whalebone.io),服务稳定性和文件保留期限无法保证,且文档承诺的示例文件缺失。如需更可靠的文件分享,建议确认目标服务的可用性再做使用。

📊 多维度评分

适应性4.3
规范性4.1
有效性4.3
可靠性4.3
可信度4.3

📁 包含文件 (4 个)

📄 SKILL.md 2.4 KB
📄 _meta.json 129 B
📄 references/transfer_service.md 913 B
📄 scripts/file_transfer.py 3.5 KB