An AI agent skill designed for lifecycle management of dedicated, isolated Huawei Cloud SWR enterprise container registry instances using the hcloud CLI and automated SDK tools.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install huawei-cloud-swr-enterprise-instance
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install huawei-cloud-swr-enterprise-instance using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Huawei Cloud SWR Enterprise Instance Management skill provides developers and AI agents with a comprehensive, automated workflow for managing dedicated, isolated container registry environments on Huawei Cloud. By leveraging Openclaw Skills, team members can provision instances, handle namespaces, manage repositories, and secure software distribution pipelines programmatically through the hcloud CLI and helper Python SDK scripts.
This skill provides a secure integration interface covering everything from network access control (VPC endpoints and public whitelisting) to custom domain binding and credential rotation. Using Openclaw Skills for your infrastructure tasks simplifies cloud resource provisioning, bypassing standard CLI bugs—such as the known SWR CreateInstance project_id collision—using reliable SDK fail-safes.
Ensure you have authorized the SWR Enterprise Repository feature at the official console before setup.
Set your Huawei Cloud API keys as environment variables:
export HUAWEI_CLOUD_AK=<your-ak>
export HUAWEI_CLOUD_SK=<your-sk>
export HUAWEI_CLOUD_REGION=cn-north-4
Verify your hcloud CLI installation (version >= 7.2.2 is required):
# Verify version and auto-confirm first-time usage
printf "y\n" | hcloud version
Due to a parameter duplication bug in the standard hcloud SWR CreateInstance command, use the helper Python SDK script to create instances:
python scripts/swr_instance_helper.py create --name=my-instance --spec=swr.ee.basic \
--vpc_id=<vpc-id> --subnet_id=<subnet-id> \
--enterprise_project_id=0 --description="My enterprise registry"
All other SWR resources can be managed directly via hcloud CLI tools.
This skill organizes its operations across dedicated SWR resources and records metrics and jobs programmatically. Below is an overview of the key schemas and parameters managed by the skill:
| Resource | Key Attributes / Fields | Purpose |
|---|---|---|
| Instance | name, spec (swr.ee.basic/swr.ee.professional), vpc_id, subnet_id |
Core dedicated registry configurations |
| Namespace | namespace, auto_scan, prevent_vul, severity |
Isolated security boundary for image repos |
| Registry | registry_name, access_user, access_secret |
Cross-registry target settings for sync operations |
| Endpoint | vpc_id, subnet_id, whitelist |
Network isolation and public API control |
| Domain | domain_name, certificate_id |
Custom HTTPS endpoint binding |
references/command-reference.md: Detailed CLI invocation templates.references/iam-policies.md: Pre-configured security JSON policies for IAM authorization.scripts/swr_instance_helper.py: Fail-safe Python script to handle instance creation.LtCredential (long-term programmatic credentials for persistent external CI/CD pipelines) and TempCredential (expiring security tokens for ephemeral container runtimes).Loading
Automate cross-region image replication and container deployment triggers on Huawei Cloud SWR using the hcloud CLI.

An automated agent workflow that queries Google to aggregate a target's social media presence across over a dozen major platforms.

Automate user permissions, image retention rules, and secure sharing configurations for Huawei Cloud SWR container registries via the hcloud CLI.

A powerful browser automation skill to extract structured post data, interaction counts, and reaction metrics from any public Facebook page.

A specialized skill for managing the full lifecycle of Huawei Cloud Cloud Container Instance (CCI) serverless containers using the hcloud CLI.

A lifecycle management and orchestration skill for running Kubernetes workloads and UCS multi-cluster fleets on Huawei Cloud.








































