Directory Compare FCRS-1.0 About /llms.txt

Huawei Cloud KooCLI

$ hcloud Official High Risk
Huawei Cloud · Cloud & Infra · MIT · macos / linux / windows · Reviewed:

Huawei Cloud KooCLI (hcloud, alias hcloud-hw) is Huawei Cloud's official MIT Go CLI supporting Linux, macOS, and Windows. It provides --cli-output=json, JMESPath --cli-query filtering, --cli-profile isolation, --cli-region pinning, AK/SK/STS/delegation/SSO auth modes, and result polling.

FCRS-1.0 Score
83 /100
Good
Medium Confidence
Zero-Friction Install
https://github.com/huaweicloud/huaweicloud-cli/releases
CLI vs MCP Decision CLI Preferred vs MCP

hcloud exposes structured Huawei Cloud APIs with --cli-output=json and --cli-query JMESPath filtering directly in a single Go binary.

At a Glance

Command
$ hcloud
FCRS-1.0 Score
83/100 (Good)
Evidence Tier
Medium Confidence
CLI vs MCP
CLI Preferred vs MCP
Reviewed Date

Agent-Readiness Checklist

✓ JSON Output
✓ Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 22 / 25

Supports --cli-output=json, JMESPath --cli-query projection, offline parameter metadata, and asynchronous result polling.

  • Supports --cli-output=json and --cli-query JMESPath filtering
Trust & Safety 19 / 25

Supports --cli-profile isolation, temporary credentials, IAM delegation, and SSO, though a global --dry-run flag is not universal.

  • Supports AK/SK, temporary STS tokens, delegation, and SSO profiles
Setup & Portability 12 / 15

Cross-platform Go binary for macOS, Linux, and Windows, though binary name hcloud collides with Hetzner Cloud CLI (hcloud-hw alias recommended).

  • Single Go binary across macOS/Linux/Windows; collides with Hetzner hcloud
Utility & Efficiency 13 / 15

Covers broad Huawei Cloud APIs with smart completion, JMESPath filtering, and result polling.

  • Direct Huawei Cloud API coverage with polling and filtering
Maintenance & Lineage 9 / 10

Official huaweicloud/huaweicloud-cli repository actively maintained by Huawei Cloud under MIT.

  • Official huaweicloud/huaweicloud-cli repo (MIT)
Docs & Verifiability 8 / 10

Rich built-in service --help metadata and official Huawei Cloud international/CN manuals.

  • Built-in API help and official Huawei Cloud KooCLI docs

Security, Auth & Guardrails

Auth Modes
Config File Env API Key OAuth Browser Service Account
Credential Storage

Stores encrypted/scoped profiles in ~/.hcloud/ via hcloud configure init, or accepts temporary STS/SSO credentials.

Side Effects
Read-Only Local Write Remote Write Destructive Billing Impact
Cost & Quotas

CLI is free (MIT); cloud resource mutations incur Huawei Cloud billing.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Huawei Cloud KooCLI (hcloud) Agent Rules
- Verify `hcloud --version` resolves to Huawei Cloud KooCLI (and alias to `hcloud-hw` if Hetzner `hcloud` is also installed).
- Always pin `--cli-profile`, `--cli-region`, and `--cli-output=json`.
- Restrict agents to read-only IAM policies unless an operator approves write calls.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect configured KooCLI profile
hcloud configure show --cli-profile=default

Displays the selected profile's auth mode, region, and project settings.

List active ECS servers in filtered JSON
hcloud ECS ListServersDetails --cli-region=cn-north-4 --cli-output=json --cli-query="servers[?status=='ACTIVE']"

Fetches ECS instances and filters active servers via JMESPath.

Strengths for Agents

  • + First-class --cli-output=json and JMESPath --cli-query support shrink LLM context payloads.
  • + Rich auth support including AK/SK, temporary credentials, delegation, and SSO.
  • + Single Go binary with built-in API metadata and result polling.

Caveats & Pitfalls

  • ! Default binary name hcloud conflicts on $PATH with Hetzner Cloud CLI (hetzner-hcloud); consider symlinking as hcloud-hw.
  • ! Lacks a single global --dry-run flag across all Huawei Cloud services.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI

Related CLIs in Cloud & Infra

View category hub →
pack 83/100
$ pack

CNCF Cloud Native Buildpacks CLI with `--no-color`, `--output json` inspection, and source-to-OCI builds.

$ scw

Fast Scaleway Go CLI with `-o json`, `-o jsonpath=...`, and `--profile` isolation.

Defang 83/100
$ defang

Deploy `compose.yaml` apps to AWS, GCP, or DigitalOcean with `--dry-run` and `--json` support.

$ yc

Official Yandex Cloud CLI (`yc`) with universal `--format json`, service-account keys, and `--no-user-output`.

$ opa

CNCF policy engine CLI for evaluating, testing, and formatting Rego policies as JSON.

cfn-lint 94/100
$ cfn-lint

Official AWS CloudFormation linter with deterministic `-f json` and SARIF validation.