Investigates Google Cloud networking issues by analyzing GCP logs, metrics, and diagnostics. Use when investigating dropped network traffic, packet drops, drop reasons, VPC Flow Logs (including Private Service Connect / PSC, serverless / App Engine Direct VPC, and cost estimation), Cloud NAT, firewall or threat logs, VPN metrics/tunnels, or Connectivity Tests for path diagnostics. Don't use for generic VM management or non-observability tasks.
Written by Google and published in google/skills under the Apache-2.0 license. Treq shows it unchanged except for heading levels and links to files on GitHub.
MUST READ: Before executing any gcloud, REST API, or MCP command, you
MUST read and follow the instructions in
Usage Attribution.
0, null, or "No traffic"), present it
and stop immediately. Never query a second source (e.g., comparing BigQuery
and Monitoring) to double-check a conclusive answer.gcloud auth login or
GOOGLE_APPLICATION_CREDENTIALS, gcloud config set project {project_id},
default region e.g. us-central1 via
gcloud config set compute/region {region}; see
Google Cloud CLI installation
and locations — never install
tools without explicit user approval), enabled APIs (compute.googleapis.com,
logging.googleapis.com, monitoring.googleapis.com,
bigquery.googleapis.com, networkmanagement.googleapis.com), and read roles
(roles/compute.networkViewer, roles/logging.viewer,
roles/monitoring.viewer, roles/bigquery.jobUser,
roles/bigquery.dataViewer, or roles/networkmanagement.admin for
Connectivity Tests)._AllLogs) over Cloud Logging for volume trends, top talkers, or
aggregations. Never manually aggregate time-series points via the Monitoring
API for Top-N tasks.LIMIT 1 /
--limit=1 --format=json) or fetch the guide's official .md.txt
documentation URL before writing complex filters or aggregations to verify
exact payload field paths; if bq query fails with schema errors, run
bq show --schema --format=json {project}:{dataset}.{table} and
bq query --use_legacy_sql=false --dry_run.EXCLUDE_ALL_METADATA have NULL VM
names in VPC Flow Logs; filter or group by internal IP
(jsonPayload.connection.src_ip) instead.gcloud/bq. Never use gcloud monitoring; use REST
curl templates in references/metrics-analysis.md.| Symptom or Task | Reference Guide |
|---|---|
| VPC Flow Logs: traffic volume, top talkers, latency, packet drops and loss rates, Private Service Connect (PSC / PSC-I), serverless workloads | references/vpc-flow-analysis.md |
| VPC Flow Logs Cost Estimation | references/vpc-flow-logs-cost-estimation.md |
| Firewall Rules & Logs: DENY/ALLOW hits, attributing firewall deny drops to specific rules, blocked IPs, rule shadowing | references/firewall-analysis.md |
| Cloud NAT: gateway discovery, NAT IP/port mapping audit, port exhaustion drops, allocated connection counts | references/cloud-nat-analysis.md |
| Threat Logs: Cloud IDS / Firewall Plus high-severity alerts and top attackers | references/threat-analysis.md |
Metrics & VPN: internal/external RTT, VM throughput, packet loss, or Cloud VPN (vpn_gateway health, traffic, drops) |
references/metrics-analysis.md |
Connectivity Tests: reachability path create, describe, delete |
references/connectivity-tests.md |
Claude Code and Codex keep each installed skill's name and description in context. When a request matches the description, the agent loads the full SKILL.md. You can also run it yourself: type /google-cloud-networking-observability in Claude Code or $google-cloud-networking-observability in Codex.
The description says when to use it:
Use when investigating dropped network traffic, packet drops, drop reasons, VPC Flow Logs (including Private Service Connect / PSC, serverless / App Engine Direct VPC, and cost estimation), Cloud NAT, firewall or threat logs, VPN…
Copy the google-cloud-networking-observability folder into .claude/skills/ in your project. To use it in every project, copy it into ~/.claude/skills/ instead.
git clone --depth 1 https://github.com/google/skills.git /tmp/google-skills
mkdir -p .claude/skills
cp -r /tmp/google-skills/skills/cloud/google-cloud-networking-observability .claude/skills/
Codex reads skills from .agents/skills/ in your repository, and from ~/.agents/skills/ for every repository. It detects new skills on its own. Restart Codex if google-cloud-networking-observability does not appear.
git clone --depth 1 https://github.com/google/skills.git /tmp/google-skills
mkdir -p .agents/skills
cp -r /tmp/google-skills/skills/cloud/google-cloud-networking-observability .agents/skills/
Open Settings and select the Skills tab. The tab appears when Skills installation is on under Settings → Feature Preview. Search for google-cloud-networking-observability and choose Install….
Install for repository writes the skill under .treq/skills/ in the current repository. Install for application makes it available to every repository on this machine. Each new workspace gets a copy in .claude/skills/ and .agents/skills/, so Claude Code and Codex both find it. See Installing Skills from the Library.
google-cloud-networking-observability ships 10 files, 45.8 KB in total. Select a file to load it from GitHub.