Agent skill

Aliyun CLI Manage

by cinience in cinience/alicloud-skills

A skill your agent uses when users need command-line operations on Alibaba Cloud resources (list/query/create/update/delete), credential/profile setup, region/endpoint selection, or API discovery…

MITAuto-check passed

Install Aliyun CLI Manage

skills CLI
$ npx skills add cinience/alicloud-skills --skill aliyun-cli-manage -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install cinience/alicloud-skills aliyun-cli-manage --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/cinience/alicloud-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/platform/cli/aliyun-cli-manage .claude/skills/aliyun-cli-manage && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
aliyun-cli-manage
GitHub stars
397
Token cost
~1.2k tokens
SKILL.md length
357 words
Files
4 (incl. scripts, references)
Skills in repo
96
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when users need command-line operations on Alibaba Cloud resources (list/query/create/update/delete), credential/profile setup, region/endpoint selection, or API discovery…

  • Works in 5 steps: Run the version guard script first… → If not installed or check interval… → Configure credentials and default region… → …
  • Users need command-line operations on Alibaba Cloud resources (list/query/create/update/delete)
  • SKILL.md covers Validation, Output And Evidence, Goals and Quick Flow, plus 11 more sections
  • Runs Python scripts from its folder; calls python and curl; reaches aliyuncli.alicdn.com; needs ALIBABACLOUD_ACCESS_KEY_ID and ALIBABACLOUD_ACCESS_KEY_SECRET

What it does

Aliyun CLI Manage is an agent skill from cinience/alicloud-skills. Use when users need command-line operations on Alibaba Cloud resources (list/query/create/update/delete), credential/profile setup, region/endpoint selection, or API discovery from CLI.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts and reference files (for example `agents/openai.yaml`, `references/sources.md` and `scripts/ensure_aliyun_cli.py`).

It works with Alibaba Cloud. The repository describes itself as: alibaba cloud skills,qwen ,wan and all skills. The licence is MIT.

When your agent uses it

  • Users need command-line operations on Alibaba Cloud resources (list/query/create/update/delete)
  • Credential/profile setup
  • Region/endpoint selection
  • API discovery from CLI

Example prompts

  • “/aliyun-cli-manage”

Requirements

  • Python 3
  • A credential in ALIBABACLOUD_ACCESS_KEY_SECRET

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Run the version guard script first (check first, then decide whether to upgrade).
  2. If not installed or check interval reached, the script downloads and installs the latest official package.
  3. Configure credentials and default region (recommend default profile).
  4. Use aliyun --help / aliyun --help to confirm parameters.
  5. Run read-only queries first, then mutating operations.

What it can do on your machine

Read from SKILL.md and the folder at commit 1818263. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python
    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • aliyuncli.alicdn.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • ALIBABACLOUD_ACCESS_KEY_ID
    • ALIBABACLOUD_ACCESS_KEY_SECRET

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Aliyun CLI Manage loads about 1.2k tokens when it runs, and up to ~1.3k if it reads all its reference files. Until then it costs about 51 tokens; SKILL.md has 357 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~51
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from cinience/alicloud-skills at commit 1818263, republished under its MIT licence (© cinience). 357 words, ~1,159 tokens.

Download SKILL.mdSave it as .claude/skills/aliyun-cli-manage/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
aliyun-cli-manage
description
Use when users need command-line operations on Alibaba Cloud resources (list/query/create/update/delete), credential/profile setup, region/endpoint selection, or API discovery from CLI.
version
1.0.0

Category: tool

Alibaba Cloud Generic CLI (aliyun) Skill

Validation

bash
mkdir -p output/aliyun-cli-manage
python skills/platform/cli/aliyun-cli-manage/scripts/ensure_aliyun_cli.py --help > output/aliyun-cli-manage/validate-help.txt

Pass criteria: command exits 0 and output/aliyun-cli-manage/validate-help.txt is generated.

Output And Evidence

  • Save CLI version checks, API outputs, and error logs under output/aliyun-cli-manage/.
  • For each mutating action, keep request parameters and result summaries.

Goals

  • Use official aliyun CLI to execute Alibaba Cloud OpenAPI operations.
  • Provide a standard flow for install, configuration, API discovery, execution, and troubleshooting.

