ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified file management Safety 4/5

aliyun-oss-upload

阿里云 OSS 文件上传工具,支持上传文件到阿里云对象存储并生成临时访问链接。使用场景:将本地文件上传到 OSS 并获得可分享的临时 URL。需要配置 ALIYUN_OSS_ACCESS_KEY_ID、ALIYUN_OSS_ACCESS_KEY_SECRET、ALIYUN_OSS_ENDPOINT、ALIYUN_OSS_BUCKET 环境变量。

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/chengjiaxiongkf/aliyun-oss-upload
Or

What This Skill Does

The aliyun-oss-upload skill acts as an efficient bridge between your local environment and Alibaba Cloud Object Storage Service (OSS). It allows users to seamlessly upload files, manage storage keys, and dynamically generate time-limited, signed URLs for secure file sharing. By automating the integration with the Aliyun OSS SDK, this skill removes the complexity of manual configuration, ensuring your files are stored securely while maintaining granular control over access permissions.

Installation

To integrate this skill into your OpenClaw agent, execute the installation command within your project environment: clawhub install openclaw/skills/skills/chengjiaxiongkf/aliyun-oss-upload. Post-installation, ensure the oss2 Python library is available by running pip install oss2. You must define four critical environment variables—ALIYUN_OSS_ACCESS_KEY_ID, ALIYUN_OSS_ACCESS_KEY_SECRET, ALIYUN_OSS_ENDPOINT, and ALIYUN_OSS_BUCKET—to authorize the agent to interact with your cloud storage container. Failure to configure these will prevent the tool from establishing a secure connection to your cloud infrastructure.

Use Cases

This skill is perfect for scenarios requiring automated file distribution, such as: 1. Distributing software build artifacts or logs to team members. 2. Automatically offloading user-generated content or media assets from local storage to cloud storage to free up disk space. 3. Providing temporary, secure access to private documents or reports to clients without exposing the entire bucket contents.

Example Prompts

  1. "Upload my local file ./report.pdf to OSS and give me a download link valid for 2 hours."
  2. "Can you upload the file at /data/logs/backup.zip to my OSS bucket under the key archived/backup-2023.zip?"
  3. "Generate a temporary access URL for the file 'images/product-promo.jpg' in my Alibaba OSS bucket that expires in 30 minutes."

Tips & Limitations

For security best practices, keep your OSS bucket settings as private. The tool automatically handles the signing process, which is far safer than making buckets public. Be mindful that the default expiration for links is 3600 seconds (1 hour); always specify the --expire flag for sensitive files to minimize exposure. While the script handles large files natively, ensure your network connection is stable during high-volume uploads to prevent partial transfers.

Metadata

Stars3840
Views0
Updated2026-04-06
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-chengjiaxiongkf-aliyun-oss-upload": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#aliyun#oss#cloud-storage#file-upload
Safety Score: 4/5

Flags: network-access, file-read, external-api