alioss-upload

Upload files and directories to Alibaba Cloud OSS using Python SDK v2.

1|Updated Feb 4, 2026
One-click install
npx skills add https://github.com/wvlvik/toy-skills --skill alioss-upload
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: alioss-upload
Source: https://github.com/wvlvik/toy-skills/tree/main/.agents/skills/alioss-upload
Command: npx skills add https://github.com/wvlvik/toy-skills --skill alioss-upload

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires alibabacloud-oss-v2, and includes scripts (resource) components.

What problem does it solve?

This Skill simplifies uploading files and directories to Alibaba Cloud Object Storage Service (OSS), handling various scenarios from single files to large directories and large files.

Core Features & Use Cases

  • Versatile Uploads: Supports single files, multiple images (with auto-renaming for special characters), entire directories, and large files with resumable uploads.
  • Configuration: Easily configure credentials and region via environment variables or command-line arguments.
  • Use Case: Uploading website assets like images and CSS files to an OSS bucket for CDN delivery, or backing up local project directories to OSS for safekeeping.

Quick Start

Use the alioss-upload skill to upload the file '/Users/me/Desktop/photo.jpg' to the 'my-bucket' bucket with the key 'images/photo.jpg'.

Frequently Asked Questions about alioss-upload

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I upload a large file to Alibaba Cloud OSS using Python?

Upload large files to Alibaba Cloud OSS using multipart and resumable capabilities provided by the Python SDK v2. This handles large file transfers efficiently by breaking them into parts and supporting recovery from interruptions.

How do I batch upload images with special characters in filenames to OSS?

Batch upload images to OSS with automatic filename sanitization to handle special characters. The process automatically cleans filenames during the upload sequence to ensure valid object keys in your bucket.

Can I upload an entire directory to Alibaba Cloud OSS recursively?

Upload entire directories to Alibaba Cloud OSS with optional recursive traversal and pattern matching. This allows selectively syncing local folders to a bucket while filtering files by specific naming patterns.

Do I need to configure OSS credentials via environment variables for Python uploads?

Configure OSS credentials and bucket region via environment variables or command-line arguments for Python uploads. This flexibility allows setting authentication details directly in the execution environment or passing them dynamically.

What is the best way to backup a local project directory to Alibaba Cloud OSS?

Backing up local project directories to Alibaba Cloud OSS is best handled by recursive directory uploads. This method transfers all nested files to a specified bucket for safekeeping, utilizing the Python SDK v2.