Skip to content

Guide · Agent skill

How to use the Global Load Balancer Setup agent skill

Updated · written with AI from the project's own documentation and checked against our catalogue data

This guide explains the google-cloud-global-frontend-configuration agent skill, which lets an AI agent walk you through designing a Google Cloud global external Application Load Balancer with Cloud CDN, Cloud Armor and optional Service Extensions. It is written for people who have not used agent skills before. By the end you will know how to install the skill, how to ask for help with a natural request, and what the agent needs from your environment before it can deploy anything.

Global Load Balancer Setupgoogle/skills · Apache-2.0

Quick start

  1. 1Install the ZIP. Download the ZIP from this page and unzip it into ~/.claude/skills/, or into a project's .claude/skills/ folder.
  2. 2Confirm the skill loads. Check that the google-cloud-global-frontend-configuration folder with SKILL.md is in the skills location you chose.
  3. 3Make a natural request. Describe your goal, such as setting up a global external load balancer with Cloud CDN and Cloud Armor.
  4. 4Answer the discovery questions. Reply to each question in order, including project, origins, workload type, routing and logging.
  5. 5Review the recommended configuration. Check the caching and Cloud Armor recommendations the agent proposes based on your workload type.
  6. 6Generate or deploy. Ask for Terraform or gcloud output, and review it before any deployment touches real traffic.

What the skill makes the agent do

A global external Application Load Balancer sits in front of your websites or APIs and spreads traffic across backends. This skill guides the agent through a 6-step discovery process to design that setup, mapping your workload to opinionated best-practice configurations that use actual Google Cloud product names.

The agent asks questions one at a time: project and basics, origins (Cloud Storage buckets, Managed Instance Groups, GKE clusters, Cloud Run services, or external IP/FQDN origins), routing rules, traffic management, caching with Cloud CDN, and security with Cloud Armor. It then generates Terraform HCL or gcloud CLI scripts, and can help actuate deployments or check for configuration drift.

  • Caching is proposed from your workload type: static objects, cacheable API, uncacheable API or transactions, or dynamic web (SSR).
  • Security settings such as rate limiting and OWASP protection are also proposed from the workload type, with advanced options hidden unless you ask.
  • Drift detection uses Infrastructure Manager previews and presents a choice: reconcile to code, or backport manual changes into the Terraform code.

Install the skill from the ZIP

Download the ZIP file from this page and unzip it. To make the skill available to every project on your machine, unzip it into ~/.claude/skills/. To limit it to one project, unzip it into that project's .claude/skills/ folder.

You can also upload the skill in the Claude apps. Go to Settings, then Capabilities, then Skills, and upload the ZIP there. The skill package includes SKILL.md and a references/ folder with attribution.md, drift-detection.md, gcloud-generation.md, managed-deployment.md, resource-discovery.md, terraform-generation.md and terraform-module.md.

Trigger the skill with a natural request

You do not need a special command. The skill's description tells the agent when to use it, so describe what you are trying to do. Requests such as designing or deploying a global external Application Load Balancer, adding Cloud CDN or Cloud Armor, generating Terraform for a load balancer, or checking a deployed load balancer for drift should match.

Be specific about your goal and, if you have them, name the backends you already run. The agent will then discover existing resources where it can.

  • Example: Set up a global external load balancer in front of my Cloud Run service with Cloud CDN and Cloud Armor.
  • Example: Generate Terraform for a global load balancer that serves static images from a Cloud Storage bucket.
  • Example: Check my existing global load balancer for configuration drift and show me the differences.
  • Example: Help me add Cloud Armor rate limiting to my API load balancer.

What you need before you start

The skill is designed to run where the Google Cloud CLI (gcloud) can be executed. gcloud is needed for automated resource discovery and managed deployment. Without it, the skill only supports design and generating Terraform HCL.

You also need a Google Cloud project with permissions to read and change load balancing, IAM and related resources. For deployment you need Terraform or Infrastructure Manager. The skill says it can run gcloud commands and deploy resources, which affect real traffic and cost money.

  • Google Cloud CLI (gcloud) for discovery and deployment
  • A Google Cloud project with the required permissions
  • Terraform or Infrastructure Manager if you deploy through those tools

Safety notes: scripts and network access

This skill runs scripts and uses the network. Before any gcloud, REST API or MCP command, the agent is required to read the attribution reference. Terminal gcloud commands are prefixed with a CLOUDSDK_METRICS_REQUEST_ATTRIBUTION variable that identifies the skill and does not carry user data, and the source says gcloud config set should not be used for this.

Drift detection is designed to be safe: the skill's guidance says never to modify production infrastructure directly during drift detection and to generate a preview first. Still, review generated scripts and Terraform before running them against production, because deployments change live traffic.

  • Generated scripts and Terraform should be reviewed before they touch production.
  • The skill excludes non-Google Cloud load balancers and purely regional or internal load balancers unless they are part of a global failover design.
  • The full content of the reference files was not included in the source, so their exact behaviour is only partly verified.

Tips for getting good results

Answer each question in the order the agent asks it. The flow is deliberately sequential, and the agent waits for your response before moving on. If you want control over caching or security details, say so explicitly, because advanced settings stay hidden by default.

Start with a design or Terraform generation request if you lack gcloud access or are not ready to deploy.

  • Name your origin types clearly so the agent can discover matching resources.
  • Choose the workload type carefully, since it drives both caching and security defaults.
  • Ask for a drift check on an existing load balancer before changing it by hand.

What people use it for

  • Putting a Cloud Run service behind a global external load balancer with Cloud CDN caching.
  • Serving static images or videos from a Cloud Storage bucket with long-lived caching.
  • Adding Cloud Armor OWASP protection and rate limiting to an API load balancer.
  • Generating Terraform HCL to review and version-control a load balancer design.
  • Checking a deployed load balancer for drift from its intended configuration.

Frequently asked questions

How do I install the Google Cloud load balancer agent skill?

Download the ZIP from this page and unzip it into ~/.claude/skills/ for all projects, or into a project's .claude/skills/ folder for one project. You can also upload the ZIP in the Claude apps under Settings, then Capabilities, then Skills.

Do I need the gcloud CLI to use this skill?

Not for design. The source says gcloud is needed for automated resource discovery and managed deployment. Without it, the skill limits itself to guiding the design and generating Terraform HCL.

Is the Google Cloud load balancer skill free?

The source lists the licence as Apache-2.0. It does not state pricing for the skill. Note that the Google Cloud resources it creates are billed by Google Cloud.

Can this skill deploy to production?

The skill can run gcloud commands and deploy resources, so it can affect live traffic and cost. The source warns against live production changes made without review, so check generated code before deploying.

What should I use instead for non-Google Cloud load balancers?

The skill does not cover non-Google Cloud load balancing or security setups, and it excludes purely regional or internal load balancers unless they are part of a global failover design. For those cases, use a tool built for that provider or setup.

Why does the agent ask so many questions?

The skill uses a strictly sequential discovery flow and says all steps are mandatory, so it asks one question at a time. Your workload type drives the caching and security defaults.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

This skill suits engineers and teams who need a Google Cloud global external Application Load Balancer with Cloud CDN and Cloud Armor, and who want Terraform or gcloud code produced through guided questions. It is less suitable if you need non-Google Cloud, regional or internal load balancers, or if you want to make changes to production without reviewing what the agent generates.

Download the skill