Huawei Cloud KooCLI Guidance for Openclaw

A terminal-first Huawei Cloud KooCLI skill that helps you install, authenticate, query help, build commands, and troubleshoot cloud operations safely.

changhui123456
v1.0.0
Jul 17, 2026
0
0
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install devtools-cli-huawei-cloud-cli-guidance

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install devtools-cli-huawei-cloud-cli-guidance using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Huawei Cloud KooCLI Guidance?

Openclaw Skills for Huawei Cloud KooCLI is a practical command-line companion for managing Huawei Cloud resources from the terminal. It standardizes the hcloud workflow, starting with version checks and installation, then moving through authentication setup, service discovery, command construction, output formatting, and error triage.

This skill is designed to reduce trial-and-error by enforcing a help-first workflow: inspect services with hcloud --help, inspect operations with hcloud <service> --help, then run the exact command with the right region, profile, and output options. Openclaw Skills also emphasizes safe cloud operations, including profile separation, least-privilege authentication, debugging, and clear error classification.

Huawei Cloud KooCLI Guidance Use Cases

  • Installing or upgrading KooCLI to version 7.2.2 or higher on Linux, macOS, or Windows/WSL.
  • Configuring AK/SK, SSO, ecsAgency, or AssumeRole authentication for Huawei Cloud access.
  • Discovering supported services and operations before running commands from the terminal.
  • Managing Huawei Cloud resources such as ECS, VPC, OBS, IAM, and related APIs.
  • Formatting results for scripts, dashboards, spreadsheet imports, or manual review.
  • Troubleshooting command failures with --cli-debug=true and error-prefix classification.
  • Running repeatable dev/test/prod workflows with isolated profiles in Openclaw Skills.

How Huawei Cloud KooCLI Guidance Works

  1. Verify prerequisites such as KooCLI version, account permissions, network access, and a supported operating system.
  2. Install or upgrade hcloud, then confirm the installation with hcloud version.
  3. Choose exactly one authentication path: profile mode, explicit parameters, ecsAgency, SSO, or AssumeRole.
  4. Discover the service catalog with hcloud --help, then inspect the target service and operation with hcloud <service> --help and hcloud <service> <operation> --help.
  5. Build the command using the canonical pattern hcloud <service> <operation> [parameters] [options], adding region, output format, and query filters as needed.
  6. Execute the command, review the result payload, and verify request IDs, resource state, and returned fields.
  7. If a failure occurs, read the error prefix, rerun with --cli-debug=true, and resolve the issue using the built-in help output and troubleshooting references.

Huawei Cloud KooCLI Guidance Setup

  1. Check the installed version first.
hcloud version
  1. Install KooCLI if the version is below 7.2.2 or not installed.
curl -sSL https://cn-north-4-hdn-koocli.obs.cn-north-4.myhuaweicloud.com/cli/latest/hcloud_install.sh -o ./hcloud_install.sh && bash ./hcloud_install.sh

For non-interactive installation:

curl -sSL https://cn-north-4-hdn-koocli.obs.cn-north-4.myhuaweicloud.com/cli/latest/hcloud_install.sh -o ./hcloud_install.sh && bash ./hcloud_install.sh -y
  1. Initialize a reusable profile when you expect repeated operations.
hcloud configure init --cli-profile agent-profile
hcloud configure list
  1. If you need SSO, start the login flow and complete browser-based authentication.
hcloud configure sso
  1. For one-off commands or CI/CD, pass authentication parameters explicitly in the command. Do not expose AK/SK in chat or logs.
hcloud <service> <operation> --cli-access-key <AccessKeyId> --cli-secret-key <SecretAccessKey> --cli-region cn-north-4
  1. Verify the service catalog and operation help before executing real cloud actions.
hcloud --help
hcloud ECS --help
hcloud ECS ListInstances/v3 --help
  1. Use --cli-mode=ecsAgency for ECS delegation, or configure AssumeRole with the required agency parameters when cross-account access is needed.

Huawei Cloud KooCLI Guidance Data Schema & Taxonomy

Openclaw Skills organizes KooCLI data as a command-and-response workflow rather than as a standalone application database. The core schema is driven by service metadata, authentication mode, and output formatting.

Layer Key fields / artifacts Purpose
Command envelope hcloud <service> <operation> [parameters] [options] Canonical execution format
Global options --cli-profile, --cli-region, --cli-output, --cli-query, --cli-debug Control identity, region, output, filtering, and diagnostics
Authentication schema AKSK, ecsAgency, SSO, AssumeRole Select exactly one active auth mode per command or profile
Service metadata API version, request method, URI path, request parameters, response structure, region, endpoint Enables dynamic command generation
Output schema json, table, tsv, plus JMESPath expressions Shapes machine-readable and human-readable responses
Error taxonomy [NETWORK_ERROR], [CLI_ERROR], [USE_ERROR], [OPENAPI_ERROR], [APIE_ERROR] Routes troubleshooting to the correct layer
Local artifacts Persistent configuration profiles and logs under ~/.hcloud/logs/ Supports reuse and debugging

Generated or expected artifacts

  • Configuration profiles created by hcloud configure init or hcloud configure sso.
  • Debug and runtime logs in ~/.hcloud/logs/.
  • Terminal output in JSON, table, or TSV form for downstream tooling.

Reference taxonomy

  • Installation: ./references/installation-guide.md
  • Troubleshooting: ./references/cli-troubleshooting.md
  • Workflows: ./references/common-workflows.md
  • Parameter rules: ./references/parameter-format.md
  • Service catalog: ./references/service-catalog.md
  • IAM policies: ./references/iam-policies.md
  • Acceptance criteria: ./references/acceptance-criteria.md
  • Core commands: ./references/core-commands.md

Huawei Cloud KooCLI Guidance Advanced Features

  • Multi-auth support across AKSK, ecsAgency, SSO, AssumeRole, and existing profile reuse.
  • Profile-based environment isolation for dev, test, and prod workflows in Openclaw Skills.
  • Help-first service discovery using hcloud --help, hcloud <service> --help, and hcloud <service> <operation> --help.
  • Output shaping with --cli-output=json, --cli-output=table, --cli-output=tsv, and JMESPath filtering via --cli-query.
  • ECS delegation support with --cli-mode=ecsAgency for temporary credentials inside delegated instances.
  • Cross-account resource access with AssumeRole using agency domain and source-profile parameters.
  • Browser-assisted SSO login for persistent, low-friction authentication.
  • Debug tracing with --cli-debug=true to inspect requests, responses, endpoints, and parameter parsing.
  • OBS dual-mode support for both OpenAPI-style and obsutil-style command surfaces.
  • Security-first execution patterns, including least privilege, MFA for sensitive operations, confirmation before destructive actions, and credential hygiene.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*