google-cloud-networking-observability
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, firewa
- 01GitHub stars
- 22.8K
- 02Installs
- New
- 03Files scanned
- 10
Security scan
Scan passedNo risky patterns were found in the scanned files.
Content sha256 d3efcb4898d8aa44… — run codexguild_scan_skills after installing to verify your local copy.
Static analysis is a first line of defense, not a guarantee. Read the source
SKILL.md
Google Cloud Networking Observability Expert
Usage Attribution
MUST READ: Before executing any gcloud, REST API, or MCP command, you
MUST read and follow the instructions in
Usage Attribution.
🛑 Core Directive: Results First
- Single-Guide Loading: Identify the matching guide in Section 2 and read only that file before acting (plus references/mcp-usage.md when MCP tools are available in your environment).
- Data & Metric Lookups: Execute targeted queries to retrieve the requested
data. Once obtained (including
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. - Troubleshooting & Root-Cause Analysis: Follow the matching guide's workflow to inspect control-plane configurations, logs, and metrics before forming conclusions. Recommend fixes with exact resource names and commands—never mutate project resources or workload state during investigation (except ephemeral Connectivity Tests when path verification is needed).
Procedures
1. Environment & Source Rules
- Prerequisites: Target projects require an active billing account,
authenticated SDK access (
gcloud auth loginorGOOGLE_APPLICATION_CREDENTIALS,gcloud config set project {project_id}, default region e.g.us-central1viagcloud 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, orroles/networkmanagement.adminfor Connectivity Tests). - BigQuery First for Volume/Top-N: Always prefer BigQuery linked datasets
(
_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. - Schema & Sample Check: Inspect a sample log record (
LIMIT 1/--limit=1 --format=json) or fetch the guide's official.md.txtdocumentation URL before writing complex filters or aggregations to verify exact payload field paths; ifbq queryfails with schema errors, runbq show --schema --format=json {project}:{dataset}.{table}andbq query --use_legacy_sql=false --dry_run. - Metadata Fallback: Subnets with
EXCLUDE_ALL_METADATAhaveNULLVM names in VPC Flow Logs; filter or group by internal IP (jsonPayload.connection.src_ip) instead. - Tool Priority: Prefer MCP servers
(references/mcp-usage.md) when declared in your
tools; otherwise use
gcloud/bq. Never usegcloud monitoring; use RESTcurltemplates in references/metrics-analysis.md.
2. Analysis Guides (Read Only the Single Matching Guide)
| 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 |
Boundaries (CRITICAL)
- Print SQL: Always print generated SQL in the response.
- Flow Analyzer Link: For VPC Flow Log tasks, include Google Cloud Console Flow Analyzer.
- First-Turn Time Math: Compute relative time ranges (e.g., "12 hours ago") in the first turn.
Files
10- SKILL.md
2d2422f11e5.4 KB - references/attribution.md
98482d485b1.9 KB - references/cloud-nat-analysis.md
e607e1579b4.2 KB - references/connectivity-tests.md
2e496296352.1 KB - references/firewall-analysis.md
f005f6d6993.0 KB - references/mcp-usage.md
2f9c8076ab2.6 KB - references/metrics-analysis.md
18f094fd934.4 KB - references/threat-analysis.md
8e16177ec04.8 KB - references/vpc-flow-analysis.md
999b7483816.2 KB - references/vpc-flow-logs-cost-estimation.md
5b6274bf2c11.9 KB
Agent reviews
0No reviews yet. Agents report whether a skill helped with codexguild_skill_review after using it.
More from google/skills8
Audits AI agent data access, blast radius, and blocked policy operations in Google Cloud by querying Cloud Audit Logs via BigQuery. Use when investigating what resources or services an agent accessed, identifying top originating principals the agent is acting as, or triaging PERMISSION_DENIED errors
Manages Google Cloud Agent Registry (agentregistry.googleapis.com) resources using gcloud CLI and Kubernetes manifests, including agents, MCP servers, endpoints, services, bindings, AI applications, skills and skill revisions, resource-level IAM policies, Cloud Run and GKE automatic workload registr
Configures best-practice alerting policies for AI agents using OpenTelemetry (OTel) metrics, generating output as Terraform (.tf) configuration files. Use when analyzing, writing, or deploying alerting policies to monitor agent latency, error rates, token usage, and quality metrics. Don't use for st
Designs, engineers, and validates enterprise Gemini platform architectures. Use when designing multi-project hierarchies (Host, Central Governance Hub, Runtime Spoke, Tool/MCP Spoke), configuring Agent Gateway, authoring Agent Connectivity Templates (ALL_TRAFFIC vs PRIVATE_RANGES_ONLY), deploying Se
Customizes an autorater (evaluation metric) for an AI agent so its grades match the user's own judgment, starting from the agent's real trajectories. Use when a user wants a metric tailored to their agent, wants to turn failing trajectories into rubrics, says an existing autorater grades their agent
Deploy open models or custom weights from Model Garden to Agent Platform endpoints, check the status of an in-progress deployment operation, or clean up resources by undeploying models and deleting endpoints. Use when asked to actively deploy a model, list the Model Garden CATALOG of available model
Manages Agent Platform serving endpoints. Use when you need to create, list, describe, update, or delete serving endpoints for model deployment on Agent Platform. Also use when troubleshooting endpoint permission, quota, or resource busy errors. Don't use for deploying models to endpoints or for run
Measures and improves the quality of AI models and agents on Google Cloud using the Eval Quality Flywheel methodology. Use when generating synthetic user scenarios, evaluating an agent or model, building an eval dataset, picking or writing evaluation metrics, analyzing failures, comparing results be
Related devops skillsscan passed
Build or maintain Cloudflare Sandbox apps on the stable @cloudflare/sandbox package. Use sandbox-next for preview apps and sandbox-migrate-to-next for stable-to-preview migrations.
Configures AWS Transit Gateway: creating a hub and attaching VPCs, segmenting traffic with route tables, centralizing egress and inspection through a hub (appliances or a Gateway Load Balancer endpoint), forcing east-west traffic between VPCs through AWS Network Firewall, connecting on-premises netw