rustfs-upload

上传图片/文件到 RustFS 对象存储,返回公开访问链接。当用户说"上传到 rustfs"、"rustfs 图床"、"用 rc 上传"时触发。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "rustfs-upload" with this command: npx skills add wzwei1990/rustfs-upload

rustfs-upload - RustFS 图床上传

使用 rc 命令行工具上传文件到 RustFS(或兼容 S3 的对象存储),并返回拼接后的公开访问 URL。

前置环境变量

在调用本技能前,请确保以下环境变量已正确设置:

变量名说明示例
RUSTFS_ENDPOINTRustFS 服务地址http://127.0.0.1:9000
RUSTFS_ACCESS_KEYAccess Keyyour-access-key
RUSTFS_SECRET_KEYSecret Keyyour-secret-key
RUSTFS_BUCKET目标存储桶名称my-bucket
RUSTFS_PUBLIC_DOMAIN公开访问域名(用于拼接 URL)http://127.0.0.1:9001

若未设置,脚本会尝试从默认配置文件中读取(~/.config/rc/config.toml)。

触发场景

  • "上传到 rustfs"
  • "rustfs 图床上传这张图"
  • "用 rc 传一下这个文件"
  • "rc upload"

使用方式

bash ~/.openclaw/skills/rustfs-upload/scripts/upload.sh /path/to/image.png

输出

成功后返回 JSON:

{
  "url": "http://127.0.0.1:9001/my-bucket/filename.png",
  "bucket": "my-bucket",
  "object": "filename.png",
  "size": "377716",
  "endpoint": "http://127.0.0.1:9000"
}

依赖

  • rc —— RustFS 命令行客户端

  • jq —— JSON 解析工具(可选,用于格式化输出)

不做什么

  • 不编辑图片(裁剪、压缩等)
  • 不提供批量上传
  • 不提供图片管理功能
  • 不提供删除功能(图片会自动过期)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Huo15 Openclaw Enhance

火一五·克劳德·龙虾增强插件 v5.7.8 — 全面适配 openclaw 2026.4.24:peerDep ^4.24 + build/compat 同步到 4.24 + 14 处 api.on 全部去掉 as any 改成 typed hook(hookName 联合类型 + handler 自动推断 Pl...

Registry SourceRecently Updated
General

Content Trend Analyzer

Aggregates and analyzes content trends across platforms to identify hot topics, user intent, content gaps, and generates data-driven article outlines.

Registry SourceRecently Updated
General

Prompt Debugger

Debug prompts that produce unexpected AI outputs — diagnose failure modes, identify ambiguity and conflicting instructions, test variations, compare model re...

Registry SourceRecently Updated
General

Indie Maker News

独行者 Daily - 变现雷达。读对一条新闻,少走一年弯路。每天5分钟,给创业者装上商业雷达。聚焦一人公司、副业、创业变现资讯,智能分类,行动导向。用户下载即能用,无需本地部署!

Registry SourceRecently Updated