UCloud US3 Storage Skill for Openclaw

A high-performance utility to upload local files to UCloud US3 storage and generate instant, shareable public URLs.

qianjunye
v1.0.0
Feb 28, 2026
0
861
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install us3

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 us3 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 UCloud US3 Storage Skill?

The UCloud US3 Storage skill is designed to provide AI agents with a direct interface to UCloud's object storage infrastructure. By leveraging this skill within the Openclaw Skills ecosystem, developers can automate the lifecycle of digital assets, moving them from local environments to the cloud with minimal configuration. It handles the complexities of API authentication and content-type detection, making it an essential bridge for cloud-native workflows.

This skill is particularly valuable for scenarios where local data needs to be transformed into persistent, web-accessible resources. Whether you are dealing with automated reports, media assets, or system logs, this integration ensures your Openclaw Skills can store and share data reliably across the globe.

UCloud US3 Storage Skill Use Cases

  • Storing images, videos, or documents generated during agent tasks in a persistent cloud bucket.
  • Generating public URLs for media files to be shared via messaging platforms like Feishu or Slack.
  • Automating the archival of processed files after FFmpeg or OCR operations.
  • Managing cloud asset organization using custom key paths and automated batch uploads.

How UCloud US3 Storage Skill Works

  1. The skill authenticates with the UCloud US3 API using provided public and private keys.
  2. It identifies the local file specified in the command arguments and validates its existence.
  3. The skill automatically detects the file's MIME type based on its extension to ensure correct browser rendering.
  4. The file is streamed to the designated UCloud bucket and region endpoint.
  5. Upon successful transmission, the skill returns a JSON object containing the permanent public URL and object metadata.

UCloud US3 Storage Skill Setup

To get started with this skill in your Openclaw Skills environment, configure your UCloud credentials as environment variables:

export US3_PUBLIC_KEY="your_ucloud_public_token"
export US3_PRIVATE_KEY="your_ucloud_private_key"
export US3_BUCKET="bucket-name.region.ufileos.com"
export US3_ENDPOINT="https://api.ucloud.cn/"

Once configured, you can upload files using the following command structure:

node /root/clawdbot/skills/us3/upload.mjs --file "/path/to/your/asset.png"

UCloud US3 Storage Skill Data Schema & Taxonomy

The skill accepts specific CLI parameters and returns a structured response for downstream Openclaw Skills processing:

Parameter Type Description
--file String Required. The absolute path to the local file.
--key String Optional. Custom path/name in the bucket.
--url-only Boolean Optional. If set, only the URL string is returned.

Standard JSON Output:

  • success: Boolean status of the upload.
  • url: The generated public HTTPS URL.
  • key: The stored object path.
  • bucket: The destination bucket domain.
  • size: File size in bytes.

UCloud US3 Storage Skill Advanced Features

  • Intelligent content-type mapping for a wide range of formats including WebP, SVG, and MKV.
  • Support for custom key patterns using shell variables (e.g., date-based pathing).
  • Lightweight execution mode with the --url-only flag for easy integration into bash pipes.
  • Native compatibility with other Openclaw Skills such as feishu-media and baidu-ocr for end-to-end automation.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*