Alibaba Cloud OSS (ossutil 2.0) CLI Skill for Openclaw

An expert integration for managing Alibaba Cloud OSS resources using the high-performance ossutil 2.0 command-line tool.

cinience
v1.0.0
Apr 2, 2026
0
777
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install aliyun-oss-ossutil

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-ossutil 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 Alibaba Cloud OSS (ossutil 2.0) CLI Skill?

The Alibaba Cloud OSS (ossutil 2.0) CLI Skill is a specialized technical module designed for AI agents to interact seamlessly with Alibaba Cloud Object Storage Service. It leverages the enhanced capabilities of ossutil 2.0 to provide a robust interface for bucket management, file synchronization, and resource optimization. This Openclaw Skills component ensures that developers and automated systems can handle large-scale data transfers with high concurrency and reliability.

By implementing this skill, users gain a structured framework for handling authentication, region-specific endpoint resolution, and API-level operations. It bridges the gap between raw cloud infrastructure and automated workflows, focusing on security best practices like RAM user utilization and least-privilege access to safeguard cloud environments.

Alibaba Cloud OSS (ossutil 2.0) CLI Skill Use Cases

  • Automated data migration and synchronization between local environments and Alibaba Cloud OSS.
  • Programmatic management of bucket lifecycles, ACLs, and CORS configurations via CLI.
  • High-speed batch uploading or downloading of large datasets using multi-threading.
  • Secure cloud storage auditing and resource listing within automated CI/CD pipelines.
  • Troubleshooting connectivity and signature issues across different Alibaba Cloud regions.

How Alibaba Cloud OSS (ossutil 2.0) CLI Skill Works

  1. Environment Validation: The skill begins by checking the local environment for the ossutil 2.0 binary and validating its execution path.
  2. Authentication Setup: It configures AccessKey ID, Secret, and Region via interactive prompts, config files, or secure environment variables.
  3. Connectivity Test: A read-only operation, such as listing buckets, is performed to ensure credentials and network paths are functional.
  4. Context Discovery: The skill identifies the target bucket's specific region and endpoint to prevent common cross-region signature errors.
  5. Execution: The requested command (cp, sync, ls, or api-level) is executed with explicit parameters to ensure bounded scope and precision.
  6. Evidence Collection: Results, logs, and evidence of operation success are saved to a dedicated output directory for auditability.

Alibaba Cloud OSS (ossutil 2.0) CLI Skill Setup

To get started with this Openclaw Skills module, follow these steps:

  1. Install ossutil 2.0: Follow the platform-specific instructions to download and install the binary.

  2. Configure Credentials: We recommend using environment variables for security:

export ALICLOUD_ACCESS_KEY_ID="<your-ak>"
export ALICLOUD_ACCESS_KEY_SECRET="<your-sk>"
export ALICLOUD_REGION_ID="cn-beijing"
  1. Initialize Configuration:
ossutil config
  1. Verify Installation:
python skills/storage/oss/aliyun-oss-ossutil/scripts/check_ossutil.py

Alibaba Cloud OSS (ossutil 2.0) CLI Skill Data Schema & Taxonomy

This skill organizes data and evidence within a structured hierarchy to ensure clarity and reproducibility:

Type Path / Location Description
Validation Logs output/aliyun-oss-ossutil/validate.txt Results of the initial tool check.
Command Evidence output/aliyun-oss-ossutil/ Logs, object listings, and sync results.
Config (Linux/macOS) ~/.ossutilconfig Local configuration and profile storage.
Config (Windows) C:\Users\issuser\.ossutilconfig Windows-specific configuration path.
Credentials ~/.alibabacloud/credentials Shared Alibaba Cloud credential file.

Alibaba Cloud OSS (ossutil 2.0) CLI Skill Advanced Features

  • V4 Signature Support: Automatic handling of Signature Version 4 requirements by enforcing explicit region and endpoint parameters.
  • Recursive Syncing: Advanced directory synchronization with the --delete flag to mirror local states to the cloud.
  • Granular Resource Listing: Short-format and recursive listing options with --limited-num to handle buckets containing millions of objects.
  • Internal Network Optimization: Logic to prefer intranet endpoints when executing from within Alibaba Cloud ECS instances to reduce latency and costs.
  • API-Level Control: Direct access to low-level OSS API commands like put-bucket-acl for fine-grained resource control.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*