Quick Flow

  1. Run the version guard script first (check first, then decide whether to upgrade).
  2. If not installed or check interval reached, the script downloads and installs the latest official package.
  3. Configure credentials and default region (recommend default profile).
  4. Use aliyun <product> --help / aliyun <product> <ApiName> --help to confirm parameters.
  5. Run read-only queries first, then mutating operations.

Version Guard (Practical)

Prefer the bundled script to avoid unnecessary downloads on every run:

bash
python skills/platform/cli/aliyun-cli-manage/scripts/ensure_aliyun_cli.py

Default behavior:

  • Check interval: 24 hours (configurable via environment variable).
  • Within interval and version is sufficient: skip download.
  • Exceeded interval / not installed / below minimum version: auto-download and install latest official package.

Optional controls (environment variables):

  • ALIYUN_CLI_CHECK_INTERVAL_HOURS=24:check interval.
  • ALIYUN_CLI_FORCE_UPDATE=1:force update (ignore interval).
  • ALIYUN_CLI_MIN_VERSION=3.2.9:minimum acceptable version.
  • ALIYUN_CLI_INSTALL_DIR=~/.local/bin:installation directory.

Manual parameter examples:

bash
python skills/platform/cli/aliyun-cli-manage/scripts/ensure_aliyun_cli.py \
  --interval-hours 24 \
  --min-version 3.2.9

Install (Linux example)

bash
curl -fsSL https://aliyuncli.alicdn.com/aliyun-cli-linux-latest-amd64.tgz -o /tmp/aliyun-cli.tgz
mkdir -p ~/.local/bin
tar -xzf /tmp/aliyun-cli.tgz -C /tmp
mv /tmp/aliyun ~/.local/bin/aliyun
chmod +x ~/.local/bin/aliyun
~/.local/bin/aliyun version

Configure Credentials

bash
aliyun configure set \
  --profile default \
  --mode AK \
  --access-key-id <AK> \
  --access-key-secret <SK> \
  --region cn-hangzhou

View configured profiles:

bash
aliyun configure list

Command structure

  • Generic form:aliyun <product> <ApiName> --Param1 value1 --Param2 value2
  • REST form:aliyun <product> [GET|POST|PUT|DELETE] <PathPattern> --body '...json...'
Show full SKILL.md (142 more words)Show less

API Discovery and Parameter Validation

bash
aliyun help
aliyun ecs --help
aliyun ecs DescribeRegions --help

Common Read-Only Examples

bash
# ECS: list regions
aliyun ecs DescribeRegions

# ECS: list instances by region
aliyun ecs DescribeInstances --RegionId cn-hangzhou

# SLS: list projects by endpoint
aliyun sls ListProject --endpoint cn-hangzhou.log.aliyuncs.com --size 100

Common Issues

  • InvalidAccessKeyId.NotFound / SignatureDoesNotMatch:check AK/SK and profile.
  • MissingRegionId:add --region or configure default region in profile.
  • for SLS endpoint errors, explicitly pass --endpoint <region>.log.aliyuncs.com.

Execution Recommendations

  • Run ensure_aliyun_cli.py before starting tasks.
  • If resource scope is unclear, query first then mutate.
  • Before delete/overwrite operations, output the target resource list first.
  • For batch operations, validate one item in a small scope first.

References

  • Official source list:references/sources.md

Prerequisites

  • Configure least-privilege Alibaba Cloud credentials before execution.
  • Prefer environment variables: ALIBABACLOUD_ACCESS_KEY_ID, ALIBABACLOUD_ACCESS_KEY_SECRET, optional ALIBABACLOUD_REGION_ID.
  • If region is unclear, ask the user before running mutating operations.

Workflow

  1. Confirm user intent, region, identifiers, and whether the operation is read-only or mutating.
  2. Run one minimal read-only query first to verify connectivity and permissions.
  3. Execute the target operation with explicit parameters and bounded scope.
  4. Verify results and save output/evidence files.

© cinience, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts, references) in skills/platform/cli/aliyun-cli-manage of cinience/alicloud-skills.

  • SKILL.md
  • agents/openai.yaml
  • references/sources.md
  • scripts/ensure_aliyun_cli.py

Open the folder on GitHubat commit 1818263

Compare with similar skills

