/skills:gcloud-clifrom skills
Guidance for using the gcloud CLI to authenticate and inspect Google Cloud resources (projects, Compute, GKE, logs, storage, BigQuery). Use when the user asks to check, list, or inspect anything in Google Cloud, mentions GCP/gcloud/gsutil/bq, or hits auth/project-selection issues.
Ships in skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The user works across multiple GCP projects. Always confirm or set the active project before running read commands, and prefer --project=PROJECT_ID on one-off commands over relying on the active config.
If the user asks you to run a gcloud command yourself and auth is missing or stale, do not try to log in for them — gcloud auth login is interactive. Suggest they run it via the ! <command> prefix in the prompt so output lands in this session.
# Interactive login (user must run this themselves)
gcloud auth login # human/CLI auth
gcloud auth application-default login # for SDKs/libraries that use ADC
# See current state
gcloud auth list # active account
gcloud config list # active project, region, etc.
# Switch project for the active config
gcloud config set project PROJECT_ID
# Named configurations (cleanest way to juggle multiple projects)
gcloud config configurations list
gcloud config configurations create work-a
gcloud config configurations activate work-a
For a single command against a different project, pass --project=PROJECT_ID instead of switching configs.
# VMs
gcloud compute instances list --project=PROJECT_ID
gcloud compute instances describe NAME --zone=ZONE
gcloud compute ssh NAME --zone=ZONE
# GKE clusters
gcloud container clusters list --project=PROJECT_ID
gcloud container clusters get-credentials CLUSTER --region=REGION # writes kubectl context
kubectl config current-context # verify which cluster kubectl now points at
# Tail recent logs (most useful default)
gcloud logging read 'severity>=ERROR' --limit=50 --freshness=1h --project=PROJECT_ID
# Filter by resource (e.g. a Cloud Run service or GKE container)
gcloud logging read 'resource.type="cloud_run_revision" AND resource.labels.service_name="SVC"' \
--limit=50 --format=json
# List available log names in a project
gcloud logging logs list --project=PROJECT_ID
Filters use the Logging query language. When in doubt, start with severity>=WARNING and a tight --freshness.
# Cloud Storage (gcloud storage is the modern replacement for gsutil)
gcloud storage ls gs://BUCKET/
gcloud storage cat gs://BUCKET/path/file.json
gcloud storage du -s gs://BUCKET/prefix/ # size of a prefix
# BigQuery
bq ls --project_id=PROJECT_ID # datasets
bq ls PROJECT_ID:DATASET # tables
bq show --schema --format=prettyjson PROJECT_ID:DATASET.TABLE
bq query --use_legacy_sql=false --project_id=PROJECT_ID \
'SELECT COUNT(*) FROM `PROJECT_ID.DATASET.TABLE` WHERE _PARTITIONDATE = CURRENT_DATE()'
For ad-hoc BQ queries, always include a partition/date filter on large tables — unbounded scans are slow and expensive.
Reauthentication required → user runs gcloud auth login (interactive).The project property is not set → gcloud config set project PROJECT_ID or pass --project=.Permission denied on a resource → check gcloud auth list is the expected account; the wrong identity is the usual cause before IAM.gcloud auth application-default login.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (jvcorredor/skills) — no native marketplace selected
npx claudepluginhub p/jvcorredor-skills13 skills in this plugin
/better-sqlite3-rebuildUse when seeing errors about better-sqlite3 native module, NODE_MODULE_VERSION mismatch, "was compiled against a different Node.js version", or similar native binding errors./c-modelC4 architecture model and diagrams (context, container, component, code, deployment, sequence/dynamic) for any repo or named system, kept as one Structurizr workspace grounded in the code and rendered to SVG via C4-PlantUML. Use when the user asks for a model, a diagram, the architecture, a C1/C2/C3/C4 or L1-L4 level diagram of something (including "holistically"), a C4 view, a sequence diagram of a flow, how something works end to end, or what X looks like; or types /c-model./drive-prdDrive a PRD's tickets under a WIP cap through implementer, independent review, fixes, a head-pinned verdict, CI, and merge, parking human-only work, until no agent-ready ticket remains./explainerGenerates a self-contained interactive HTML explainer for complex topics in a dark GitHub-inspired theme with Mermaid diagrams, before/after toggles, pipeline cards, timelines, risk tables, and decision checklists. Picks from four variant templates — PRs (code changes), issues/stories/epics (work items), concepts/frameworks/ADRs (ideas to evaluate), research/claims (evidence to evaluate) — each with its own narrative spine ending in an actionable decision checklist. Use when the user asks for a visual explainer, asks to "help me understand" something complex, wants an HTML write-up of a PR/issue/paper, asks for an interactive walkthrough, or invokes /explainer. Saves to /tmp/ by default./go-toolUse when working with Go projects - building, testing, profiling, debugging, or setting up new Go modules. Triggers on "go test", "go build", "coverage", "pprof", "benchmark", or Go project questions./guided-implementationPair-programming mode that builds a task in small approved units, explains each design decision, and gates every unit twice: approve the work, then accept the result. Use when the user says "implement this with me", "guided implementation", "pair with me on this issue", "teach me while implementing", or invokes /guided-implementation. Plain "implement X" requests and explaining an existing diff belong elsewhere.