Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

gcloud

Skill by google

gcloud is an agent skill that adds validation, guardrails, and data reduction for Google Cloud CLI commands. It is for AI agents that plan, propose, or run gcloud commands across GCP services.

  • Score 94
  • 25k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install gcloud

Built from the published package, never by AI.

git clone --depth 1 https://github.com/google/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/cloud/gcloud ~/.claude/skills/gcloud

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install gcloud in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The gcloud skill gives AI agents guardrails for Google Cloud CLI operations. It requires agents to check leaf-level command syntax with gcloud help before proposing or running a command, so they avoid hallucinated flags and values. It also requires list commands to use --limit, --filter, or --format to reduce returned data, and it asks for explicit project and location flags.

The skill sets execution rules. Agents run one command at a time, with no pipes, redirection, or command substitution, and they pass --quiet on execution commands so headless runs do not hang. A denylist blocks autonomous IAM changes, API enabling, CLI installation, delete commands, billing commands, and organization commands. The skill is meant for agents working with gcloud, not for writing client library code or raw REST or gRPC requests.

Written from the project's SKILL.md and checked against it.

What it can do

  • Syntax validationRequires running gcloud help on the exact leaf command before proposing or executing it.
  • Data reductionRequires --limit, --filter, or --format on every list command to reduce returned data.
  • Project and location scopingRequires --project and explicit region, zone, or location flags to avoid prompts and wrong targets.
  • Execution constraintsLimits agents to one command at a time, with no pipes, redirection, or command substitution.
  • Non-interactive executionRequires the --quiet flag on execution commands so headless runs do not wait for input.
  • Dry-run planningPlans include a --dry-run or --validate-only step where the command supports it.
  • Prohibited operations denylistBlocks autonomous IAM changes, API enabling, CLI installs, deletes, billing, and organization commands.
  • Usage attributionSets an attribution tag for gcloud, REST API, and MCP commands run by the agent.

What you need

  • Google Cloud CLI (gcloud) available to the agent
  • A Google Cloud project to target
  • Remote Cloud CLI MCP server, if using the MCP mode

Try asking

  • Help me list Compute Engine instances in my-project with --limit=5 and --format.
  • Plan how to create a Cloud SQL instance, starting with gcloud help for the command.
  • Check the gcloud syntax for filtering Cloud Run services by region before running it.

Good to know

  • Does not apply to writing Google Cloud client library code or raw REST or gRPC requests.
  • Web search for gcloud syntax is forbidden. gcloud help is the only syntax authority.
  • Destructive and denylisted actions need explicit user authorization.
  • When told not to run commands, agents read bundled reference files instead.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/cloud/gcloud/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md15 KB
  • references/attribution.md2 KB
  • references/cli-usage.md5 KB
  • references/mcp-usage.md8 KB

Alternatives to gcloud

All alternatives →
deploy-release-testvercel
94

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.

AAA Skill 144k
deepeval-tracingconfident-ai
94

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.

AAA Skill 20k
azure-container-registry-cligithub
94

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.

AAA Skill 42k
crabbox-appsopenclaw
94

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.

AAA Skill 395k
gke-batch-hpcgoogle
94

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.

AAA Skill 25k
gke-cost-analysisgoogle
94

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.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

gcloud: common questions

Does this skill run gcloud commands by itself?

It sets rules an agent must follow when planning, proposing, or executing gcloud commands. The source describes direct CLI execution and MCP as the two execution modes.

Which gcloud commands need user approval?

Any IAM policy or binding change, API enabling, gcloud CLI installation, delete commands, billing commands, and organization commands are on the denylist. They need explicit user authorization.

Why must gcloud list commands include a limit or filter?

The skill says unconstrained lists can exhaust the context window with redundant data. List commands therefore need --limit, --filter, or --format.

How do I install gcloud?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is gcloud free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is gcloud safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to gcloud?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

gcloud Install

Add to stack

Loading.