Aliyun CLI Management for Openclaw

A comprehensive automation skill for managing Alibaba Cloud resources through the official Aliyun Command Line Interface.

cinience
v1.0.0
Apr 2, 2026
0
755
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install aliyun-cli-manage

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-cli-manage 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 Aliyun CLI Management?

The Aliyun CLI Management skill is a robust integration designed for developers who need to interact with Alibaba Cloud OpenAPI directly from their AI agent. As part of the Openclaw Skills ecosystem, it provides a standardized framework for resource discovery, credential management, and multi-service orchestration across the Alibaba Cloud landscape.

By leveraging the official aliyun binary, this skill ensures high compatibility with services like ECS and SLS. It features an intelligent version guard system that manages binary updates automatically, ensuring your environment is always up to date without manual intervention or redundant downloads.

Aliyun CLI Management Use Cases

  • Automating the lifecycle of ECS instances including creation, querying, and deletion.
  • Managing Simple Log Service (SLS) projects and log stores across multiple regions.
  • Rapid API discovery and parameter validation for unknown Alibaba Cloud services.
  • Standardizing cloud credential profiles and region configurations across development teams.
  • Performing bulk read-only audits or state checks of cloud infrastructure.

How Aliyun CLI Management Works

  1. The skill executes a version guard script to verify the local aliyun CLI installation and updates it if necessary.
  2. It initializes or verifies the configuration profile, ensuring Access Key IDs and Secrets are correctly mapped.
  3. The agent performs API discovery using help commands to identify required parameters for the specific cloud product.
  4. A connectivity check is performed via a read-only query (e.g., DescribeRegions) to validate permissions.
  5. The final command is executed, and the results, along with execution evidence, are logged to a structured output directory.

Aliyun CLI Management Setup

To integrate this into your workflow, ensure your environment variables are set and run the automation script:

# Set credentials
export ALICLOUD_ACCESS_KEY_ID="your_access_key"
export ALICLOUD_ACCESS_KEY_SECRET="your_secret_key"
export ALICLOUD_REGION_ID="cn-hangzhou"

# Run the version guard and installation
python skills/platform/cli/aliyun-cli-manage/scripts/ensure_aliyun_cli.py

Aliyun CLI Management Data Schema & Taxonomy

This skill maintains a structured output and logging system to ensure all actions are auditable:

File/Path Description
output/aliyun-cli-manage/ Root directory for all skill-related evidence.
validate-help.txt Captured help output for CLI verification.
*.log Detailed error logs and API response summaries.
~/.aliyun/ Standard directory for CLI profile and configuration data.

Aliyun CLI Management Advanced Features

  • Intelligent Version Guard: Automatically checks and updates the CLI binary based on configurable time intervals (default 24 hours).
  • Multi-Profile Management: Easily switch between different credential sets using the aliyun configure set command.
  • Flexible Execution Modes: Supports both standard Product/ApiName syntax and raw RESTful requests (GET/POST/PUT/DELETE) for deep API access.
  • Evidence Retention: Automatically captures and stores request parameters and result summaries for every mutating action to assist in debugging and compliance.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*