Aliyun OSS Upload for Openclaw

A streamlined tool for uploading local files to Alibaba Cloud OSS and generating secure, time-limited access URLs.

chengjiaxiongkf
v1.0.0
Feb 2, 2026
3
2.5k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install aliyun-oss-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 aliyun-oss-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 Aliyun OSS Upload?

The Aliyun OSS Upload skill is a powerful integration designed for Openclaw Skills that bridges the gap between local environments and Alibaba Cloud Object Storage Service (OSS). This tool allows developers and AI agents to programmatically handle file persistence by uploading data to the cloud and instantly retrieving pre-signed, temporary URLs for secure sharing.

By leveraging the oss2 Python SDK, this skill ensures reliable data transfer while maintaining high security standards. It is particularly useful for workflows that require temporary public access to files stored in private buckets, making it an essential component for any automated asset management pipeline within the Openclaw Skills ecosystem.

Aliyun OSS Upload Use Cases

  • Uploading generated reports, images, or logs from an AI agent directly to cloud storage.
  • Generating secure, time-limited download links for internal assets to share with external stakeholders.
  • Automating cloud backups of critical local files during a development or deployment lifecycle.
  • Integrating persistent storage into multi-step Openclaw Skills workflows that process large datasets.

How Aliyun OSS Upload Works

  1. The user or agent triggers the upload command by providing a local file path and an optional destination key.
  2. The skill authenticates with Alibaba Cloud using pre-configured environment variables (AccessKey ID and Secret).
  3. The file is uploaded to the designated OSS bucket using the official oss2 SDK, ensuring high performance and reliability.
  4. Once the upload is successful, or upon request for an existing file, the skill calculates a pre-signed URL with a configurable expiration time.
  5. The final output, including the status and the temporary access link, is returned to the user or passed to the next stage in the Openclaw Skills workflow.

Aliyun OSS Upload Setup

To get started with this skill, first install the required Python dependency:

pip install oss2

Next, configure your Alibaba Cloud credentials and bucket information as environment variables to allow Openclaw Skills to authenticate successfully:

export ALIYUN_OSS_ACCESS_KEY_ID="your-access-key-id"
export ALIYUN_OSS_ACCESS_KEY_SECRET="your-access-key-secret"
export ALIYUN_OSS_ENDPOINT="https://oss-cn-hangzhou.aliyuncs.com"
export ALIYUN_OSS_BUCKET="your-bucket-name"

Aliyun OSS Upload Data Schema & Taxonomy

The skill manages data through the following parameters and outputs:

Parameter Type Description
file Path The local file path to be uploaded to OSS.
key String The destination object name (path) in the OSS bucket.
expire Integer The validity duration of the signed URL in seconds (Default: 3600).
url String The resulting temporary, pre-signed access link generated by the skill.

Aliyun OSS Upload Advanced Features

  • Custom Object Key Support: Explicitly define the directory structure within your OSS bucket for better file organization.
  • Flexible Expiration Logic: Customize the life-cycle of access links from a few seconds to several hours based on security requirements.
  • High-Volume Handling: Optimized for large file transfers using the underlying SDK's robust upload logic.
  • Signature Generation: Generate URLs for existing files without re-uploading, saving bandwidth and time within Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*