What problem does it solve?
This Skill helps users upload a local file to Aliyun OSS and immediately obtain an externally reachable URL for sharing or browser access, without manually tracking upload and URL-building details.
Core Features & Use Cases
- Upload a local file to Aliyun OSS: Uploads with
aliyun oss cp to a default bucket (oss://lllw-qrcodes) using a UUID-based object name while preserving the original extension when present.
- Returns the correct public share URL: Produces the browser-facing URL format
https://qrcodes.lllw.cc/<object> for the default bucket instead of the default OSS endpoint.
- Guards against oversize uploads: Refuses files larger than 50 MiB (52428800 bytes) and verifies upload completion via
aliyun oss stat.
- Supports signed URL fallback: Uses
aliyun oss sign when the bucket/object is not public, or prompts the user before changing ACL.
Quick Start
Upload a file from my machine to Aliyun OSS and return a shareable external URL using the default bucket, enforcing the 50 MiB size limit and confirming the object exists after upload.