From gcloud-tools
Provides GCP observability best practices: structured JSON logging, query filters, metrics/logs/traces guidance, alert policies, and log cost optimization.
How this skill is triggered — by the user, by Claude, or both
Slash command
/gcloud-tools:gcloud-usageThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use structured JSON logging for better queryability:
Use structured JSON logging for better queryability:
{
"severity": "ERROR",
"message": "Payment failed",
"httpRequest": { "requestMethod": "POST", "requestUrl": "/api/payment" },
"labels": { "user_id": "123", "transaction_id": "abc" },
"timestamp": "2025-01-15T10:30:00Z"
}
Use appropriate severity for filtering:
# By severity
severity >= WARNING
# By resource
resource.type="cloud_run_revision"
resource.labels.service_name="my-service"
# By time
timestamp >= "2025-01-15T00:00:00Z"
# By text content
textPayload =~ "error.*timeout"
# By JSON field
jsonPayload.user_id = "123"
# Combined
severity >= ERROR AND resource.labels.service_name="api"
# Regex matching
textPayload =~ "status=[45][0-9]{2}"
# Substring search
textPayload : "connection refused"
# Multiple values
severity = (ERROR OR CRITICAL)
Metrics: Aggregated numeric data over time
Logs: Detailed event records
Traces: Request flow across services
Error rate:
Latency:
Resource exhaustion:
# Exclude health checks
resource.type="cloud_run_revision" AND httpRequest.requestUrl="/health"
# Exclude debug logs in production
severity = DEBUG
npx claudepluginhub fcakyon/claude-codex-settings --plugin gcloud-toolsAnalyzes Google Cloud Logging and Error Reporting exports, converting large JSON logs to Apache format for token-efficient LLM processing.
Provides observability patterns for metrics, logging, tracing, alerting, dashboards, and infrastructure monitoring in production systems with Prometheus, Grafana, OpenTelemetry.
Creates a complete monitoring setup guide covering golden signals, alerts, dashboards, logs, and tracing. Use when asked to set up monitoring or define alerting strategy.