Huawei Cloud KooCLI Usage Guide
Paste the following prompt into your AI chat to install this skill:
Install @user_15292d5a/yjkj-hwc-cli-guidance-v2 according to https://skillhub.cn/install/skillhub.md.
About this skill
What problem it solves
When scripting, CI/CD, or bulk operations rely on the Huawei Cloud console, teams often run into repeated manual console work, confusing credential switching, and resource parameters that are hard to reuse. hwc-cli-guidance-v2 is a guidance document for engineers using Huawei Cloud KooCLI. It organizes installation, authentication, profile management, and service commands, with coverage of common operations for ECS, OBS, RDS, and FunctionGraph.
How the skill works
It follows a configure-then-invoke workflow:
- Environment setup: system requirements, Python version, and where to obtain Access Key ID and Secret Access Key.
- Authentication and profiles: compares AK/SK, Token, and Profile modes, then explains initializing, viewing, switching, and deleting configurations.
- Common commands: groups examples around compute, object storage, relational databases, and function services for scenario-based lookup.
- Error handling: lists common error codes such as 401, 403, 404, 429, and 500, with troubleshooting guidance.
It is useful for teams integrating KooCLI into automation, batch data migration, monitoring, and alert response. It is primarily a reference guide rather than a full API spec; permissions, regions, resource IDs, and rate limits still need validation against the Huawei Cloud console and IAM configuration.
Use Cases
- Use KooCLI in CI/CD scripts to create and query ECS instances without manual console checks.
- Create the target OBS bucket before batch uploads, then verify that uploads completed.
- Debug 403 KooCLI responses by checking IAM permissions and the active profile.
- Query CES/AOM metrics in monitoring scripts and set alert rules for automated response.
Best For
- SREs automating Huawei Cloud ECS checks who need scripted resource queries and alert setup.
- Ops engineers migrating object storage who need to create OBS buckets, upload files, and verify results.
- Platform developers using Huawei Cloud in CI who need consistent AK/SK and profile authentication.
- Cloud ops staff debugging KooCLI permission or rate-limit issues via 403/429 error codes.
Related Skills
A lightweight wrapper and automation tool for Jaeger-related GitHub scenarios.
Vault Wrap is a wrapping skill for Vault and GitHub automation.
Port management, threat-intel audits, drift checks, and multi-node monitoring for self-hosted infrastructure.
Provides health checks for HTTP, TCP, Ping, and log sources with dynamic-threshold alerts, anomaly detection, and scheduled inspection reports.