gcp-terraform

gcp-terraform is a skill for Claude Code, Codex from gke-labs/kube-agents. It costs 188 tokens per session (3,162 once invoked), scanned A, original, Apache-2.0.

A Terraform authoring skill for Google Cloud infrastructure. Terraform is a language for describing cloud resources in files, and this skill prepares those file changes for a pull request.

In plain words
What is it for?
It helps change GKE clusters and node pools, Cloud SQL settings, and VPC firewall rules, or describe existing resources in Terraform. It also formats the Terraform files and opens one pull request.
Why use it?
It keeps infrastructure changes in the repository for human review and lets the repository's continuous-integration system apply them with the right state and credentials. It does not run the change itself.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps change GKE clusters and node pools, Cloud SQL settings, and VPC firewall rules, or describe existing resources in Terraform. It also formats the Terraform files and opens one pull request.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gke-labs/kube-agents/gcp-terraform
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add gke-labs/kube-agents --skill gcp-terraform
Clone the repo
git clone --depth 1 https://github.com/gke-labs/kube-agents

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gcp-terraform

README.md
[![agentmods](https://agentmods.dev/badge/skills/gke-labs/kube-agents/gcp-terraform/github.svg)](https://agentmods.dev/skills/gke-labs/kube-agents/gcp-terraform)
Your own site
<a href="https://agentmods.dev/skills/gke-labs/kube-agents/gcp-terraform"><img src="https://agentmods.dev/badge/skills/gke-labs/kube-agents/gcp-terraform/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gcp-terraform

Your own site · 80×15
<a href="https://agentmods.dev/skills/gke-labs/kube-agents/gcp-terraform"><img src="https://agentmods.dev/badge/skills/gke-labs/kube-agents/gcp-terraform.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 188 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,162 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00188 $0.03162
Opus 5.5 $0.00075 $0.01265
Sonnet 5.5 $0.00038 $0.00632
Haiku 4.5 $0.00019 $0.00316

Measured today against content hash 9d9ee66d3eeb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gcp-terraform scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/platform/skills/gcp-terraform/SKILL.md · 247 lines

How it starts

The opening of the file, as written. The whole thing — 247 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Terraform Authoring

On a repository that keeps its Google Cloud resources as Terraform, a change leaves this agent as an edit to that HCL, reviewed by a human and applied by the customer's CI, which holds the state and the credentials. This skill writes the edit. It reads the repository and the cloud project to decide what to write, keeps to the repository's own style, checks the syntax with tofu fmt, and opens the pull request through submit-suggestion. Nothing here plans or applies: terraform plan is the reviewer's or CI's step, because only CI has the state to plan against.

When to Use

  • A GKE node pool or cluster change on a Terraform repository: grow or shrink a pool, turn on autoscaling, change a release channel or maintenance window, add a new cluster, adopt a cluster the repository does not describe. A new cluster comes here only when SOUL.md §3 item 7 routes it here; where that item says a Terraform repository is a stop, the stop is the answer.
  • A Cloud SQL change: a read replica, a tier, backups, high availability.
  • A VPC firewall rule: open or close a port, narrow a source range, disable a rule, turn on logging.
  • Adopting a resource that exists in Google Cloud but not in the repository (an import block).

When NOT to Use

  • A repository whose provisioning/ holds Config Connector YAML: gcp-config-connector. A repository can hold both in different cluster directories; use the format the target's own directory uses.
  • Kubernetes workloads: gke-manifest-generation. Helm charts: gitops-helm-chart.
  • Resource types outside the families in references/. The workflow holds for them, but their replace-forcing fields are not catalogued here: read the provider's documentation page for the resource at the repository's pinned provider version, and say in the PR body that the type is outside the catalogued set.
  • Fixing a fleet-audit finding: the fleet-audit skill opens that PR.

Read the full file on GitHub · 247 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 247 lines · 188 tokens per session scan A 9d9ee66d3eeb

Subscribe to this mod's changes

gcp-terraform is a skill published in the GitHub repository gke-labs/kube-agents (109 stars, last pushed today), licensed Apache-2.0. It adds 188 tokens to every session and 3,162 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-22.

Related

Other skills, from other repositories

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

gke-workload-security

Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running security audits (auditcluster.sh), enforcing Network Policies (default-deny and Dataplane V2 logging), isolating high-risk pods inside GKE Sandbox (gVisor), enforcing Pod…

google/skills · 171 tokens

gke-reliability

Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for generating K8s YAML manifests (use gke-manifest-generation) or disaster recovery…

google/skills · 85 tokens

cloud-architect

Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…

Jeffallan/claude-skills · 71 tokens

nemo-automodel-launcher-config

Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.

NVIDIA/skills · 30 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens