alibabacloud-cli
Skill8 starsChanged 6 months agoApache-2.0View on GitHub
Use the correct Alibaba Cloud CLI (aliyun) profile and region when running Alibaba Cloud commands based on the target environment.
- Installs packages
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 4 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
When running aliyun commands, always pass the --profile flag based on the target environment, and specify the region explicitly.
- Distinctive: line 12
Update the profile map below with your Alibaba Cloud CLI profile names:
- Distinctive: line 21
If not already authenticated, inform the user that setup is required and ask them to complete the following steps manually.
- Very specific: line 79
Always specify --profile explicitly — never rely on the default aliyun profile, as it may point to the wrong account.
- Very specific: line 80
Always specify --region explicitly — never rely on a default region.
- Distinctive: line 81
If the target environment is unclear, ask the user before running the command.
- Distinctive: line 82
NEVER run any command in the "Never run" table above without explicit user instruction — a human must execute these, especially against …
- Very specific: line 83
NEVER read or output AccessKey ID/Secret values stored in aliyun CLI profiles or any credential value.
- Very specific: line 84
If unsure which account a profile belongs to, run aliyun sts GetCallerIdentity --profile <profile> to verify before proceeding.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Alibaba Cloud CLI Skill
When running aliyun commands, always pass the --profile flag based on the target environment, and specify the region explicitly.
Configuration
Update the profile map below with your Alibaba Cloud CLI profile names:
| Environment | Profile | Default Region |
| Production | <your-prod-profile> | <your-prod-region> (e.g. cn-hangzhou) |
| Staging / Non-Prod | <your-nonprod-profile> | <your-nonprod-region> (e.g. ap-southeast-1) |
Prerequisites (one-time setup by user)
If not already authenticated, inform the user that setup is required and ask them to complete the following steps manually. Do not perform these steps yourself.
brew install aliyun-cli
aliyun configure --profile <your-profile-name>
aliyun configure listCommand Format
aliyun <product> <action> --profile <profile> --region <region> [options]Examples
# Production
aliyun ecs DescribeInstances --profile <your-prod-profile> --region <your-prod-region>
# Staging / Non-Prod
aliyun ecs DescribeInstances --profile <your-nonprod-profile> --region <your-nonprod-region>Available Commands
Read-only (safe, no confirmation needed)
| Command pattern | Description |
aliyun ecs DescribeInstances | List ECS instances |
aliyun ecs DescribeInstanceAttribute | Describe an ECS instance |
aliyun rds DescribeDBInstances | List RDS database instances |
aliyun cs DescribeClusters | List Kubernetes (ACK) clusters |
aliyun sts GetCallerIdentity | Verify current identity |
aliyun cms ... (Describe* actions) | Query CloudMonitor metrics/alerts |
Mutating operations (confirm with user before running)
| Command pattern | Description |
aliyun ecs CreateInstance | Create a new ECS instance |
aliyun ecs ModifyInstanceAttribute | Modify an ECS instance |
aliyun rds CreateDBInstance | Create a new RDS instance |
aliyun cs CreateCluster | Create a new Kubernetes (ACK) cluster |
Never run — requires explicit human approval
| Command pattern | Reason |
aliyun ecs DeleteInstance | Irreversible resource deletion |
aliyun rds DeleteDBInstance | Irreversibly destroys a database |
aliyun cs DeleteCluster | Irreversibly deletes a Kubernetes cluster |
aliyun ecs StopInstance / RebootInstance | Disrupts running workloads |
aliyun ram ... (Create/Delete/Attach/Detach Policy) | Alters access control, security-sensitive |
Rules
- Always specify
--profileexplicitly — never rely on the defaultaliyunprofile, as it may point to the wrong account. - Always specify
--regionexplicitly — never rely on a default region. - If the target environment is unclear, ask the user before running the command.
- NEVER run any command in the "Never run" table above without explicit user instruction — a human must execute these, especially against production.
- NEVER read or output AccessKey ID/Secret values stored in
aliyunCLI profiles or any credential value. - If unsure which account a profile belongs to, run
aliyun sts GetCallerIdentity --profile <profile>to verify before proceeding.
In this repository54 other files it gives its agents.
- ansible-cliSkill
- appdynamics-cliSkill
- argocd-cliSkill
- aws-cliSkill
- aws-cloudwatch-cliSkill
- azure-cliSkill
- bash-lintingSkill
- betterstack-cliSkill
- bitbucket-cliSkill
- chef-cliSkill
- code-reviewSkill
- commit-codeSkill
- create-dockerfileSkill
- create-terraform-helm-upgrade-planSkill
- datadog-cliSkill
- digitalocean-cliSkill
- dockerfile-lintingSkill
- dynatrace-cliSkill
- elasticsearch-cliSkill
- gcp-cliSkill
- github-cliSkill
- gitlab-cliSkill
- go-lintingSkill
- grafana-cliSkill
- grafana-loki-cliSkill
- graylog-cliSkill
- helm-cliSkill
- hetzner-cliSkill
- huaweicloud-cliSkill
- jaeger-cliSkill
- jenkins-cliSkill
- jira-and-confluence-cliSkill
- kibana-cliSkill
- kubernetes-cliSkill
- loggly-cliSkill
- maintenance-check-aws-eksSkill
- maintenance-create-ticket-on-jiraSkill
- ms-teams-cliSkill
- mysql-cliSkill
- newrelic-cliSkill
- oci-cliSkill
- packer-cliSkill
- papertrail-cliSkill
- postgresql-cliSkill
- prometheus-cliSkill
- python-lintingSkill
- rollbar-cliSkill
- salesforce-cliSkill
- sentry-cliSkill
- slack-cliSkill
- splunk-cliSkill
- terraform-cliSkill
- terraform-lintingSkill
- vault-cliSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

