alibabacloud-cli-guidance

Featured

Guide for Alibaba Cloud CLI (aliyun) command syntax, plugin system, parameter naming, and best practices. Use this skill to generate correct CLI commands, understand plugin vs built-in command differences, structured parameter syntax, output filtering, pagination, and error troubleshooting. This skill is a CLI knowledge reference — when MCP tools (AlibabaCloud___CallCLI, etc.) are available, always prefer MCP tools for execution rather than running aliyun commands locally in the shell.

DevOps & Infrastructure 27 stars 13 forks Updated 5 days ago Apache-2.0

Install

View on GitHub

Quality Score: 89/100

Stars 20%
48
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Aliyun CLI Expert Guide for managing Alibaba Cloud resources using the `aliyun` command-line tool. ## MCP Tools vs Local CLI Execution **IMPORTANT**: This skill provides CLI command knowledge and syntax guidance. It does NOT mean you should always run `aliyun` commands locally in the shell. **Execution priority:** 1. **MCP tools (highest priority)** — When `AlibabaCloud___CallCLI` and other MCP tools are available, **always use them** for API execution. MCP tools handle authentication, cross-account access (`x_assume_account_id`), and output filtering (`x_output_jmespath_filter`) without requiring local CLI installation or configuration. 2. **Local CLI (fallback)** — Only use local `aliyun` commands in the Bash tool when: - MCP tools are not available or not configured - The operation requires local file system access (e.g., `aliyun oss cp`, `aliyun ossutil sync`) - The user explicitly asks for a local CLI command to copy/paste or use in scripts - The user needs to install/configure the CLI itself **Use this skill's knowledge for:** - Understanding correct command syntax when calling `AlibabaCloud___CallCLI` - Generating CLI commands via `AlibabaCloud___GenerateCLICommand` - Knowing the difference between plugin-style and built-in-style commands - Understanding parameter naming conventions (especially `--biz-` prefixes) - Troubleshooting CLI errors returned by MCP or local execution - Guiding users who want to run commands locally in their own t...

Details

Author
aliyun
Repository
aliyun/alibabacloud-agent-toolkit
Created
3 months ago
Last Updated
5 days ago
Language
Python
License
Apache-2.0

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category