Huawei getting started

From huaweicloud/huaweicloud-devkit · View interactive version

Huawei getting started is an AI agent skill from the GitHub repository huaweicloud/huaweicloud-devkit. Use when starting fresh with Huawei Cloud or KooCLI, installing prerequisites, setting up authentication, or exploring what is possible. Triggers: getting started, first time, setup, install, explore, quickstart, beginner, tutorial. NOT for: specific service operations (use huawei-ecs, huawei-obs, e

How to use this skill

Skill file

Huawei Cloud Getting Started

STOP - Do not answer from general knowledge. Follow the procedure below.

KooCLI Installation

This plugin is paired with KooCLI v7.3.12. Install the pinned version:

| OS | Command |

| -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

| Windows (PowerShell) | See https://support.huaweicloud.com/qs-hcli/hcli_02_003.html for MSI download |

| Linux | curl -LO "https://cn-north-4-hdn-koocli.obs.cn-north-4.myhuaweicloud.com/cli/7.3.12/huaweicloud-cli-linux-amd64.tar.gz" && tar -zxvf huaweicloud-cli-linux-amd64.tar.gz |

| macOS | curl -LO "https://cn-north-4-hdn-koocli.obs.cn-north-4.myhuaweicloud.com/cli/7.3.12/huaweicloud-cli-mac-amd64.tar.gz" && tar -zxvf huaweicloud-cli-mac-amd64.tar.gz |

See huaweicloud-cli-and-auth skill for arm64 variants and the one-liner (latest) option.

First-Time Setup

  1. Install KooCLI using command above
  2. Accept privacy policy (first run only): KooCLI requires one-time privacy agreement. Run hcloud version to read the agreement, then respond y to accept. Do not pipe echo "y" | — you must review the terms first.
  3. Configure credentials (unified): npx huaweicloud-devkit auth init — prefer this over hcloud configure init, which only covers KooCLI.
  4. Verify: hcloud configure list to confirm profile, then hcloud ECS ListServersDetails --cli-region=cn-north-4
  5. For detailed auth guidance, see huaweicloud-cli-and-auth skill

Security: Never pass AK/SK as command-line arguments (--ak=...). Always use npx huaweicloud-devkit auth init (unified, interactive) or hcloud configure init (KooCLI only) to avoid secrets in shell history.

Non-Interactive Setup (Agent/CI Environments)

When the interactive TUI is unavailable (Agent tools, CI/CD), configure credentials outside agent chat using the unified entry point:

# User executes in their terminal (NOT in agent chat):
npx huaweicloud-devkit auth init

# Agent verifies through redacted tooling only:
hcloud configure list

Do not instruct the user to run hcloud configure set --cli-access-key=... --cli-secret-key=... — AK/SK would enter shell history. Use npx huaweicloud-devkit auth init instead.

Critical Warnings

| Trap | Why |

| -------------------------------------- | --------------------------------------------------------------------------------------------- |

| AK/SK must be kept secret | Never commit to git or share |

| Default region applies to all commands | Override with --cli-region= per command |

| Some services region-specific | Not all services available in all regions |

| Privacy policy blocks first run | Run hcloud version to read and accept the agreement. Review the terms before responding y |

What Can I Do? (Quick Index)

| Goal | Skill |

| ----------------- | ----------------------------------------------------- |

| Create a VM | huawei-ecs |

| Store files | huawei-obs |

| Set up a database | huawei-rds / huawei-cloud-gaussdb-instance-management |

| Create a network | huawei-vpc |

| Manage access | huawei-iam |

| Deploy an app | huawei-cloud-deployment-task-management |

| Run containers | huawei-cce |

| Build an API | huawei-cloud-apig-instance-management |

| Run serverless | huawei-functiongraph |

| Monitor resources | huawei-cloud-eye |

Pro Tips

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.