RustFS File Upload for Openclaw

A specialized skill for uploading files and images to RustFS object storage and generating immediate public access links.

wzwei1990
v1.0.0
Apr 14, 2026
0
644
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install rustfs-upload

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install rustfs-upload using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is RustFS File Upload?

The rustfs-upload skill is a developer-centric tool designed to bridge the gap between local file management and cloud-based object storage within Openclaw Skills. By utilizing the rc command-line utility, it allows users and AI agents to programmatically upload assets to RustFS or any S3-compatible storage backend.

Its primary value lies in its ability to return a fully qualified public URL instantly, making it an essential component for workflows that involve sharing screenshots, hosting assets for documentation, or distributing files generated during the coding process. This skill ensures that storage operations are handled silently and efficiently in the background.

RustFS File Upload Use Cases

  • Hosting images for documentation or blog posts directly from the terminal.
  • Generating public URLs for assets during AI-assisted frontend development.
  • Integrating automated file uploads into CI/CD or devops pipelines.
  • Quick sharing of local screenshots or log files via a dedicated image bed.

How RustFS File Upload Works

  1. The skill is triggered by a natural language command such as upload to rustfs or through a direct script execution.
  2. It verifies the presence of necessary environment variables or looks for a configuration file at ~/.config/rc/config.toml.
  3. The skill calls the rc CLI tool to transmit the local file to the specified storage bucket.
  4. Upon a successful upload, the script calculates and constructs the public access URL using the provided domain mapping.
  5. It returns a structured JSON object containing the URL and storage metadata to the calling environment.

RustFS File Upload Setup

To use this skill within Openclaw Skills, ensure you have the rc CLI and jq installed. Configure your storage credentials via environment variables:

export RUSTFS_ENDPOINT="http://127.0.0.1:9000"
export RUSTFS_ACCESS_KEY="your-access-key"
export RUSTFS_SECRET_KEY="your-secret-key"
export RUSTFS_BUCKET="your-bucket"
export RUSTFS_PUBLIC_DOMAIN="http://127.0.0.1:9001"

You can then run the upload script directly:

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

RustFS File Upload Data Schema & Taxonomy

The skill returns a JSON response with the following schema to ensure compatibility with other Openclaw Skills and automation tools:

Key Description Example
url The public URL for accessing the file http://domain.com/bucket/file.png
bucket The name of the target bucket my-bucket
object The name of the file in storage filename.png
size File size in bytes 377716
endpoint The internal API endpoint used http://127.0.0.1:9000

RustFS File Upload Advanced Features

  • Support for any S3-compatible backend beyond standard RustFS installations.
  • Automatic URL reconstruction for custom CDN domains.
  • Integration with jq for clean, machine-readable output in multi-agent pipelines.
  • Headless configuration via config.toml for environments where environment variables are restricted.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*