huawei-cloud-terraform-installer Skill for Claude Code: What It Does and How to Install It
Makes Claude install Terraform on Linux or Windows and set up the Huawei Cloud provider from Huawei Cloud's mirror.
- Installs
- 18K
- on skills.sh
- Stars
- 59
- on GitHub
- Files
- 4
- besides SKILL.md
- Updated
- Oct 2026
- last repo commit
This skill makes Claude install the Terraform command line tool and the Huawei Cloud provider by running a bundled Python script. The Terraform binary comes from HashiCorp's release site, and the provider comes from the Huawei Cloud mirror, which SKILL.md says avoids GitHub network problems. It works on Linux and Windows, and SKILL.md says macOS is not supported.
It triggers on requests to install or set up Terraform, or when an infrastructure task finds Terraform missing. The script changes your system: it installs a binary, writes a Terraform CLI config file and, on Windows, edits the PATH setting. The install box has the skill. Its folder holds 5 files, including one Python script.
Good for
- Huawei Cloud users who want Terraform ready without hitting GitHub timeouts
- Engineers on Linux or Windows machines who need a scripted Terraform setup
- Agents that detect a missing Terraform during an IaC task
Install huawei-cloud-terraform-installer
Claude Code
- 1
Copy this prompt.
Install the huawei-cloud-terraform-installer skill in Claude Code. Run this command: npx skills add huaweicloud/huaweicloud-skills --skill huawei-cloud-terraform-installer Then check that it loaded and tell me how to use it.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Requires Node.js, Python 3.6 or newer.
Pick one route. The skill runs scripts/install_terraform.py, which needs Python 3.6 or newer, so there is no Claude app upload route. SKILL.md supports Linux and Windows and says macOS is not currently supported. The script needs network access to releases.hashicorp.com and mirrors.huaweicloud.com. On Linux, SKILL.md says to run it with sudo for system-wide installs: sudo python3 install_terraform.py.
Built from the package data we hold. Not yet tested by us. Source.
What's in the skill
When it loads
Installs Terraform CLI cross-platform with Huawei Cloud mirror support. Use this skill whenever the user mentions installing Terraform, setting up Terraform environment, or when IaC tasks detect missing Terraform. Trigger: install terraform, setup terraform, terraform environment, huaweicloud provider.
Sections in SKILL.md
- Prerequisites
- Platform Support
- Windows Special Notes
- Quick Start
- Basic Installation
- Specify Version
- Other Operations
- Mirror Strategy
- Troubleshooting
- Issue 1: Windows PATH Not Effective
- Issue 2: Permission Denied
- Issue 3: Network Timeout
Key facts
- Installs on skills.sh
- 17,975 (Nov 2, 2026)
- Last repo commit
- Oct 31, 2026
- Audits on skills.sh
- Gen Agent Trust Hub: fail, Socket: pass, Snyk: warn
What it includes
install_terraform.py --check reports whether Terraform is installed, and where
Runs code ·
Check statuspython scripts/install_terraform.py downloads Terraform, then the Huawei Cloud provider
The script skips the install if Terraform is already on the PATH or in its install folder.
Try: “Install Terraform and set up the Huawei Cloud provider”
Runs code ·
Install Terraform and the provider--version 1.15.4 installs that Terraform release
Without it, the script reads the latest stable version from HashiCorp, falls back to the GitHub API, then to 1.15.2.
Runs code ·
Pick a versionExtracts the provider into a local folder and writes a Terraform CLI config for it
On Linux that is ~/.terraform.d/providers and ~/.terraformrc. On Windows it is the terraform.d and terraform.rc files under %APPDATA%.
Write ·
Write the provider configRuns terraform init in a temporary folder with a minimal Huawei Cloud config
It runs automatically after install on non-Windows systems, and alone as --test-provider.
Runs code ·
Test the provider--uninstall deletes the Terraform binary, the CLI config and the providers folder
Delete ·
UninstallAdds the install folder to the PATH setting in the Windows registry
SKILL.md says to reopen the terminal afterwards.
Write ·
Windows PATH update
From the official docs
Permissions
High risk
What it can do
- Read your data
- Create and change things
- Delete things
- Read-only modeHow to turn it on
Watch out for
It installs software and edits system settings
The script installs a binary, writes a CLI config and, on Windows, changes PATH in the registry. As admin it writes to /usr/local/bin or Program Files. Run --check first and read what it will do. github.com
It overwrites ~/.terraformrc
The provider step writes the Terraform CLI config with write_text, replacing any existing file. The config it writes lists a local filesystem mirror for all providers and excludes all providers from direct installation. Back up your own config first. github.com
--uninstall deletes the whole providers folder
The script removes the providers directory (~/.terraform.d/providers on Linux) with rmtree, plus the CLI config. Providers you installed there yourself go too. github.com
macOS is not supported
SKILL.md says macOS is not currently supported, so the script is meant for Linux and Windows. github.com
Security advisories
No published security advisories as of Nov 2, 2026.
Technical details
| Turning on read-only | --check only reports status. Install, test and uninstall are separate commands. |
|---|---|
| Talks to | releases.hashicorp.com. mirrors.huaweicloud.com. api.github.com (fallback for the latest version) |
| Sign-in and keys | SKILL.md names no credentials. |
| Scopes |
|
Questions
What does the Huawei Cloud Terraform Installer skill do?
It makes Claude run a Python script that installs Terraform and the Huawei Cloud provider. The provider comes from the Huawei Cloud mirror by default, so it avoids GitHub timeouts.
Which systems does it support?
Linux and Windows. SKILL.md says macOS is not currently supported. It also needs Python 3.6 or newer and network access to releases.hashicorp.com and mirrors.huaweicloud.com.
Does it need Huawei Cloud credentials?
SKILL.md does not ask for credentials for the install. It lists no key or token. A later Terraform run against Huawei Cloud will need its own credentials.
What does it change on my computer?
It copies a terraform binary into /usr/local/bin when run as admin, or ~/.local/bin otherwise, on Linux. On Windows it uses the Program Files or Local AppData folder and edits PATH. It also writes a Terraform CLI config and a providers folder. The Terraform config it writes sends all providers to that local folder and excludes direct installs.
Is it safe?
It downloads and installs software and rewrites your Terraform CLI config, so run it on a machine where that is fine. If you already have a ~/.terraformrc, back it up first: the script writes the file without asking. Our advice: run --check before anything else.
What does --uninstall remove?
The script deletes the Terraform binary in its install folder, the Terraform CLI config file and the whole providers folder (~/.terraform.d/providers on Linux). That folder can hold providers other than Huawei Cloud, so look inside before you run it.
Do --init and --test do anything?
SKILL.md lists --init and --test. In the script, --init is parsed but not used, and --test only matters when Terraform is already installed, where it is a placeholder. A provider test (terraform init in a temp folder) runs by default after install on Linux.
Is it official?
It is in the huaweicloud/huaweicloud-skills repo, which the README calls officially maintained Huawei Cloud Agent Skills. It is not a HashiCorp product.
Information
updated Nov 2, 2026
- Repository
- huaweicloud/huaweicloud-skills
- Folder
skills/devtools/terraform/huawei-cloud-terraform-installer
Sources
Docs, issue trackers and discussions this page is built from.
Show all 3Hide
- huaweicloud-skills README · github.com
- huawei-cloud-terraform-installer SKILL.md · github.com
- install_terraform.py · github.com