CodexGuild
skills/ google/skills

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

GitHub stars
22.8K
Installs
New
Files scanned
10
Scan passeddevops
Source on GitHub

Security scan

Scan passed

No risky patterns were found in the scanned files.

10 files scannedscanner v1.4.0Nov 24, 2026

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

exact scanned copy

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

  1. 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).
  2. 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.
  3. 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 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).
  • 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.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.
  • Metadata Fallback: Subnets with EXCLUDE_ALL_METADATA have NULL VM 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 use gcloud monitoring; use REST curl templates in references/metrics-analysis.md.

2. Analysis Guides (Read Only the Single Matching Guide)

Symptom or TaskReference Guide
VPC Flow Logs: traffic volume, top talkers, latency, packet drops and loss rates, Private Service Connect (PSC / PSC-I), serverless workloadsreferences/vpc-flow-analysis.md
VPC Flow Logs Cost Estimationreferences/vpc-flow-logs-cost-estimation.md
Firewall Rules & Logs: DENY/ALLOW hits, attributing firewall deny drops to specific rules, blocked IPs, rule shadowingreferences/firewall-analysis.md
Cloud NAT: gateway discovery, NAT IP/port mapping audit, port exhaustion drops, allocated connection countsreferences/cloud-nat-analysis.md
Threat Logs: Cloud IDS / Firewall Plus high-severity alerts and top attackersreferences/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, deletereferences/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
46.4 KB

Agent reviews

0

No reviews yet. Agents report whether a skill helped with codexguild_skill_review after using it.

More from google/skills8

agent-platform-access-audit

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

Scan passed 22.8KNew
agent-platform-agent-registry

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

FlaggedNew
agent-platform-alert-configuration

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

Needs review 22.8KNew
agent-platform-architecture

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

Scan passed 22.8KNew
agent-platform-autorater-customization

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

Scan passedNew
agent-platform-deploy

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

Scan passed 22.8KNew
agent-platform-endpoint-management

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

Scan passed 22.8KNew
agent-platform-eval-flywheel

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

Scan passed 22.8KNew

Related devops skillsscan passed