# Compute host events troubleshooting

> Compute host events troubleshooting is an open-source agent skill. Investigates, diagnoses, and mitigates Google Compute Engine virtual machine (VM) host events, including planned infrastructure maintenance. 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-host-events-troubleshooting
- **Repository:** https://github.com/google/skills
- **GitHub stars:** 24,379
- **License:** Apache-2.0
- **Skill name:** compute-host-events-troubleshooting
- **Collection:** https://github.com/google/skills
- **Listing updated:** 2026-11-17

## About

Investigates, diagnoses, and mitigates Google Compute Engine virtual machine (VM) host events, including planned infrastructure maintenance (migrateOnHostMaintenance, terminateOnHostMaintenance), physical host hardware errors (hostError), guest OS terminations (guestTerminate), and Spot or Preemptible VM preemptions (compute.instances.preempted) using shutdown-script metadata. Use ONLY when an existing Compute Engine VM unexpectedly reboots, stops, crashes, is preempted, or becomes unresponsive due to physical host maintenance, hardware errors, or Local SSD recovery. DO NOT read or use for creating new standalone VMs, Managed Instance Group (MIG) autoscaler scale-out or scale-in failures, Google Kubernetes Engine (GKE) clusters, application OOM debugging, or VPC firewall issues.

## When your agent uses it

> Investigates, diagnoses, and mitigates Google Compute Engine virtual machine (VM) host events, including planned infrastructure maintenance (migrateOnHostMaintenance, terminateOnHostMaintenance), physical host hardware errors (hostError), guest OS terminations (guestTerminate), and Spot or Preemptible VM preemptions (compute.instances.preempted) using shutdown-script metadata. Use ONLY when an existing Compute Engine VM unexpectedly reboots, stops, crashes, is preempted, or becomes unresponsive due to physical host maintenance, hardware errors, or Local SSD recovery. DO NOT read or use for creating new standalone VMs, Managed Instance Group (MIG) autoscaler scale-out or scale-in failures, Google Kubernetes Engine (GKE) clusters, application OOM debugging, or VPC firewall issues.

## 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-host-events-troubleshooting)
- [License: Apache-2.0](https://github.com/google/skills/tree/HEAD/skills/cloud/compute-host-events-troubleshooting)

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/compute-host-events-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-host-events-troubleshooting &&
cp -R "$tmp/skills/cloud/compute-host-events-troubleshooting" ~/.claude/skills/compute-host-events-troubleshooting &&
rm -rf "$tmp"
```

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

### Codex

Copy the skill folder to `~/.agents/skills/compute-host-events-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-host-events-troubleshooting &&
cp -R "$tmp/skills/cloud/compute-host-events-troubleshooting" ~/.agents/skills/compute-host-events-troubleshooting &&
rm -rf "$tmp"
```

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

### Cursor

Copy the skill folder to `~/.cursor/skills/compute-host-events-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-host-events-troubleshooting &&
cp -R "$tmp/skills/cloud/compute-host-events-troubleshooting" ~/.cursor/skills/compute-host-events-troubleshooting &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/compute-host-events-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-host-events-troubleshooting
```

Or copy the folder to `~/.gemini/skills/compute-host-events-troubleshooting` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/compute-host-events-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-host-events-troubleshooting &&
cp -R "$tmp/skills/cloud/compute-host-events-troubleshooting" ~/.copilot/skills/compute-host-events-troubleshooting &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/compute-host-events-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-host-events-troubleshooting` into your agent's skills folder as `compute-host-events-troubleshooting`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How do I install Compute host events troubleshooting in Claude Code?

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

### Does Compute host events 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 host events 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-host-events-troubleshooting