Aliyun CLI Manage next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Aliyun CLI Manage compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Aliyun CLI Manage this skillcinience/alicloud-skills397—~1.2kAutomated safety check: PassMIT
Alibabacloud Ecs Sec Kernelaliyun/alibabacloud-ecs-troubleshoot-skills1481 repos~2.4kAutomated safety check: NotesApache-2.0
Alibabacloud Ecs Sec Userspacealiyun/alibabacloud-ecs-troubleshoot-skills1481 repos~2.6kAutomated safety check: NotesApache-2.0
Deploy Observabilityaliyun/alibabacloud-observability-mcp-server166—~2.6kAutomated safety check: NotesNone
Sls Dashboard Builderalibaba/loongsuite-pilot198—~1.8kAutomated safety check: PassApache-2.0
Bailian Media Generationmodelstudioai/cli542—~2kAutomated safety check: PassApache-2.0

Similar skills

  • Alibabacloud Ecs Sec Kernel

    aliyun/alibabacloud-ecs-troubleshoot-skills

    Linux 内核态 CVE 漏洞检测与 PoC 验证工具,专为 AI Agent 设计. An agent skill from aliyun/alibabacloud-ecs-troubleshoot-skills.

    148 GitHub starsUsed in 1 repo~2.4k tokens
    SecurityAuto-check: notes
  • Alibabacloud Ecs Sec Userspace

    aliyun/alibabacloud-ecs-troubleshoot-skills

    Linux 用户态安全入侵检测与取证工具,专为 AI Agent 设计。自动判断服务器是否被入侵, 提供完整证据链和可执行修复建议。51 个安全分析器覆盖进程/网络/认证/持久化/Rootkit/ 恶意软件/内存取证/容器逃逸等 12 类检测维度,10 个数据采集器全面采集系统状态, 映射 103+ MITRE ATT&CK 技术,支持 standalone/docker/k8s 三种部署模式。

    148 GitHub starsUsed in 1 repo~2.6k tokens
    DevOps & CloudAuto-check: notes
  • Deploy Observability

    aliyun/alibabacloud-observability-mcp-server

    Deploy, start, and update the Alibaba Cloud Observability MCP Server (阿里云可观测 MCP Server).

    166 GitHub stars~2.6k tokensUpdated 1 mo ago
    DevOps & CloudAuto-check: notes
  • Sls Dashboard Builder

    alibaba/loongsuite-pilot

    当任务需要创建、修改、扩展或重组阿里云 SLS 的 dashboard JSON 或可导入的大盘配置时使用;尤其适用于线上大盘、强对比的分析看板、已校验的查询包,或需要专业中文标签与指标定义的运维向大盘。

    198 GitHub stars~1.8k tokensUpdated 9 days ago
    DevOps & CloudAuto-check passed
  • Bailian Media Generation

    modelstudioai/cli

    Chinese-language entry point into Alibaba Cloud Bailian's image, video and speech generation and understanding, routed through separate image, video, speech and vision commands.

    542 GitHub stars~2k tokensUpdated 8 days ago
    Media & CreativeAuto-check passed
  • Aliyun Fullstack Deploy

    FAIRY123456789/human-edge-agent-skills

    Deploy full-stack apps to user-authorized Alibaba Cloud ECS or comparable Linux VPS hosts with preflight, canary verification, and rollback.

    103 GitHub stars~1.9k tokensUpdated 8 days ago
    DevOps & CloudAuto-check passed

More from cinience/alicloud-skills

