gcloud for Openclaw

Manage Google Cloud Platform infrastructure and services directly through your AI agent using the gcloud, gsutil, and firebase command-line interfaces.

jortega0033
v1.0.1
Jan 30, 2026
2
5.8k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install gcloud

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install gcloud using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is gcloud?

The gcloud skill for Openclaw Skills empowers developers to interact with the full suite of Google Cloud Platform (GCP) services without leaving their terminal or agent interface. By wrapping the gcloud, gsutil, and firebase CLIs, this skill enables seamless management of virtual machines, containerized services, static hosting, and cloud databases. It bridges the gap between local development and cloud infrastructure, providing a unified interface for complex cloud operations.

Integrating this capability into Openclaw Skills allows for automated deployments, real-time monitoring, and proactive resource management. Whether you are scaling Cloud Run services, securing secrets, or auditing billing data, this skill provides the high-level abstractions and direct CLI access required for modern DevOps workflows. It is an essential component for teams looking to leverage AI agents for infrastructure as code and cloud governance.

gcloud Use Cases

  • Deploying containerized applications to Cloud Run from source or existing images.
  • Managing Compute Engine virtual machines, including SSH access, restarts, and log tailing.
  • Orchestrating Firebase Hosting deployments and preview channel management.
  • Automating Cloud Storage bucket operations and data synchronization across environments.
  • Implementing security best practices via Secret Manager and Artifact Registry for container management.
  • Monitoring infrastructure health and managing cloud spend through budget alerts and idle resource detection.

How gcloud Works

  1. Initialize the environment by installing the Google Cloud CLI and Firebase tools to enable core functionality.
  2. Authenticate the session using gcloud auth login to establish a secure connection between Openclaw Skills and GCP.
  3. Configure the active project and account settings to ensure commands are executed within the correct environment context.
  4. Execute high-level resource management commands, such as starting instances or deploying services, through the agent interface.
  5. Retrieve real-time feedback, logs, and monitoring metrics to validate the success of cloud operations and troubleshoot errors.

gcloud Setup

gcloud CLI Setup

# Download and extract the SDK
cd ~ && curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-linux-x86_64.tar.gz
tar -xzf google-cloud-cli-linux-x86_64.tar.gz

# Install and update path
./google-cloud-sdk/install.sh --quiet --path-update true
source ~/.bashrc

# Authenticate your account
gcloud auth login

Firebase CLI Setup

npm install -g firebase-tools
firebase login

gcloud Data Schema & Taxonomy

The skill organizes GCP metadata and resource state through various CLI outputs, often formatted as tables or JSON for the agent to parse.

Resource Type Management CLI Primary Metadata Managed
Compute Engine gcloud compute Instance status, NAT IPs, Zone, Machine Tier
Cloud Run gcloud run Revisions, Traffic Split, Environment Vars, Service URLs
Cloud Storage gsutil Bucket ACLs, Object URI, Sync Status
Firebase firebase Hosting Channels, Release Versions, Site Names
Secrets gcloud secrets Version IDs, Payload content, IAM Bindings
SQL gcloud sql Instance Connection Names, DB Versions, Backup IDs

gcloud Advanced Features

  • Traffic Splitting: Manage canary deployments on Cloud Run with precise percentage-based traffic routing between revisions.
  • Cost Optimization: Utilize the Recommender API to identify idle resources and automate the creation of budget alerts via the Openclaw Skills interface.
  • Integrated Secrets: Seamlessly inject Secret Manager values into Cloud Run environments or mount them as files during deployment.
  • Serverless Builds: Utilize Cloud Build through the gcloud skill to create container images without requiring a local Docker daemon.
  • Database Orchestration: Provision and manage Cloud SQL instances, create database users, and restore from backups directly via CLI commands.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*