Huawei Cloud KooCLI Guidance
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md and install @user_15292d5a/yjkj-hwc-cli-guidance.
About this skill
Problem
When managing Huawei Cloud resources such as ECS, OBS, RDS, and FunctionGraph, console workflows can break script context, while direct CLI usage often gets stuck on credential setup, Profile switching, and error-code diagnosis. This skill organizes KooCLI preparation, authentication, common service paths, and troubleshooting order into engineer-oriented documentation that can be reused in local scripts, CI/CD, and operations workflows.
How it works
- Setup path: prepare
Access Key ID,Secret Access Key, and a region such ascn-north-4, then verify the first service call. - Authentication modes: use
AK/SKfor automation and longer-lived scripts,Tokenfor short-lived access, andProfilefor switching between projects and regions. - Service coverage: organize commands around cloud compute, object storage, relational databases, and serverless functions, and use
hcloud --helpto discover more capabilities. - Troubleshooting: inspect
401,403,404,429, and500in sequence: credentials, IAM permissions, resource IDs, request rate, and server-side issues.
Boundaries
This is useful for turning Huawei Cloud resource operations into maintainable scripts and workflows, but it does not replace IAM design, network policy, cost controls, or API-level parameter design. Treat temporary tokens as short-lived, and verify batch uploads, deletions, or mutating operations on a small scope first.
Use Cases
- Use KooCLI in CI/CD to batch-create, query, or update ECS, RDS, and FunctionGraph resources.
- Create a target OBS bucket before migration, then batch-upload files and verify the object list.
- Query CES/AOM metrics with KooCLI, set alert rules, and trigger automated responses.
- Manage multiple AK/SK and Region values via Profile to switch project context in local scripts.
Best For
- Backend engineers who script cloud resources and need ECS, RDS, or FunctionGraph changes in CI/CD.
- Data engineers migrating objects who need batch OBS uploads and result checks.
- Ops engineers responsible for monitoring and alerts who need CES/AOM metrics and rule setup.
- Full-stack engineers managing multi-region projects who need KooCLI Profile switching.
Related Skills
A one-shot coding agent built on Claude Code CLI that runs non-interactively, supports a specified workdir, and can be monitored in the foreground or background.
Preview and confirm file sorting by extension, with recursive cleanup, ignore rules, and transactional rollback.
An engineering assistant for static HTML/CSS/JS pages, design-token extraction, IE8-compatible review, and structured delivery.
An engineering workflow for requirement analysis, scenario modeling, risk planning, quality gates, testing, and knowledge capture, with lightweight, standard, and full modes.