gcloud
Google Cloud Platform CLI - manage GCP resources. Use when working with Compute Engine, Cloud Run, GKE, Cloud Functions, Storage, BigQuery, or other GCP services.
What this skill does
<!-- TOC: Quick Start | THE EXACT PROMPT | Services | Output Formatting | AGENTS.md Blurb | When to Use | References --> # GCloud CLI > **Core Capability:** Manage Google Cloud Platform resources and services from the command line. ## Quick Start ```bash # Install curl https://sdk.cloud.google.com | bash exec -l $SHELL # Verify gcloud version # Check auth gcloud auth list # Set project gcloud config set project PROJECT_ID # Show current config gcloud config list ``` --- ## THE EXACT PROMPT — Auth & Config ``` # Login interactively gcloud auth login # Service account auth gcloud auth activate-service-account --key-file=key.json # Application default credentials gcloud auth application-default login # Set project gcloud config set project PROJECT_ID # Set region/zone gcloud config set compute/region us-central1 gcloud config set compute/zone us-central1-a # Named configurations gcloud config configurations create my-config gcloud config configurations activate my-config ``` --- ## THE EXACT PROMPT — Compute Engine ``` # List VMs gcloud compute instances list # Create VM gcloud compute instances create my-vm \ --zone=us-central1-a \ --machine-type=e2-medium \ --image-family=debian-12 \ --image-project=debian-cloud # SSH to VM gcloud compute ssh my-vm --zone=us-central1-a # Stop/start gcloud compute instances stop my-vm --zone=us-central1-a gcloud compute instances start my-vm --zone=us-central1-a ``` --- ## THE EXACT PROMPT — Cloud Run ``` # List services gcloud run services list # Deploy from source gcloud run deploy my-service --source . --region=us-central1 # Deploy container gcloud run deploy my-service \ --image=gcr.io/PROJECT/IMAGE \ --region=us-central1 \ --allow-unauthenticated # View logs gcloud run services logs read my-service --region=us-central1 ``` --- ## THE EXACT PROMPT — Cloud Storage ``` # List buckets gcloud storage buckets list # Create bucket gcloud storage buckets create gs://my-bucket --location=us-central1 # Upload/download gcloud storage cp local-file.txt gs://my-bucket/ gcloud storage cp gs://my-bucket/file.txt ./ # Sync directory gcloud storage rsync -r ./local-dir gs://my-bucket/remote-dir ``` --- ## Essential Commands | Service | List | Create | Delete | |---------|------|--------|--------| | Compute | `gcloud compute instances list` | `gcloud compute instances create` | `gcloud compute instances delete` | | Cloud Run | `gcloud run services list` | `gcloud run deploy` | `gcloud run services delete` | | Functions | `gcloud functions list` | `gcloud functions deploy` | `gcloud functions delete` | | GKE | `gcloud container clusters list` | `gcloud container clusters create` | `gcloud container clusters delete` | | Storage | `gcloud storage buckets list` | `gcloud storage buckets create` | `gcloud storage rm` | --- ## Output Formatting ```bash # JSON output gcloud compute instances list --format=json # Table with specific columns gcloud compute instances list --format="table(name,zone,status)" # Filter results gcloud compute instances list --filter="status=RUNNING" # Quiet mode (no prompts) gcloud compute instances delete my-vm --quiet ``` --- ## Quick Reference ```bash gcloud cheat-sheet # Built-in cheat sheet gcloud interactive # Interactive shell gcloud --help # General help gcloud compute --help # Service-specific help ``` --- ## AGENTS.md Blurb Copy this to your project's AGENTS.md: ```markdown ### Google Cloud CLI (gcloud) `gcloud` is installed and authenticated. Auth: \`\`\`bash gcloud auth login gcloud auth application-default login # For API libraries \`\`\` Project: \`\`\`bash gcloud config set project <PROJECT_ID> \`\`\` Enable APIs: \`\`\`bash gcloud services enable aiplatform.googleapis.com gcloud services enable analyticsdata.googleapis.com \`\`\` Useful commands: \`\`\`bash gcloud projects list gcloud services list --enabled gcloud beta billing accounts list \`\`\` ``` --- ## When to Use - Enabling APIs for Gemini, Vertex AI, or other Google services - Managing billing and cost alerts - Creating service accounts for CI/CD - Deploying containers to Cloud Run - Managing GKE clusters --- ## References | Topic | Reference | |-------|-----------| | All services | [SERVICES.md](references/SERVICES.md) | | IAM & Security | [IAM.md](references/IAM.md) |
Related in Cloud & DevOps
appbuilder-action-scaffolder
IncludedCreate, implement, deploy, and debug Adobe Runtime actions with consistent layout, validation, and error handling. Use this skill whenever the user needs to add actions to an App Builder project, understand action structure (params, response format, web/raw actions), configure actions in the manifest, use App Builder SDKs (State, Files, Events, database), deploy and invoke actions via CLI, debug action issues, or implement patterns such as webhook receivers, custom event providers, journaling consumers, large payload redirects, action sequence pipelines, and Asset Compute workers. Also trigger when users mention serverless functions in Adobe context, action logging, IMS authentication for actions, or cron-style scheduled actions.
orchestrating-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. Use this skill when the user needs a multi-step Data Cloud pipeline, cross-phase troubleshooting, or data space and data kit management. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase sf data360 workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching phase-specific skill), the task is STDM/session tracing/parquet telemetry (use observing-agentforce), standard CRM SOQL (use querying-soql), or Apex implementation (use generating-apex).
github-project-automation
IncludedAutomate GitHub repository setup with CI/CD workflows, issue templates, Dependabot, and CodeQL security scanning. Includes 12 production-tested workflows and prevents 18 errors: YAML syntax, action pinning, and configuration. Use when: setting up GitHub Actions CI/CD, creating issue/PR templates, enabling Dependabot or CodeQL scanning, deploying to Cloudflare Workers, implementing matrix testing, or troubleshooting YAML indentation, action version pinning, secrets syntax, runner versions, or CodeQL configuration. Keywords: github actions, github workflow, ci/cd, issue templates, pull request templates, dependabot, codeql, security scanning, yaml syntax, github automation, repository setup, workflow templates, github actions matrix, secrets management, branch protection, codeowners, github projects, continuous integration, continuous deployment, workflow syntax error, action version pinning, runner version, github context, yaml indentation error
sf-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase `sf data360` workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching sf-datacloud-* skill), the task is STDM/session tracing/parquet telemetry (use sf-ai-agentforce-observability), standard CRM SOQL (use sf-soql), or Apex implementation (use sf-apex).
fabric-cli
IncludedUse this skill for Fabric.so CLI workflows with the `fabric` terminal command: diagnose/install/login, search or browse a Fabric library, save notes/links/files, create folders, ask the Fabric AI assistant, manage tasks/workspaces, generate shell completion, check subscription usage, produce JSON output, and use Fabric as persistent agent memory. Do not use for Microsoft Fabric/Azure/Power BI `fab`, Daniel Miessler's Fabric framework, Python Fabric SSH, Fabric.js, or textile/fashion fabric.
lark
IncludedLark/Feishu CLI skills: lark-cli operations for docs, markdown, sheets, base, calendar, im, mail, task, okr, drive, wiki, slides, whiteboard, apps, approval, attendance, contact, vc, minutes, event. Use when the user needs to operate Lark/Feishu resources via lark-cli, send messages, manage documents, spreadsheets, calendars, tasks, OKRs, deploy web pages, or any Feishu/Lark workspace operations.