google-cicd-terraform

google-cicd-terraform is a skill for Claude Code, Codex from gemini-cli-extensions/cicd. It costs 83 tokens per session (1,848 once invoked), scanned A, original, Apache-2.0.

A guide for designing and managing Google Cloud infrastructure with Terraform, a tool that describes cloud resources in configuration files.

In plain words
What is it for?
Use it to plan or troubleshoot Google Cloud resources such as GKE, Cloud Run, Cloud SQL, landing zones, networks, IAM, and shared Terraform state.
Why use it?
It sets consistent rules for remote state, permissions, provider versions, validation, and repeatable infrastructure changes.

Skill for Claude CodeCodex

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

Part of the cicd plugin — 4 skills, 1 MCP server shipped together

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.

agentmods
npx agentmods add skills/gemini-cli-extensions/cicd/google-cicd-terraform
Any agent
npx skills add gemini-cli-extensions/cicd --skill google-cicd-terraform
Clone the repo
git clone --depth 1 https://github.com/gemini-cli-extensions/cicd

Made for: Claude Code, Codex.

Or install cicd, the plugin that ships this one along with the rest of its 4 skills, 1 MCP server.

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 google-cicd-terraform

README.md
[![agentmods](https://agentmods.dev/badge/skills/gemini-cli-extensions/cicd/google-cicd-terraform.svg)](https://agentmods.dev/skills/gemini-cli-extensions/cicd/google-cicd-terraform)
Your own site
<a href="https://agentmods.dev/skills/gemini-cli-extensions/cicd/google-cicd-terraform"><img src="https://agentmods.dev/badge/skills/gemini-cli-extensions/cicd/google-cicd-terraform.svg" alt="Measured on agentmods" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,848 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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.00083 $0.01848
Opus 5 $0.00042 $0.00924
Sonnet 5 $0.00017 $0.00370
Haiku 4.5 $0.00008 $0.00185

Measured 6d ago against content hash 674e7b83eac6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

google-cicd-terraform scanned grade A with 1 finding 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 6d ago.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s https://registry.terraform.io/v1/providers/hashicorp/google | jq -r .version
skills/google-cicd-terraform/SKILL.md · 195 lines

How it starts

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

Terraform GCP Skill

This skill provides expert-level guidance for architecting, deploying, and managing GCP infrastructure using Terraform.

🎯 When to Use This Skill

  • Designing GCP Landing Zones (Projects, Folders, Shared VPCs).
  • Provisioning Google Cloud resources (GKE, Cloud Run, Cloud SQL, Spanner).
  • Setting up remote state management via GCS Backend.
  • Implementing IAM least-privilege via Terraform.
  • Troubleshooting terraform plan discrepancies in GCP.

🏗️ Core Architecture: GCS Backend & State

Always use a GCS backend for state. Local state is strictly for local prototyping and must never be committed. If local state direcotry is used, add it to .gitignore.

Standard Backend Configuration

terraform {
  backend "gcs" {
    bucket  = "tf-state-${var.project_id}"
    prefix  = "terraform/state/${var.environment}"
  }
}

Note: The GCS bucket must have Object Versioning enabled to allow recovery from accidental state corruption or overlapping writes.

Required Provider Version

Use the Google Cloud Terraform provider version 7.20.0 or higher. This skill utilizes features (e.g., Developer Connect) introduced in Google Provider v7.20.0.

terraform {
  required_version = ">= 1.6.0"

  required_providers {
    google = {
      source  = "hashicorp/google"
      version = ">= 7.20.0" 
    }
  }
}

To retrieve the latest version of the Google provider, use the following command:

curl -s https://registry.terraform.io/v1/providers/hashicorp/google | jq -r .version

🛠️ Execution Protocol (Safety First)

The Agent must follow this lifecycle for every infrastructure change to ensure idempotency and prevent production outages:

  1. Initialize (terraform init):

    • Verify backend connectivity.

    • Ensure provider plugins are downloaded and versions are locked in .terraform.lock.hcl.

  2. Validate (terraform validate & tflint):

    • Check for internal HCL consistency.

    • Run tflint with the Google plugin to catch cloud-specific deprecated fields or non-optimal configurations.

Read the full file on GitHub · 195 lines

Files

What ships with it

6 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. 6d ago First seen · 195 lines · 83 tokens per session scan A 674e7b83eac6

Subscribe to this mod's changes

google-cicd-terraform is a skill published in the GitHub repository gemini-cli-extensions/cicd (50 stars, last pushed today), licensed Apache-2.0. It adds 83 tokens to every session and 1,848 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

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-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 disaster recovery setup or full cluster backups (use gke-backup-dr instead).

google/skills · 73 tokens

gke-workload-security

Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running cluster security audits (auditcluster.sh), configuring Workload Identity Federation (impersonation, KSA/GSA binding, and pod setup), enforcing Network Policies (default-deny…

google/skills · 181 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

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