terraform-cli-setup
Skill by agentscope-ai
Installs the Terraform CLI, checks that the terraform command works, and runs init and validate in a workspace. It is for users setting up Terraform on macOS or Linux. Provider credentials are handled by the separate terraform-skill.
Install terraform-cli-setup
Built from the published package, never by AI.
git clone --depth 1 https://github.com/agentscope-ai/QwenPaw /tmp/QwenPaw && mkdir -p ~/.claude/skills && cp -r /tmp/QwenPaw/plugins/bundle/cloudpaw/skills/terraform-cli-setup ~/.claude/skills/terraform-cli-setupRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/agentscope-ai/QwenPaw /tmp/QwenPaw && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/QwenPaw/plugins/bundle/cloudpaw/skills/terraform-cli-setup ~/.gemini/antigravity-cli/skills/terraform-cli-setupAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install terraform-cli-setup in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill sets up the Terraform command line tool on a local machine. It first checks whether terraform is installed. If it is not, the skill installs it using Homebrew on macOS, a manual zip download, or APT or YUM on Linux, depending on what is available. It then confirms the version with terraform version.
Once the CLI works, the skill guides the user through terraform init in a directory with .tf files, then runs terraform validate and terraform fmt -check. It also covers common init errors, such as provider download failures, and describes an optional network mirror setup for mainland China. Provider credential setup is out of scope and is referred to terraform-skill. The skill is aimed at people who are new to Terraform or need to repair a broken setup.
Written from the project's SKILL.md and checked against it.
What it can do
- Detect Terraform installChecks whether the terraform command is already available on the machine.
- Install Terraform CLIInstalls Terraform through Homebrew, a manual zip download, APT, or YUM, based on the operating system.
- Initialize workspaceRuns terraform init to set up the backend, providers, modules, and the lock file.
- Validate configurationRuns terraform validate and terraform fmt -check on the configuration files.
- Configure network mirrorWrites a ~/.terraformrc file that points provider downloads to a mirror, such as Alibaba Cloud or Tencent Cloud.
- Fix common init errorsLists fixes for errors such as lock file inconsistency, missing modules, and backend initialization.
What you need
- macOS or Linux
- Homebrew (optional, recommended on macOS)
- Network access to download Terraform and providers
- A directory with .tf files for init and validate
Try asking
- Install Terraform on my machine and check the version.
- Run terraform init in this folder and fix any errors.
- Set up a Terraform network mirror because provider downloads are slow.
Good to know
- Does not configure provider credentials; refers users to terraform-skill for that.
- Manual download examples pin Terraform version 1.14.6.
- Includes a Windows-free setup; the source lists macOS and Linux install paths only.
- The decision guide tells the agent to choose install methods and mirrors without asking the user.
Security check
C- Asks for administrator rights (sudo)In
plugins/bundle/cloudpaw/skills/terraform-cli-setup/SKILL.md:sudo
Checked automatically: plugins/bundle/cloudpaw/skills/terraform-cli-setup/SKILL.md, plugins/bundle/cloudpaw/skills/terraform-cli-setup/scripts/setup_terraform.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md11 KB -
scripts/setup_terraform.py7 KB
Alternatives to terraform-cli-setup
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
terraform-cli-setup: common questions
Does this skill set up AWS, Azure, or Alibaba Cloud credentials?
No. The source says provider credentials are not in scope for this skill and are configured by terraform-skill when Terraform is used.
Which operating systems does it support?
The source gives install steps for macOS (Homebrew or manual zip) and Linux (manual zip, APT for Debian or Ubuntu, and YUM for RHEL, CentOS, or Fedora).
Does it install Terraform without asking?
The source says the agent should choose the install method automatically based on the operating system and available tools, and only ask the user for sensitive information.
How do I install terraform-cli-setup?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is terraform-cli-setup free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is terraform-cli-setup safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.
What are alternatives to terraform-cli-setup?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
