Overview: Before starting the translation, ensure your Google Cloud environment is properly configured with the Google Cloud SDK, authentication, project configuration, billing account, and required APIs enabled. Additionally, every translated file must start with the exact header: `# Copyright 2026 Google. This software is provided as-is, without warranty or representation for any use or purpose. Your use of it is subject to your agreement with Google.`
Overview: Before executing any command, ensure the user has installed and configured the gcloud CLI (version >= 480.0.0) or has the Compute Engine MCP server configured. Always ask for the four required inputs: project_id, vm_name, region/zone, and public vs. private networking in the first response.
Overview: Before executing any command, ensure the project has an active billing account and the Compute Engine API is enabled. Use `gcloud beta compute advice capacity` with `--provisioning-model=SPOT` and specify `--project` and `--region` explicitly to avoid overwriting global settings.
Overview: Before executing any `gcloud`, REST API, or MCP command, you MUST read [Usage Attribution](references/attribution.md). For commands executed directly in the terminal, prefix `gcloud` with `CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:cloud-run-basics)"` and append `agent-skills/1.0 (skill:cloud-run-basics)` to `User-Agent` headers. Any deployed code MUST listen on 0.0.0.0 and use the injected $PORT environment variable (defaults to 8080), or it will crash on boot.
Overview: Before executing any `gcloud` or REST API commands, prefix `gcloud` with `CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:cloud-run-alert-configuration)"` and append `agent-skills/1.0 (skill:cloud-run-alert-configuration)` to `User-Agent` headers. Ensure the `user_labels` block is included with `created-with-google-skill = "cloud-run-alert-configuration"`.
Overview: Before using the Cloud Operator Agent, ensure you have a valid GCP project specified. If the user has not already set up a Cloud Operator project, you may need to use the `cloud-operator-setup` skill to create one. Also, redact any sensitive information such as credentials or API keys before sending data to the agent.
Overview: Before executing any `gcloud`, REST API, or MCP command, you MUST read and follow the instructions in [Usage Attribution](references/attribution.md).
Overview: Before executing any `gcloud`, REST API, or MCP command, you MUST read and follow the instructions in [Usage Attribution](references/attribution.md).
Overview: Before executing any command, ensure the GCP Project ID is provided and verify that the MCP server configuration points to `https://monitoring.googleapis.com/mcp`. If the `list_metric_descriptors` tool is missing, update the MCP configuration file by merging the provided JSON object without overwriting existing settings.
Overview: Before generating or executing `ListTimeSeries` requests, ensure the GCP Project ID is explicitly provided in the user prompt, input payload, or environment context. If missing, ask the user to clarify it. Do not use placeholders for project names. For metrics like `agent.googleapis.com/memory/percent_used` and `agent.googleapis.com/disk/percent_used`, use `metric.labels.state != "free"` in the filter.
Overview: Before executing any `gcloud`, REST API, or MCP command, you must read [Usage Attribution](references/attribution.md). For terminal commands, prefix `gcloud` with `CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:cloud-monitoring-chart-generation)"` and append `agent-skills/1.0 (skill:cloud-monitoring-chart-generation)` to `User-Agent` headers. Install dependencies using `pip install -r scripts/requirements.txt`.
Overview: Before executing any `gcloud` commands, prefix them with `CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:cloud-logging-cross-project-configuration)"` and append `agent-skills/1.0 (skill:cloud-logging-cross-project-configuration)` to User-Agent headers. Additionally, ensure that any commands involving IAM permissions are explicitly confirmed by the user.