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

aliyun-oss

阿里云 OSS 对象存储技能。支持文件上传、下载、列出、删除、获取 URL 等操作。 两层架构:Node.js SDK(优先)→ ossutil CLI。

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/aohoyo/aliyun-oss-skill
Or

What This Skill Does

The aliyun-oss skill provides a comprehensive bridge between your local OpenClaw environment and Alibaba Cloud Object Storage Service (OSS). It leverages a robust dual-layer architecture: a primary Node.js SDK interface for programmatic control and a fallback mechanism utilizing the ossutil CLI for system-level operations. This ensures reliable data handling, whether you are automating backups, managing application assets, or performing bulk data migrations. The skill simplifies complex cloud storage tasks such as multi-part uploads, signed URL generation, and object lifecycle management into simple, chainable terminal commands, making it an essential tool for developers and data engineers working with Alibaba Cloud infrastructure.

Installation

To integrate this skill, ensure you have the OpenClaw platform installed. Execute the following command in your terminal: clawhub install openclaw/skills/skills/aohoyo/aliyun-oss-skill. After installation, navigate to the skill directory located at ~/.openclaw/workspace/skills/aliyun-oss-skill. Run the provided bash scripts/setup.sh script to handle dependencies. You must initialize your connection by running the setup script with your Access Key ID, Access Key Secret, region, and target bucket name. Finally, verify the configuration by executing node scripts/oss_node.mjs test-connection to ensure the authentication handshake is successful.

Use Cases

This skill is ideal for automating cloud-based file workflows. Common use cases include: 1. Automated nightly backups of local databases or server logs to the cloud. 2. Generating time-limited, secure access links for sensitive documents directly from your chat interface. 3. Organizing and synching large asset libraries across distributed development environments. 4. Integrating cloud storage cleanup tasks into larger CI/CD deployment pipelines.

Example Prompts

  1. "Upload my local logs folder located at /var/logs to the OSS bucket using the path /backups/2023-10-27."
  2. "Generate a secure, private download link for the file uploads/invoice.pdf that expires in 3600 seconds."
  3. "List all files in the bucket with the prefix 'images/' and filter for the latest 20 items."

Tips & Limitations

  • Security: Always store your Access Keys in the configuration file rather than hardcoding them in scripts. Use IAM roles where possible.
  • Performance: While the Node.js SDK is faster for individual operations, use ossutil for massive batch transfers as it is optimized for high-throughput concurrency.
  • Limitations: The skill depends on active network connectivity to the Alibaba Cloud endpoints. If you are behind a corporate proxy, ensure the environment variables for HTTP_PROXY are correctly set for Node.js.

Metadata

Author@aohoyo
Stars4473
Views1
Updated2026-05-01
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-aohoyo-aliyun-oss-skill": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#oss#aliyun#cloud-storage#devops#automation
Safety Score: 4/5

Flags: network-access, file-write, file-read, external-api, code-execution