Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
oimiragieo avatar

Gcloud Cli

  • 1k installs
  • 36 repo stars
  • Updated July 14, 2026
  • oimiragieo/agent-studio

gcloud-cli is a Claude skill from oimiragieo/agent-studio that runs Google Cloud CLI commands directly from a coding agent with post-execute hook processing for cleanup and logging.

About

gcloud-cli is an oimiragieo/agent-studio skill that invokes the Google Cloud CLI from within a coding agent session without leaving the IDE. The skill disables model invocation for direct command execution and includes a Node.js post-execute hook for cleanup, logging, and follow-up actions after each gcloud run. Platform engineers reach for gcloud-cli when provisioning GCP resources, inspecting cloud state, or running deployment commands through an agent workflow. The post-execute processor logs GCLOUD-CLI results and supports extensible post-processing logic for automated cloud operations.

  • Executes any gcloud command through a secure agent interface
  • Includes pre-execute validation and post-execute processing hooks
  • Provides structured JSON input/output handling for agent workflows
  • Designed as a reusable MCP-style skill for Google Cloud operations

Gcloud Cli by the numbers

  • 1,005 all-time installs (skills.sh)
  • +1 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #314 of 1,039 Cloud & Infrastructure skills by installs in the Skillselion catalog
  • Security screen: CRITICAL risk (skills.sh audit)
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/oimiragieo/agent-studio --skill gcloud-cli

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1k
repo stars36
Security audit2 / 3 scanners passed
Last updatedJuly 14, 2026
Repositoryoimiragieo/agent-studio

How do you run gcloud commands from an agent?

Run Google Cloud CLI commands directly from their coding agent without leaving the IDE.

Who is it for?

Developers managing Google Cloud infrastructure who want gcloud commands executed directly from their coding agent.

Skip if: Teams on AWS or Azure-only infrastructure or developers who prefer the GCP Console over CLI-based agent workflows.

When should I use this skill?

The user needs to run gcloud commands, manage GCP resources, or execute Google Cloud CLI operations from the agent.

What you get

Executed gcloud command output, post-execute processing logs, and GCP resource state changes

  • gcloud command results
  • Post-execute processing logs

Files

SKILL.mdMarkdownGitHub ↗

Google Cloud CLI Skill

Installation

The skill invokes the gcloud CLI. Install and initialize:

  • Linux/macOS: curl https://sdk.cloud.google.com | bash then restart shell and run gcloud init
  • Windows: Download Google Cloud SDK installer or use PowerShell to download and run

Verify: gcloud --version. Configure: gcloud init

Cheat Sheet & Best Practices

Config: gcloud config set project <id>; gcloud config list; gcloud config configurations create/activate <name> — switch projects.

Auth: gcloud auth login; use --impersonate-service-account for SA; --access-token-file for CI.

Hacks: Use --format="table(name,zone,status)" or --format=json + jq to cut output. Use --flags-file=file.yaml for long or repeated flags. Use named configurations for dev/staging/prod. Run gcloud components update periodically.

Certifications & Training

Free: Google Cloud Learn and Google Skills — Innovators Program (35 credits/month). Certs: Cloud Digital Leader, Cloud Engineer (associate), Cloud Architect/DevOps (professional). Skill data: Config, auth, compute/storage/IAM; no exposed service-account keys.

Hooks & Workflows

Suggested hooks: Pre-deploy: gcloud config get-value project. Use when devops is routed for GCP tasks (contextual: gcp_project).

Workflows: Use with devops (contextual: gcp_project). Flow: detect GCP → load gcloud-cli → run CLI via skill script.

Overview

Google Cloud Platform CLI operations. 90%+ context savings.

Requirements

  • gcloud CLI installed
  • GOOGLE_PROJECT_ID environment variable
  • Authenticated via gcloud auth

Tools (Progressive Disclosure)

Compute

ToolDescriptionConfirmation
instances-listList VM instancesNo
instances-createCreate VMYes
instances-deleteDelete VMREQUIRED

Storage

ToolDescriptionConfirmation
storage-lsList buckets/objectsNo
storage-cpCopy objectsYes
storage-rmDelete objectsYes

IAM

ToolDescription
iam-listList IAM policies
service-accountsList service accounts

Logging

ToolDescription
logs-readRead logs
logs-tailTail logs in real-time

BLOCKED

ToolStatus
projects deleteBLOCKED
iam-policy deleteBLOCKED

Agent Integration

  • devops (primary): Cloud operations
  • gcp-cloud-agent (primary): GCP specific
  • cloud-integrator (secondary): Multi-cloud

Security

⚠️ Never expose service account keys ⚠️ Resource deletion requires confirmation

Memory Protocol (MANDATORY)

Before starting: Read .claude/context/memory/learnings.md

After completing:

  • New pattern -> .claude/context/memory/learnings.md
  • Issue found -> .claude/context/memory/issues.md
  • Decision made -> .claude/context/memory/decisions.md
ASSUME INTERRUPTION: If it's not in memory, it didn't happen.

Related skills

How it compares

Pick this skill when you need agent-driven gcloud execution with post-run hooks rather than manual terminal sessions.

FAQ

What does the gcloud-cli skill execute?

The gcloud-cli skill from oimiragieo/agent-studio runs Google Cloud CLI commands directly from a coding agent and processes results through a Node.js post-execute hook for logging and cleanup.

Does gcloud-cli use model invocation?

The gcloud-cli skill sets disable-model-invocation to true, executing gcloud commands directly rather than routing them through additional model interpretation layers.

Is Gcloud Cli safe to install?

skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.