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

    想要更強大的技能外掛,就來小蔥技能站7w4.net看看吧。

  • 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