AliOSSUpload for Openclaw

A streamlined utility for uploading local files to Alibaba Cloud OSS and retrieving instant access URLs.

jerryxn
v1.0.0
Mar 22, 2026
0
757
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install aliossupload

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 aliossupload 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 AliOSSUpload?

AliOSSUpload is a specialized utility designed to simplify the interaction between local environments and Alibaba Cloud Object Storage Service (OSS). As part of the Openclaw Skills library, it provides a robust interface for developers to programmatically handle file persistence, ensuring that assets are stored securely in the cloud with minimal configuration.

By leveraging the official oss2 Python SDK, this skill ensures high reliability and performance. It is particularly effective for AI agents and automated workflows that need to offload generated media, logs, or datasets to a scalable storage solution while obtaining a publicly or privately accessible URL for downstream use.

AliOSSUpload Use Cases

  • Automating the backup of local application logs to Alibaba Cloud OSS.
  • Offloading AI-generated media files like images or videos to a persistent cloud bucket.
  • Integrating cloud storage capabilities into CI/CD pipelines using Openclaw Skills.
  • Rapidly generating shareable download links for local assets during development.

How AliOSSUpload Works

  1. The skill initializes by securely loading Alibaba Cloud credentials and endpoint configurations from environment variables.
  2. The AliOSSUploader client establishes a connection to the specified Alibaba Cloud OSS bucket.
  3. When a file path is provided, the skill reads the local binary data and streams it to the target object path in the bucket.
  4. Upon successful transfer, the skill constructs and returns a structured response containing the final access URL and upload status.

AliOSSUpload Setup

To use this component within the Openclaw Skills framework, ensure you have the oss2 package installed and your environment variables configured:

pip install oss2

# Configure your Alibaba Cloud Credentials
export ALIYUN_OSS_ACCESS_KEY_ID="your-access-key-id"
export ALIYUN_OSS_ACCESS_KEY_SECRET="your-access-key-secret"
export ALIYUN_OSS_ENDPOINT="oss-cn-beijing.aliyuncs.com"
export ALIYUN_OSS_BUCKET="your-bucket-name"

AliOSSUpload Data Schema & Taxonomy

The skill returns a structured dictionary for every upload operation to ensure compatibility with complex Openclaw Skills workflows:

Key Type Description
status string Indicates 'success' or 'error'
url string The full HTTP/HTTPS access link to the uploaded file
object_name string The destination path within the OSS bucket
file_size integer The size of the uploaded file in bytes

AliOSSUpload Advanced Features

  • Automatic environment variable detection for zero-config instantiation in containerized environments.
  • Support for custom object paths, allowing for dynamic directory nesting within buckets.
  • Native integration with the Openclaw Skills ecosystem for multi-agent asset sharing.
  • Error handling for network timeouts and credential validation.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*