gcp-cli

Inspect and operate Google Cloud resources using the gcloud CLI with project-aware configuration.

Updated May 6, 2026
One-click install
npx skills add https://github.com/UnionStreetAI/unionstreet --skill gcp-cli-unionstreetai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gcp-cli
Source: https://github.com/UnionStreetAI/unionstreet/tree/main/plugins/gcp/skills/gcp-cli
Command: npx skills add https://github.com/UnionStreetAI/unionstreet --skill gcp-cli-unionstreetai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Managing Google Cloud resources from the command line requires consistent awareness of the active account, project, and region, and mistakes in ambient configuration can lead to operations against the wrong environment. This Skill provides a disciplined workflow for using the gcloud CLI safely, covering authentication checks, project pinning, and common inspection commands. ## Core Features & Use Cases - Environment Verification: Check gcloud version, authenticated accounts, and active project configuration before running any operation. - Resource Inspection: List projects, read error logs, describe Cloud Run services, review builds, and browse Cloud Storage buckets. - Safe Operations Guardrails: Enforce explicit --project and --region flags, require confirmation before IAM, billing, networking, database, or production mutations, and never expose service account keys. - Use Case: A developer debugging a failing deployment can verify the active account and project, list Cloud Run services in the target region, and read the last 20 error-level log entries to diagnose the issue. ## Quick Start Use the gcloud CLI to check my active account and project, then list my Cloud Run services and read the most recent error logs.

Frequently Asked Questions about gcp-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check which gcloud account and project are active?▼

Run gcloud auth list to see authenticated accounts and gcloud config get-value project to see the active project. The gcloud config list command shows the full current configuration including region settings.

How to read error logs from Google Cloud with gcloud?▼

Use gcloud logging read with a severity filter such as 'severity>=ERROR' and a --limit flag to cap results. Always specify --project explicitly so logs are read from the intended project rather than ambient configuration.

How do I list and describe Cloud Run services with gcloud?▼

Run gcloud run services list to see all services, then gcloud run services describe <service> --region <region> for details. Passing --region explicitly avoids assumptions from ambient configuration.

When should I ask for confirmation before running gcloud commands?▼

Always confirm before IAM changes, billing operations, networking modifications, database changes, or any production mutations. Read-only inspection commands like listing projects, services, builds, and logs are safe to run directly.

Is it safe to print service account keys with gcloud?▼

No. Never print service account keys or credential files in output. This Skill explicitly prohibits exposing credentials to prevent accidental leakage of sensitive authentication material.