# Compute mig autoscaling troubleshooting

> Compute mig autoscaling troubleshooting is an open-source agent skill. Diagnoses and resolves Google Compute Engine Managed Instance Group (MIG) autoscaling failures, scale-out blocks, and scale-in stalls. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/google/skills/tree/main/skills/cloud/compute-mig-autoscaling-troubleshooting
- **Repository:** https://github.com/google/skills
- **GitHub stars:** 24,379
- **License:** Apache-2.0
- **Skill name:** compute-mig-autoscaling-troubleshooting
- **Collection:** https://github.com/google/skills
- **Listing updated:** 2026-11-17

## About

Diagnoses and resolves Google Compute Engine Managed Instance Group (MIG) autoscaling failures, scale-out blocks, and scale-in stalls. Use ONLY when a Compute Engine MIG fails to add or remove VM instances during load changes, hits quota or zonal stockout limits, reaches maxNumReplicas (CAPPED_AT_MAX_NUM_REPLICAS), conflicts with HTTP(S) load balancer maxRate settings, fails to scale in to zero instances, or fails to read Cloud Monitoring scaling metrics. DO NOT read or use for Google Kubernetes Engine (GKE) Horizontal Pod Autoscaler (HPA), GKE Cluster Autoscaler, standalone single-VM creation, or single-VM host maintenance reboots.

## When your agent uses it

> Diagnoses and resolves Google Compute Engine Managed Instance Group (MIG) autoscaling failures, scale-out blocks, and scale-in stalls. Use ONLY when a Compute Engine MIG fails to add or remove VM instances during load changes, hits quota or zonal stockout limits, reaches maxNumReplicas (CAPPED_AT_MAX_NUM_REPLICAS), conflicts with HTTP(S) load balancer maxRate settings, fails to scale in to zero instances, or fails to read Cloud Monitoring scaling metrics. DO NOT read or use for Google Kubernetes Engine (GKE) Horizontal Pod Autoscaler (HPA), GKE Cluster Autoscaler, standalone single-VM creation, or single-VM host maintenance reboots.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/google/skills/tree/HEAD/skills/cloud/compute-mig-autoscaling-troubleshooting)
- [License: Apache-2.0](https://github.com/google/skills/tree/HEAD/skills/cloud/compute-mig-autoscaling-troubleshooting)

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/compute-mig-autoscaling-troubleshooting` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/google/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/compute-mig-autoscaling-troubleshooting &&
cp -R "$tmp/skills/cloud/compute-mig-autoscaling-troubleshooting" ~/.claude/skills/compute-mig-autoscaling-troubleshooting &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/compute-mig-autoscaling-troubleshooting` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/compute-mig-autoscaling-troubleshooting` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/google/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/compute-mig-autoscaling-troubleshooting &&
cp -R "$tmp/skills/cloud/compute-mig-autoscaling-troubleshooting" ~/.agents/skills/compute-mig-autoscaling-troubleshooting &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/compute-mig-autoscaling-troubleshooting` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/compute-mig-autoscaling-troubleshooting` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/google/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/compute-mig-autoscaling-troubleshooting &&
cp -R "$tmp/skills/cloud/compute-mig-autoscaling-troubleshooting" ~/.cursor/skills/compute-mig-autoscaling-troubleshooting &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/compute-mig-autoscaling-troubleshooting` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/google/skills.git --path skills/cloud/compute-mig-autoscaling-troubleshooting
```

Or copy the folder to `~/.gemini/skills/compute-mig-autoscaling-troubleshooting` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/compute-mig-autoscaling-troubleshooting`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/google/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/compute-mig-autoscaling-troubleshooting &&
cp -R "$tmp/skills/cloud/compute-mig-autoscaling-troubleshooting" ~/.copilot/skills/compute-mig-autoscaling-troubleshooting &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/compute-mig-autoscaling-troubleshooting` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/google/skills.git
```

Then copy `skills/skills/cloud/compute-mig-autoscaling-troubleshooting` into your agent's skills folder as `compute-mig-autoscaling-troubleshooting`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How do I install Compute mig autoscaling troubleshooting in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/compute-mig-autoscaling-troubleshooting to use it in all your projects, or to .claude/skills/compute-mig-autoscaling-troubleshooting in one project.

### Does Compute mig autoscaling troubleshooting run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Compute mig autoscaling troubleshooting?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

---
Source: https://ai-powered.com/skills/compute-mig-autoscaling-troubleshooting