All 96 skills in this repo
  • Aliyun Swas Manage

    cinience/alicloud-skills

    A skill your agent uses when managing Alibaba Cloud Simple Application Server (SWAS OpenAPI 2020-06-01) resources end-to-end, including querying instances, starting/stopping/rebooting, executing…

    397 GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • Aliyun Skill Creator

    cinience/alicloud-skills

    A skill your agent uses when creating, migrating, or optimizing skills for this alicloud-skills repository.

    397 GitHub stars~2.8k tokensUpdated 1 mo ago
    Auto-check passed
  • Alicloud Acs Agent Sandbox

    cinience/alicloud-skills

    Bootstrap, create, connect to, operate, secure, scale, upgrade, troubleshoot, inspect, and tear down Alibaba Cloud Container Compute Service (ACS) Agent Sandbox environments.

    397 GitHub stars~2.7k tokensUpdated 1 mo ago
    Auto-check passed
  • Alicloud Acs Cluster

    cinience/alicloud-skills

    Create, inspect, connect to, inventory, and delete Alibaba Cloud Container Compute Service (ACS) clusters through the official CS OpenAPI.

    397 GitHub stars~1.7k tokensUpdated 1 mo ago
    Auto-check passed
  • Aliyun Adb Mysql

    cinience/alicloud-skills

    A skill your agent uses when managing Alibaba Cloud AnalyticDB for MySQL (ADB) via OpenAPI/SDK, including the user needs AnalyticDB resource lifecycle and configuration operations, status checks, or…

    397 GitHub stars~708 tokensUpdated 1 mo ago
    Auto-check passed
  • Aliyun Aicontent Generate

    cinience/alicloud-skills

    A skill your agent uses when managing Alibaba Cloud AIContent (AiContent) via OpenAPI/SDK, including the user needs AI content generation or content workflow operations in Alibaba Cloud, including…

    397 GitHub stars~734 tokensUpdated 1 mo ago
    Auto-check passed

Works with

Questions about Aliyun CLI Manage

What does Aliyun CLI Manage do?

A skill your agent uses when users need command-line operations on Alibaba Cloud resources (list/query/create/update/delete), credential/profile setup, region/endpoint selection, or API discovery…. Aliyun CLI Manage is an agent skill from cinience/alicloud-skills. Use when users need command-line operations on Alibaba Cloud resources (list/query/create/update/delete), credential/profile setup, region/endpoint selection, or API discovery from CLI.

When should I use Aliyun CLI Manage?

Aliyun CLI Manage fits situations like: users need command-line operations on Alibaba Cloud resources (list/query/create/update/delete); credential/profile setup; region/endpoint selection; API discovery from CLI.

How do I install Aliyun CLI Manage in Claude Code?

Run `npx skills add cinience/alicloud-skills --skill aliyun-cli-manage -a claude-code`. Or copy the skill folder (skills/platform/cli/aliyun-cli-manage in cinience/alicloud-skills) into .claude/skills/aliyun-cli-manage in your project. Claude Code loads it when a task matches its description.

How do I install Aliyun CLI Manage in Codex?

Run `npx skills add cinience/alicloud-skills --skill aliyun-cli-manage -a codex`. Or copy the skill folder (skills/platform/cli/aliyun-cli-manage in cinience/alicloud-skills) into .agents/skills/aliyun-cli-manage in your project. Codex loads it when a task matches its description.

Can I use Aliyun CLI Manage in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cinience/alicloud-skills --skill aliyun-cli-manage -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/aliyun-cli-manage, .gemini/skills/aliyun-cli-manage, .github/skills/aliyun-cli-manage and .opencode/skills/aliyun-cli-manage in your project.

What does Aliyun CLI Manage need to run?

Going by SKILL.md and its folder, Aliyun CLI Manage needs Python for the scripts in its folder, the command-line tools its instructions call (python and curl) and credentials named ALIBABACLOUD_ACCESS_KEY_ID and ALIBABACLOUD_ACCESS_KEY_SECRET. Our summary lists: Python 3; A credential in ALIBABACLOUD_ACCESS_KEY_SECRET.

Does Aliyun CLI Manage access the network?

SKILL.md names 1 domain. In commands or code: aliyuncli.alicdn.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Aliyun CLI Manage safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Aliyun CLI Manage use?

Aliyun CLI Manage is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Aliyun CLI Manage use?

About 1.2k tokens (SKILL.md is roughly 4.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 101 tokens, read only when the agent opens those files.

What are the alternatives to Aliyun CLI Manage?

Skills that share tags, products or a category with Aliyun CLI Manage: Alibabacloud Ecs Sec Kernel (aliyun/alibabacloud-ecs-troubleshoot-skills, 148 stars), Alibabacloud Ecs Sec Userspace (aliyun/alibabacloud-ecs-troubleshoot-skills, 148 stars), Deploy Observability (aliyun/alibabacloud-observability-mcp-server, 166 stars) and Sls Dashboard Builder (alibaba/loongsuite-pilot, 198 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Aliyun CLI Manage?

cinience (a GitHub user) maintains it in cinience/alicloud-skills, which has 397 GitHub stars. The repository holds 96 skills in this directory. The repository was last updated on August 11, 2026.

Source: cinience/alicloud-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.