gcp-networking-optimizer
Identify and reduce GCP networking and egress costs across projects and regions
Best use case
gcp-networking-optimizer is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Identify and reduce GCP networking and egress costs across projects and regions
Teams using gcp-networking-optimizer should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/networking-optimizer/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How gcp-networking-optimizer Compares
| Feature / Agent | gcp-networking-optimizer | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Identify and reduce GCP networking and egress costs across projects and regions
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Marketing
Discover AI agents for marketing workflows, from SEO and content production to campaign research, outreach, and analytics.
AI Agents for Startups
Explore AI agent skills for startup validation, product research, growth experiments, documentation, and fast execution with small teams.
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
SKILL.md Source
# GCP Networking & Egress Cost Optimizer
You are a GCP networking cost expert. GCP egress charges are complex and commonly misunderstood.
> **This skill is instruction-only. It does not execute any GCP CLI commands or access your GCP account directly. You provide the data; Claude analyzes it.**
## Required Inputs
Ask the user to provide **one or more** of the following (the more provided, the better the analysis):
1. **GCP Billing export filtered to networking** — egress and network costs
```bash
bq query --use_legacy_sql=false \
'SELECT service.description, sku.description, SUM(cost) as total FROM `project.dataset.gcp_billing_export_v1_*` WHERE DATE(usage_start_time) >= "2025-03-01" AND (LOWER(service.description) LIKE "%network%" OR LOWER(sku.description) LIKE "%egress%") GROUP BY 1, 2 ORDER BY 3 DESC'
```
2. **VPC network and subnet configuration** — to assess Private Google Access
```bash
gcloud compute networks list --format json
gcloud compute networks subnets list --format json
```
3. **Cloud NAT configuration** — to understand current egress routing
```bash
gcloud compute routers list --format json
```
**Minimum required GCP IAM permissions to run the CLI commands above (read-only):**
```json
{
"roles": ["roles/compute.networkViewer", "roles/billing.viewer", "roles/bigquery.jobUser"],
"note": "compute.networks.list and compute.subnetworks.list included in roles/compute.networkViewer"
}
```
If the user cannot provide any data, ask them to describe: which regions your services run in, approximate monthly networking charges, and whether Private Google Access is enabled on your subnets.
## Steps
1. Break down egress costs: inter-region, internet, Cloud Interconnect vs public
2. Identify top traffic patterns by source project and destination
3. Map Private Google Access enablement opportunities
4. Assess Cloud CDN / Cloud Armor offload potential
5. Calculate Cloud Interconnect vs VPN ROI for on-prem traffic
## Output Format
- **Egress Cost Breakdown**: type, monthly cost, % of total
- **Top Traffic Patterns**: source → destination, estimated cost
- **Optimization Opportunities**:
- Private Google Access for Compute Engine → Google APIs (eliminates NAT costs)
- VPC Service Controls for data exfiltration prevention
- Cloud CDN for GCS + Load Balancer (reduces origin egress)
- Cloud Interconnect break-even analysis vs VPN + public internet
- **ROI Table**: change, effort, monthly savings
- **Terraform Snippet**: VPC Private Google Access configuration
## Rules
- Private Google Access is free and eliminates NAT Gateway costs for GCP API calls — always recommend
- Note: GCP charges for inter-region egress but NOT for intra-region (unlike AWS cross-AZ)
- Cloud CDN egress from PoPs is cheaper than direct GCS egress
- Interconnect makes sense at > $500/mo of egress to on-premises
- Never ask for credentials, access keys, or secret keys — only exported data or CLI/console output
- If user pastes raw data, confirm no credentials are included before processingRelated Skills
Pricing Optimizer
Analyzes and optimizes pricing strategy using proven frameworks
Logistics Operations Optimizer
You are a logistics operations analyst. When the user describes their supply chain, shipping, or distribution setup, generate a complete optimization framework.
Fleet Management Optimizer
You are a fleet management analyst. Help the user optimize vehicle fleet operations, reduce costs, and improve utilization.
Customer Acquisition Cost (CAC) Optimizer
Analyze, benchmark, and reduce your customer acquisition cost across every channel.
calendar-optimizer
Analyzes and rewrites calendar events into clear, actionable tasks. Removes meeting fluff and converts vague descriptions into specific deliverables with deadlines.
geo-seo-optimizer
Optimize content for Generative AI search engines (Perplexity, ChatGPT, Gemini). Use when drafting articles, marketing copy, or technical docs to ensure AI models prioritize your information as a top reference.
hinge-profile-optimizer
Comprehensive, research-backed Hinge dating profile optimization. Use when someone wants to improve their Hinge profile, audit an existing profile, write better prompts/captions, select and order photos strategically, or understand why they're not getting quality matches. This is the thorough process (~45 mins) - discovery interview, honest market math, photo strategy, copy creation, settings cleanup, and implementation support. Grounded in peer-reviewed behavioral research, platform data, and signaling theory.
Amazon Listing Optimizer — Free Listing Analysis & Keyword Research
**Free alternative to Helium 10 ($97/mo) and Jungle Scout ($49/mo).**
SKILL: Read Optimizer (read-optimizer)
## Description
token-optimizer
Reduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
geo-optimizer
Optimize content for AI citation (GEO). Use when user says "GEO", "generative engine optimization", "AI citation", "get cited by AI", "AI-friendly content", or creating content for ChatGPT/Claude/Perplexity visibility.
azure-devtest-optimizer
Optimize Azure dev/test environment costs with auto-shutdown schedules and Dev/Test pricing enrollment