[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F6QW4VJD161BWFXF82V301":3,"skill-same:01M6F6QW4VJD161BWFXF82V301":78},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":21,"commitSha":58,"skillDirectory":59,"forksCount":60,"repositoryHtmlUrl":61,"repositoryHomepageUrl":6,"ownerHtmlUrl":62,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":63,"install":64,"resources":77},"01M6F6QW4VJD161BWFXF82V301","gcp-compute",null,"Manage Compute Engine instances and instance templates. Configure managed instance groups and preemptible VMs. Use when deploying compute resources on GCP.","boisenoise\u002Fskills-collections","boisenoise","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F193180?v=4","01M6CDBDQK6BDN55ZMA6B6PKBM","01M6CDBDVSJ3JPTBYN26FZ7TZK",13,"MIT","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-gcp-compute\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"gcp","gcp compute","compute","main","2026","when","managed","relevant","helper","resources","scripts","critical","os","platform","security","instances","community","manage","agent-skills","only","use","engine","configure","access","devops-security","license","2026-11-10 10:12:30",false,"---\nname: gcp-compute\ndescription: Manage Compute Engine instances and instance templates. Configure managed\n  instance groups and preemptible VMs. Use when deploying compute resources on GCP.\ncategory: devops\nrisk: critical\nsource: https:\u002F\u002Fgithub.com\u002FBagelHole\u002FDevOps-Security-Agent-Skills\nsource_repo: BagelHole\u002FDevOps-Security-Agent-Skills\nsource_type: community\ndate_added: '2026-09-20'\nlicense: MIT\nlicense_source: https:\u002F\u002Fgithub.com\u002FBagelHole\u002FDevOps-Security-Agent-Skills\u002Fblob\u002Fmain\u002FLICENSE\ncompatibility: Requires the relevant OS\u002Fplatform tooling and privileged access where\n  noted. Docs-only; helper scripts and templates not bundled.\nmetadata:\n  author: devops-skills\n  version: '1.0'\n---\n\n# GCP Compute Engine\n\nDeploy, manage, and scale Compute Engine virtual machines on Google Cloud Platform.\n\n## When to Use\n\n- Deploying web servers, application backends, or batch-processing workloads on GCP\n- Running workloads that need full OS-level control (unlike Cloud Run or App Engine)\n- Creating managed instance groups for auto-healing and auto-scaling behind a load balancer\n- Provisioning GPU-attached VMs for ML training or rendering pipelines\n- Cost-optimizing non-critical workloads with preemptible or spot VMs\n\n## Target, billable effects and recovery\n\nConfirm project\u002Faccount\u002Fzone, instance identity, costs and approved shutdown\u002Fresize scope. Review startup scripts as privileged code and pin trusted images; inspect service-account IAM rather than assuming cloud-platform scope is least privilege. Public IPs\u002Ffirewall tags expose services only when matching rules exist; prefer required private access. The sample nginx startup does not define `\u002Fhealthz`, so implement\u002Ftest that route before attaching the shown MIG health check. Instance images\u002Fsnapshots can contain secrets and are not application-consistent backups without appropriate quiescing. Shared-core table CPU values describe approximate baseline entitlement, not whole guest-visible vCPU topology.\n\n## Prerequisites\n\n- Google Cloud SDK (`gcloud`) installed and authenticated\n- A GCP project with the Compute Engine API enabled\n- IAM role `roles\u002Fcompute.admin` or scoped roles for instance management\n\n```bash\ngcloud auth list\ngcloud config set project $PROJECT_ID\ngcloud services enable compute.googleapis.com\n```\n\n## Machine Types Reference\n\n| Family | Example | vCPUs | Memory | Use Case |\n|--------|---------|-------|--------|----------|\n| E2 | e2-micro | 0.25 | 1 GB | Dev\u002Ftest, microservices |\n| E2 | e2-medium | 1 | 4 GB | Light web servers |\n| N2 | n2-standard-4 | 4 | 16 GB | General-purpose production |\n| N2 | n2-highmem-8 | 8 | 64 GB | In-memory caches, databases |\n| C2 | c2-standard-16 | 16 | 64 GB | Compute-intensive, HPC |\n\n```bash\n# List machine types available in a zone\ngcloud compute machine-types list --zones=us-central1-a --filter=\"name~'e2-'\"\n\n# Create a custom machine type (6 vCPUs, 24 GB RAM)\ngcloud compute instances create custom-vm \\\n  --custom-cpu=6 --custom-memory=24GB \\\n  --zone=us-central1-a \\\n  --image-family=debian-12 --image-project=debian-cloud\n```\n\n## Create an Instance\n\n```bash\n# Production instance with shielded VM and startup script\ngcloud compute instances create web-server \\\n  --machine-type=e2-medium \\\n  --zone=us-central1-a \\\n  --image-family=debian-12 \\\n  --image-project=debian-cloud \\\n  --boot-disk-size=20GB \\\n  --boot-disk-type=pd-balanced \\\n  --tags=http-server,https-server \\\n  --labels=env=production,team=backend \\\n  --metadata=enable-oslogin=TRUE \\\n  --shielded-secure-boot \\\n  --shielded-vtpm \\\n  --shielded-integrity-monitoring\n\n# Instance with a startup script and service account\ngcloud compute instances create app-server \\\n  --machine-type=e2-standard-2 \\\n  --zone=us-central1-a \\\n  --image-family=ubuntu-2204-lts \\\n  --image-project=ubuntu-os-cloud \\\n  --boot-disk-size=50GB \\\n  --metadata-from-file=startup-script=startup.sh \\\n  --service-account=app-sa@${PROJECT_ID}.iam.gserviceaccount.com \\\n  --scopes=cloud-platform\n\n# Instance with an additional data disk\ngcloud compute instances create db-server \\\n  --machine-type=n2-highmem-4 \\\n  --zone=us-central1-a \\\n  --image-family=debian-12 --image-project=debian-cloud \\\n  --boot-disk-size=20GB \\\n  --create-disk=name=data-disk,size=200GB,type=pd-ssd,auto-delete=no\n```\n\n## Startup Script Example\n\n```bash\n#!\u002Fbin\u002Fbash\n# startup.sh - runs on first boot and every reboot\nset -euo pipefail\napt-get update && apt-get install -y nginx\nsystemctl enable nginx && systemctl start nginx\ncurl -X PUT -H \"Metadata-Flavor: Google\" \\\n  \"http:\u002F\u002Fmetadata.google.internal\u002FcomputeMetadata\u002Fv1\u002Finstance\u002Fguest-attributes\u002Fstartup\u002Fstatus\" \\\n  -d \"complete\"\n```\n\n## Instance Templates and Managed Instance Groups\n\n```bash\n# Create an instance template\ngcloud compute instance-templates create web-template \\\n  --machine-type=e2-medium \\\n  --image-family=debian-12 --image-project=debian-cloud \\\n  --boot-disk-size=20GB --tags=http-server \\\n  --metadata-from-file=startup-script=startup.sh\n\n# Create a regional managed instance group (MIG) with health check\ngcloud compute health-checks create http http-health-check \\\n  --port=80 --request-path=\u002Fhealthz \\\n  --check-interval=10s --timeout=5s \\\n  --healthy-threshold=2 --unhealthy-threshold=3\n\ngcloud compute instance-groups managed create web-mig \\\n  --template=web-template --size=3 \\\n  --region=us-central1 \\\n  --health-check=http-health-check --initial-delay=120\n\n# Configure autoscaling\ngcloud compute instance-groups managed set-autoscaling web-mig \\\n  --region=us-central1 \\\n  --min-num-replicas=2 --max-num-replicas=10 \\\n  --target-cpu-utilization=0.65 --cool-down-period=90\n\n# Rolling update to a new template\ngcloud compute instance-groups managed rolling-action start-update web-mig \\\n  --version=template=web-template-v2 \\\n  --region=us-central1 --max-surge=3 --max-unavailable=0\n```\n\n## Preemptible and Spot VMs\n\n```bash\n# Spot VM (recommended over legacy preemptible)\ngcloud compute instances create spot-worker \\\n  --machine-type=n2-standard-8 \\\n  --zone=us-central1-a \\\n  --image-family=debian-12 --image-project=debian-cloud \\\n  --provisioning-model=SPOT \\\n  --instance-termination-action=STOP\n\n# Spot instance template for batch MIG\ngcloud compute instance-templates create batch-template \\\n  --machine-type=n2-standard-4 \\\n  --image-family=debian-12 --image-project=debian-cloud \\\n  --provisioning-model=SPOT \\\n  --instance-termination-action=DELETE\n```\n\n## Snapshots and Images\n\n```bash\n# Create a snapshot\ngcloud compute disks snapshot web-server \\\n  --zone=us-central1-a \\\n  --snapshot-names=web-server-snap-$(date +%Y%m%d)\n\n# Scheduled snapshot policy\ngcloud compute resource-policies create snapshot-schedule daily-backup \\\n  --region=us-central1 --max-retention-days=14 \\\n  --daily-schedule --start-time=03:00\n\ngcloud compute disks add-resource-policies web-server \\\n  --zone=us-central1-a --resource-policies=daily-backup\n\n# Create a custom image from an instance\ngcloud compute instances stop web-server --zone=us-central1-a\ngcloud compute images create web-golden-image \\\n  --source-disk=web-server --source-disk-zone=us-central1-a \\\n  --family=web-server --labels=version=v1\n```\n\n## Terraform Configuration\n\n```hcl\nresource \"google_compute_instance\" \"web\" {\n  name         = \"web-server\"\n  machine_type = \"e2-medium\"\n  zone         = \"us-central1-a\"\n  tags         = [\"http-server\", \"https-server\"]\n\n  boot_disk {\n    initialize_params {\n      image = \"debian-cloud\u002Fdebian-12\"\n      size  = 20\n      type  = \"pd-balanced\"\n    }\n  }\n\n  network_interface {\n    subnetwork = google_compute_subnetwork.main.id\n    access_config {}\n  }\n\n  metadata_startup_script = file(\"${path.module}\u002Fstartup.sh\")\n\n  service_account {\n    email  = google_service_account.app.email\n    scopes = [\"cloud-platform\"]\n  }\n\n  shielded_instance_config {\n    enable_secure_boot          = true\n    enable_vtpm                 = true\n    enable_integrity_monitoring = true\n  }\n}\n\nresource \"google_compute_instance_template\" \"web\" {\n  name_prefix  = \"web-\"\n  machine_type = \"e2-medium\"\n\n  disk {\n    source_image = \"debian-cloud\u002Fdebian-12\"\n    auto_delete  = true\n    boot         = true\n    disk_size_gb = 20\n  }\n\n  network_interface {\n    subnetwork = google_compute_subnetwork.main.id\n  }\n\n  lifecycle { create_before_destroy = true }\n}\n\nresource \"google_compute_region_instance_group_manager\" \"web\" {\n  name               = \"web-mig\"\n  base_instance_name = \"web\"\n  region             = \"us-central1\"\n\n  version {\n    instance_template = google_compute_instance_template.web.id\n  }\n\n  target_size = 3\n  named_port { name = \"http\"; port = 80 }\n\n  auto_healing_policies {\n    health_check      = google_compute_health_check.http.id\n    initial_delay_sec = 120\n  }\n}\n\nresource \"google_compute_region_autoscaler\" \"web\" {\n  name   = \"web-autoscaler\"\n  region = \"us-central1\"\n  target = google_compute_region_instance_group_manager.web.id\n\n  autoscaling_policy {\n    min_replicas    = 2\n    max_replicas    = 10\n    cooldown_period = 90\n    cpu_utilization { target = 0.65 }\n  }\n}\n```\n\n## Common Operations\n\n```bash\n# SSH into an instance\ngcloud compute ssh web-server --zone=us-central1-a\n\n# List all instances with status\ngcloud compute instances list \\\n  --format=\"table(name,zone,status,machineType.basename())\"\n\n# Stop \u002F start \u002F resize\ngcloud compute instances stop web-server --zone=us-central1-a\ngcloud compute instances set-machine-type web-server \\\n  --machine-type=e2-standard-4 --zone=us-central1-a\ngcloud compute instances start web-server --zone=us-central1-a\n\n# View serial port output (debug startup scripts)\ngcloud compute instances get-serial-port-output web-server --zone=us-central1-a\n```\n\n## Troubleshooting\n\n| Symptom | Cause | Fix |\n|---------|-------|-----|\n| Instance stuck in STAGING | Quota exceeded or resource unavailable | Check quota with `gcloud compute project-info describe`; try another zone |\n| Startup script not running | Syntax errors or wrong metadata key | Check serial output; ensure key is `startup-script` not `startup_script` |\n| Cannot SSH | Firewall blocks port 22 or OS Login misconfigured | Add firewall rule for `tcp:22`; verify `enable-oslogin` metadata |\n| Preempted too often | Zone resource pressure | Use Spot VM with `STOP` action; spread across zones in a MIG |\n| Disk out of space | Boot disk too small | Review the intended disk and snapshot, use supported disk resize, then expand the guest partition\u002Ffilesystem as needed; do not assume a Cloud SQL storage-auto-increase flag exists for Compute disks |\n| MIG not healing | Health check misconfigured or initial delay too short | Verify health check path returns 200; increase `--initial-delay` |\n\n## Related Skills\n\n- **gcp-networking** - VPC, firewall rules, and load balancers for Compute Engine\n- **terraform-gcp** - Provision Compute Engine resources with Infrastructure as Code\n- **gcp-gke** - When workloads are better suited for containers than VMs\n- **gcp-cloud-sql** - Managed databases that Compute Engine applications connect to\n\n## Limitations\n\n- Infrastructure commands can disrupt services: confirm target host\u002Fscope and have backups\u002Fsnapshots before mutating state.\n- Docs-only import: upstream scripts and templates not bundled.\n\n","# GCP Compute Engine\n\nDeploy, manage, and scale Compute Engine virtual machines on Google Cloud Platform.\n\n## When to Use\n\n- Deploying web servers, application backends, or batch-processing workloads on GCP\n- Running workloads that need full OS-level control (unlike Cloud Run or App Engine)\n- Creating managed instance groups for auto-healing and auto-scaling behind a load balancer\n- Provisioning GPU-attached VMs for ML training or rendering pipelines\n- Cost-optimizing non-critical workloads with preemptible or spot VMs\n\n## Target, billable effects and recovery\n\nConfirm project\u002Faccount\u002Fzone, instance identity, costs and approved shutdown\u002Fresize scope. Review startup scripts as privileged code and pin trusted images; inspect service-account IAM rather than assuming cloud-platform scope is least privilege. Public IPs\u002Ffirewall tags expose services only when matching rules exist; prefer required private access. The sample nginx startup does not define `\u002Fhealthz`, so implement\u002Ftest that route before attaching the shown MIG health check. Instance images\u002Fsnapshots can contain secrets and are not application-consistent backups without appropriate quiescing. Shared-core table CPU values describe approximate baseline entitlement, not whole guest-visible vCPU topology.\n\n## Prerequisites\n\n- Google Cloud SDK (`gcloud`) installed and authenticated\n- A GCP project with the Compute Engine API enabled\n- IAM role `roles\u002Fcompute.admin` or scoped roles for instance management\n\n```bash\ngcloud auth list\ngcloud config set project $PROJECT_ID\ngcloud services enable compute.googleapis.com\n```\n\n## Machine Types Reference\n\n| Family | Example | vCPUs | Memory | Use Case |\n|--------|---------|-------|--------|----------|\n| E2 | e2-micro | 0.25 | 1 GB | Dev\u002Ftest, microservices |\n| E2 | e2-medium | 1 | 4 GB | Light web servers |\n| N2 | n2-standard-4 | 4 | 16 GB | General-purpose production |\n| N2 | n2-highmem-8 | 8 | 64 GB | In-memory caches, databases |\n| C2 | c2-standard-16 | 16 | 64 GB | Compute-intensive, HPC |\n\n```bash\n# List machine types available in a zone\ngcloud compute machine-types list --zones=us-central1-a --filter=\"name~'e2-'\"\n\n# Create a custom machine type (6 vCPUs, 24 GB RAM)\ngcloud compute instances create custom-vm \\\n  --custom-cpu=6 --custom-memory=24GB \\\n  --zone=us-central1-a \\\n  --image-family=debian-12 --image-project=debian-cloud\n```\n\n## Create an Instance\n\n```bash\n# Production instance with shielded VM and startup script\ngcloud compute instances create web-server \\\n  --machine-type=e2-medium \\\n  --zone=us-central1-a \\\n  --image-family=debian-12 \\\n  --image-project=debian-cloud \\\n  --boot-disk-size=20GB \\\n  --boot-disk-type=pd-balanced \\\n  --tags=http-server,https-server \\\n  --labels=env=production,team=backend \\\n  --metadata=enable-oslogin=TRUE \\\n  --shielded-secure-boot \\\n  --shielded-vtpm \\\n  --shielded-integrity-monitoring\n\n# Instance with a startup script and service account\ngcloud compute instances create app-server \\\n  --machine-type=e2-standard-2 \\\n  --zone=us-central1-a \\\n  --image-family=ubuntu-2204-lts \\\n  --image-project=ubuntu-os-cloud \\\n  --boot-disk-size=50GB \\\n  --metadata-from-file=startup-script=startup.sh \\\n  --service-account=app-sa@${PROJECT_ID}.iam.gserviceaccount.com \\\n  --scopes=cloud-platform\n\n# Instance with an additional data disk\ngcloud compute instances create db-server \\\n  --machine-type=n2-highmem-4 \\\n  --zone=us-central1-a \\\n  --image-family=debian-12 --image-project=debian-cloud \\\n  --boot-disk-size=20GB \\\n  --create-disk=name=data-disk,size=200GB,type=pd-ssd,auto-delete=no\n```\n\n## Startup Script Example\n\n```bash\n#!\u002Fbin\u002Fbash\n# startup.sh - runs on first boot and every reboot\nset -euo pipefail\napt-get update && apt-get install -y nginx\nsystemctl enable nginx && systemctl start nginx\ncurl -X PUT -H \"Metadata-Flavor: Google\" \\\n  \"http:\u002F\u002Fmetadata.google.internal\u002FcomputeMetadata\u002Fv1\u002Finstance\u002Fguest-attributes\u002Fstartup\u002Fstatus\" \\\n  -d \"complete\"\n```\n\n## Instance Templates and Managed Instance Groups\n\n```bash\n# Create an instance template\ngcloud compute instance-templates create web-template \\\n  --machine-type=e2-medium \\\n  --image-family=debian-12 --image-project=debian-cloud \\\n  --boot-disk-size=20GB --tags=http-server \\\n  --metadata-from-file=startup-script=startup.sh\n\n# Create a regional managed instance group (MIG) with health check\ngcloud compute health-checks create http http-health-check \\\n  --port=80 --request-path=\u002Fhealthz \\\n  --check-interval=10s --timeout=5s \\\n  --healthy-threshold=2 --unhealthy-threshold=3\n\ngcloud compute instance-groups managed create web-mig \\\n  --template=web-template --size=3 \\\n  --region=us-central1 \\\n  --health-check=http-health-check --initial-delay=120\n\n# Configure autoscaling\ngcloud compute instance-groups managed set-autoscaling web-mig \\\n  --region=us-central1 \\\n  --min-num-replicas=2 --max-num-replicas=10 \\\n  --target-cpu-utilization=0.65 --cool-down-period=90\n\n# Rolling update to a new template\ngcloud compute instance-groups managed rolling-action start-update web-mig \\\n  --version=template=web-template-v2 \\\n  --region=us-central1 --max-surge=3 --max-unavailable=0\n```\n\n## Preemptible and Spot VMs\n\n```bash\n# Spot VM (recommended over legacy preemptible)\ngcloud compute instances create spot-worker \\\n  --machine-type=n2-standard-8 \\\n  --zone=us-central1-a \\\n  --image-family=debian-12 --image-project=debian-cloud \\\n  --provisioning-model=SPOT \\\n  --instance-termination-action=STOP\n\n# Spot instance template for batch MIG\ngcloud compute instance-templates create batch-template \\\n  --machine-type=n2-standard-4 \\\n  --image-family=debian-12 --image-project=debian-cloud \\\n  --provisioning-model=SPOT \\\n  --instance-termination-action=DELETE\n```\n\n## Snapshots and Images\n\n```bash\n# Create a snapshot\ngcloud compute disks snapshot web-server \\\n  --zone=us-central1-a \\\n  --snapshot-names=web-server-snap-$(date +%Y%m%d)\n\n# Scheduled snapshot policy\ngcloud compute resource-policies create snapshot-schedule daily-backup \\\n  --region=us-central1 --max-retention-days=14 \\\n  --daily-schedule --start-time=03:00\n\ngcloud compute disks add-resource-policies web-server \\\n  --zone=us-central1-a --resource-policies=daily-backup\n\n# Create a custom image from an instance\ngcloud compute instances stop web-server --zone=us-central1-a\ngcloud compute images create web-golden-image \\\n  --source-disk=web-server --source-disk-zone=us-central1-a \\\n  --family=web-server --labels=version=v1\n```\n\n## Terraform Configuration\n\n```hcl\nresource \"google_compute_instance\" \"web\" {\n  name         = \"web-server\"\n  machine_type = \"e2-medium\"\n  zone         = \"us-central1-a\"\n  tags         = [\"http-server\", \"https-server\"]\n\n  boot_disk {\n    initialize_params {\n      image = \"debian-cloud\u002Fdebian-12\"\n      size  = 20\n      type  = \"pd-balanced\"\n    }\n  }\n\n  network_interface {\n    subnetwork = google_compute_subnetwork.main.id\n    access_config {}\n  }\n\n  metadata_startup_script = file(\"${path.module}\u002Fstartup.sh\")\n\n  service_account {\n    email  = google_service_account.app.email\n    scopes = [\"cloud-platform\"]\n  }\n\n  shielded_instance_config {\n    enable_secure_boot          = true\n    enable_vtpm                 = true\n    enable_integrity_monitoring = true\n  }\n}\n\nresource \"google_compute_instance_template\" \"web\" {\n  name_prefix  = \"web-\"\n  machine_type = \"e2-medium\"\n\n  disk {\n    source_image = \"debian-cloud\u002Fdebian-12\"\n    auto_delete  = true\n    boot         = true\n    disk_size_gb = 20\n  }\n\n  network_interface {\n    subnetwork = google_compute_subnetwork.main.id\n  }\n\n  lifecycle { create_before_destroy = true }\n}\n\nresource \"google_compute_region_instance_group_manager\" \"web\" {\n  name               = \"web-mig\"\n  base_instance_name = \"web\"\n  region             = \"us-central1\"\n\n  version {\n    instance_template = google_compute_instance_template.web.id\n  }\n\n  target_size = 3\n  named_port { name = \"http\"; port = 80 }\n\n  auto_healing_policies {\n    health_check      = google_compute_health_check.http.id\n    initial_delay_sec = 120\n  }\n}\n\nresource \"google_compute_region_autoscaler\" \"web\" {\n  name   = \"web-autoscaler\"\n  region = \"us-central1\"\n  target = google_compute_region_instance_group_manager.web.id\n\n  autoscaling_policy {\n    min_replicas    = 2\n    max_replicas    = 10\n    cooldown_period = 90\n    cpu_utilization { target = 0.65 }\n  }\n}\n```\n\n## Common Operations\n\n```bash\n# SSH into an instance\ngcloud compute ssh web-server --zone=us-central1-a\n\n# List all instances with status\ngcloud compute instances list \\\n  --format=\"table(name,zone,status,machineType.basename())\"\n\n# Stop \u002F start \u002F resize\ngcloud compute instances stop web-server --zone=us-central1-a\ngcloud compute instances set-machine-type web-server \\\n  --machine-type=e2-standard-4 --zone=us-central1-a\ngcloud compute instances start web-server --zone=us-central1-a\n\n# View serial port output (debug startup scripts)\ngcloud compute instances get-serial-port-output web-server --zone=us-central1-a\n```\n\n## Troubleshooting\n\n| Symptom | Cause | Fix |\n|---------|-------|-----|\n| Instance stuck in STAGING | Quota exceeded or resource unavailable | Check quota with `gcloud compute project-info describe`; try another zone |\n| Startup script not running | Syntax errors or wrong metadata key | Check serial output; ensure key is `startup-script` not `startup_script` |\n| Cannot SSH | Firewall blocks port 22 or OS Login misconfigured | Add firewall rule for `tcp:22`; verify `enable-oslogin` metadata |\n| Preempted too often | Zone resource pressure | Use Spot VM with `STOP` action; spread across zones in a MIG |\n| Disk out of space | Boot disk too small | Review the intended disk and snapshot, use supported disk resize, then expand the guest partition\u002Ffilesystem as needed; do not assume a Cloud SQL storage-auto-increase flag exists for Compute disks |\n| MIG not healing | Health check misconfigured or initial delay too short | Verify health check path returns 200; increase `--initial-delay` |\n\n## Related Skills\n\n- **gcp-networking** - VPC, firewall rules, and load balancers for Compute Engine\n- **terraform-gcp** - Provision Compute Engine resources with Infrastructure as Code\n- **gcp-gke** - When workloads are better suited for containers than VMs\n- **gcp-cloud-sql** - Managed databases that Compute Engine applications connect to\n\n## Limitations\n\n- Infrastructure commands can disrupt services: confirm target host\u002Fscope and have backups\u002Fsnapshots before mutating state.\n- Docs-only import: upstream scripts and templates not bundled.\n\n",{"name":5,"risk":29,"source":49,"license":14,"category":50,"metadata":51,"date_added":54,"description":7,"source_repo":55,"source_type":34,"compatibility":56,"license_source":57},"https:\u002F\u002Fgithub.com\u002FBagelHole\u002FDevOps-Security-Agent-Skills","devops",{"author":52,"version":53},"devops-skills","1.0","2026-09-20","BagelHole\u002FDevOps-Security-Agent-Skills","Requires the relevant OS\u002Fplatform tooling and privileged access where noted. Docs-only; helper scripts and templates not bundled.","https:\u002F\u002Fgithub.com\u002FBagelHole\u002FDevOps-Security-Agent-Skills\u002Fblob\u002Fmain\u002FLICENSE","7bf2279c8a65758319526a721d5c4b75683aec9c","skills\u002Fantigravity-gcp-compute",3,"https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections","https:\u002F\u002Fgithub.com\u002Fboisenoise","2026-11-14 14:18:11",{"source":8,"skillName":5,"commands":65,"prompt":75,"zipAvailable":76},[66,69,72],{"tool":67,"command":68},"npx","npx skills add boisenoise\u002Fskills-collections --skill gcp-compute",{"tool":70,"command":71},"bunx","bunx skills add boisenoise\u002Fskills-collections --skill gcp-compute",{"tool":73,"command":74},"pnpm","pnpm dlx skills add boisenoise\u002Fskills-collections --skill gcp-compute","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-gcp-compute\u002FSKILL.md",true,[],[79,88,96,105,113,121],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":83,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":87},"01M7B6HREHB53EHGGVZND7DDXN","scrapely-scrape","Collect web data with ready-made Scrape.ly scrapers: Google Maps places, Amazon products, LinkedIn jobs, reviews, social posts. Use when the user wants structured data from a site.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-scrapely-scrape\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-scrapely-scrape\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":92,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":87},"01M7B6GDNNN4HE662KA6KPF7GW","lumify-odds","Lumify's hosted sports MCP\u002FREST API for sportsbook odds, line-movement history, public betting splits, and player props across MLB, NFL, NBA, NHL, soccer, tennis, NCAAF, NCAAB. Read-only market data.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-lumify-odds\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-lumify-odds\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":100,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":104},"01M743PZMJW2GEKG5J199GPSK7","sync-lipsync","Lip-sync an existing video of a real person to new audio or a typed script with sync. labs through its hosted MCP server, quoting the cost and waiting for approval first.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-sync-lipsync\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-sync-lipsync\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":109,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":104},"01M743MMN3CKTJVNRSZMB684E5","music-for-robots","Optional music-inspired creative exercise for multimodal agents. Ingests an unquantized acoustic MP3 composition by Michael Luchtan (Music For Robots) into a private temporary directory, analyzing microtiming and texture to inspire creative writing, brainstorming, or technical tasks.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-music-for-robots\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-music-for-robots\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":117,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":104},"01M743KC2GN5WE11BSTWSSWD8B","imagera-media","Generate or edit images, video clips, voiceovers and music through the hosted Imagera MCP server, quoting the credit cost and getting approval before each paid call.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-imagera-media\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-imagera-media\u002FSKILL.md",[],[],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":125,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":104},"01M743HDJNZQA8A4VT68NWGWQJ","deja-history","Search this machine's past AI coding sessions across Claude Code, Codex, Cursor, Gemini CLI and thirty-nine other agents before editing, debugging, or denying something exists.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-deja-history\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-deja-history\u002FSKILL.md",[],[]]