Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Investigates Google Cloud networking issues by analyzing logs, metrics, and diagnostics. Use when investigating VPC Flow Logs, NAT, firewall, or threat logs, querying latency and throughput metrics, or running Connectivity Tests for path diagnostics.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-05 | ✗→✓ | ▲ Improved | 32% | 0% |
| case-04 | ✗→✓ | ▲ Improved | 149% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 37% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 42% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 138% | 0% |
firewall logs, threat logs, Cloud NAT, VPC Flow logs, or metrics.
answer.
of the value (including 0, null, or "No traffic"), present the finding and call the finish tool in the same turn. Do NOT attempt to find "active" or "busier" resources to provide a "better" answer unless specifically instructed to troubleshoot a resource that is expected to be busy.
that identify malicious traffic patterns (for example, SQL injection or malware) using deep packet inspection.
Use for traffic analysis, volume trends, and top talkers.
to identify "DENY" events or verify "ALLOW" rules.
through NAT gateways or troubleshoot port exhaustion.
(latency), and packet loss. Use for historical trends and performance monitoring.
identify firewall or routing misconfigurations between endpoints.
big_query_linked_dataset, _AllLogs) before using Cloud Logging for high-volume analysis or aggregations. This is the preferred method for finding trends or top-blocking rules.
EXCLUDE_ALL_METADATA, causing VM names to be NULL in VPC Flow Logs. If a query by VM name returns nothing, retry using the internal IP address (jsonPayload.connection.src_ip).
Cloud Monitoring MCP, BigQuery MCP, or Cloud Logging MCP.
gateway, VPN tunnel) is not found in metrics/logs:
run_shell_command with gcloud to list resources in the project.for the resource name to find correct labels.
gcloud or bq only if MCP servers are unavailable.DO NOT use gcloud monitoring; it is restricted. Immediately use the curl templates in metrics-analysis.md.
If a BigQuery query fails with an 'Unrecognized name' error or schema mismatch:
{project_id}:{dataset_id}.{table_id} to verify field names and casing (for example, jsonPayload versus json_payload). 2. **Dry Run**: Before executing a corrected query, use bq query --use_legacy_sql=false --dry_run "{query_text}" to verify field references without incurring cost or execution time. 3. Retry: Apply identified fixes to the original query and execute.
For detailed SQL patterns, field definitions, and advanced troubleshooting, read the corresponding reference file:
references/threat-analysis.md
references/vpc-flow-analysis.md
references/cloud-nat-analysis.md
references/firewall-analysis.md
references/metrics-analysis.md
references/connectivity-tests.md
after finding a firewall block) without explicit user permission.
source (for example, Cloud Monitoring metrics) has already provided a conclusive answer. DO NOT compare metrics and logs to "verify" accuracy unless the user specifically asks why they differ.
counts) and Tool B provides a different result (for example, 1,000 counts), DO NOT initiate a deep dive to explain the difference. Present the result from the primary tool and STOP.
the first turn to save steps.
"No data found", or "No records found" as a conclusive finding for the requested timeframe and resource. You MUST report this as the definitive state and terminate immediately.
tasks (for example, "highest traffic," "most hits," "top talkers"), you MUST use BigQuery aggregation on _AllLogs datasets. Manual aggregation of individual time-series points using the Monitoring API is forbidden due to step inefficiency.
as direct tool calls (bq, curl, gcloud). Do NOT write or execute local shell scripts (.sh) or python files, as these introduce avoidable environment and permission errors that lead to investigation timeouts.
connections" or "top IPs by bytes"), BigQuery aggregation on VPC Flow logs (_AllLogs) is the Primary Source of Truth. If BigQuery data is available, it is conclusive. Do NOT query Monitoring API to "double check" BigQuery counts.
Other measured skills in the registry, with their headline benchmark lift.