← 返回 Skills 市场
jakah2551

File share

作者 Alessandro Tarantino · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ⚠ suspicious
85
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install file-share
功能描述
Automation skill for File share.
使用说明 (SKILL.md)

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 ./\x3Cfilename> https://transfer.whalebone.io/\x3Cfilename>
  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.
安全使用建议
Only install or use this if you are comfortable sending selected files to transfer.whalebone.io. Review file contents carefully, avoid uploading memory or sensitive files unless intended, and prefer a fixed version with robust path validation before relying on the workspace-only safety claim.
功能分析
Type: OpenClaw Skill Name: file-share Version: 1.0.2 The skill provides a mechanism to upload files from the OpenClaw workspace to a public third-party file-sharing service (transfer.whalebone.io). While the script 'scripts/file_transfer.py' implements path validation to prevent directory traversal and uses safe subprocess execution, the core functionality facilitates easy data exfiltration of potentially sensitive workspace data (e.g., logs, memory files, or configuration) to an unauthenticated public endpoint. This represents a high-risk capability for data leakage, though it lacks clear evidence of intentional malice.
能力评估
Purpose & Capability
The stated purpose of uploading selected files matches the implementation, but the implementation can exceed the advertised workspace-only file boundary.
Instruction Scope
The user-facing security notes overstate the path protection, which could cause users to trust containment that the code does not reliably enforce.
Install Mechanism
There is no installer or remote package-fetching step; the included script uses standard local Python and curl behavior for the stated purpose.
Credentials
Uploading local workspace files to an external file-sharing service is purpose-aligned, but the flawed path guard makes the environment access broader than disclosed.
Persistence & Privilege
No credentials or elevated privileges are requested, but uploaded files are stored by an external service and become downloadable via the returned URL.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install file-share
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /file-share 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
Initial release of file-share skill for OpenClaw. - Upload files from the OpenClaw workspace to external services, supporting transfer.whalebone.io via curl. - Validates files, prevents directory traversal, handles both relative and absolute paths. - No authentication required; returns a direct download URL after upload. - Provides sample use cases, error handling, and built-in security safeguards. - Includes documentation and helper scripts for reference and usage.
元数据
Slug file-share
版本 1.0.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

File share 是什么?

Automation skill for File share. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 85 次。

如何安装 File share?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install file-share」即可一键安装,无需额外配置。

File share 是免费的吗?

是的,File share 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

File share 支持哪些平台?

File share 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 File share?

由 Alessandro Tarantino(@jakah2551)开发并维护,当前版本 v1.0.2。

💬 留言讨论