Other v1.0.3

file-io

Upload local files to filebin.net for quick sharing. Use when the user asks to upload a file, share a file via link,...

goog 更新于 2026-04-06 1 浏览
下载 SKILL

技能说明

Upload local files to filebin.net for quick sharing. Use when the user asks to upload a file, share a file via link, host a file, or says "upload to filebin" / "put on filebin.net". NOT for downloading or general file management.

使用场景

Upload local files to filebin.net so the user gets a shareable link.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/file-io
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 20 kB
SKILL.md text/markdown
---
name: file-io
description: >
  Upload local files to filebin.net for quick sharing.
  Use when the user asks to upload a file, share a file via link, host a file,
  or says "upload to filebin" / "put on filebin.net".
  NOT for downloading or general file management.
---

# File Upload via filebin.net

Upload local files to filebin.net so the user gets a shareable link.

## Rules

- Bin ID must be 15–26 characters (shorter → "the bin is too short"; longer → "the bin is too long").
- Filebin bins auto-expire after 7 days.

## Steps

1. **Find the file provided by user** Locate the target file in the ~/.openclaw/workspace/.
2. **Generate bin ID.**   
  ```
    import uuid
    u = uuid.uuid4().hex  # hex string (32 chars)
    bin_id = f"my-upload{u[-6:]}"
    print(bin_id)
  ```
3. **Upload via curl (PowerShell):**

   ```
   curl -si -X POST -H "Content-Type: application/octet-stream" -T "<FILEPATH>" "https://filebin.net/$binId/<FILENAME>"
   ```

4. **Extract the URL** from the response JSON. Construct:
   - File direct link: `https://filebin.net/<binId>/<filename>`
   - Bin page: `https://filebin.net/<binId>`

## Notes
- user should not upload a private file because file uploaded will be public.
- If upload returns `400 "the bin is too short/long"`, adjust bin ID length and retry.
- For large files (>100 MB), warn the user that filebin may reject them.

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。