# API gateway troubleshooting

> API gateway troubleshooting is an open-source agent skill. Diagnoses failing requests and deployment errors on Google Cloud API Gateway. 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/api-gateway-troubleshooting
- **Repository:** https://github.com/google/skills
- **GitHub stars:** 24,379
- **License:** Apache-2.0
- **Skill name:** api-gateway-troubleshooting
- **Collection:** https://github.com/google/skills
- **Listing updated:** 2026-11-17

## About

Diagnoses failing requests and deployment errors on Google Cloud API Gateway. Use when calls through a gateway return 4xx or 5xx errors, including 429 and other quota errors, time out, or fail a CORS preflight; when `api-configs create` fails with a service account, concurrency, or limit error, or `gateways create` or `gateways update` fails; when a custom domain, load balancer, or TLS finding involves a gateway; or when the user asks if Google is at fault. Don't use for Apigee, Cloud Endpoints, or GKE Gateway API. For OpenAPI errors from `api-configs create`, use api-gateway-openapi-spec-authoring; for setting up or changing API keys, JWTs, or quotas, use api-gateway-backend-security-and-rate-limiting; for MCP `/mcp` errors, use api-gateway-mcp-server.

## When your agent uses it

> Diagnoses failing requests and deployment errors on Google Cloud API Gateway. Use when calls through a gateway return 4xx or 5xx errors, including 429 and other quota errors, time out, or fail a CORS preflight; when `api-configs create` fails with a service account, concurrency, or limit error, or `gateways create` or `gateways update` fails; when a custom domain, load balancer, or TLS finding involves a gateway; or when the user asks if Google is at fault. Don't use for Apigee, Cloud Endpoints, or GKE Gateway API. For OpenAPI errors from `api-configs create`, use api-gateway-openapi-spec-authoring; for setting up or changing API keys, JWTs, or quotas, use api-gateway-backend-security-and-rate-limiting; for MCP `/mcp` errors, use api-gateway-mcp-server.

## What it can access

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

- [Runs Python scripts](https://github.com/google/skills/tree/HEAD/skills/cloud/api-gateway-troubleshooting)
- [Network calls found in its scripts](https://github.com/google/skills/tree/HEAD/skills/cloud/api-gateway-troubleshooting)
- [License: Apache-2.0](https://github.com/google/skills/tree/HEAD/skills/cloud/api-gateway-troubleshooting)

## Install

### Claude Code

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

For one project only, put the folder in `.claude/skills/api-gateway-troubleshooting` inside it instead.

### Codex

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

For one repository only, put the folder in `.agents/skills/api-gateway-troubleshooting` inside it instead.

### Cursor

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

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

Or copy the folder to `~/.gemini/skills/api-gateway-troubleshooting` yourself.

### VS Code

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

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

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

## FAQ

### How do I install API gateway troubleshooting in Claude Code?

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

### Does API gateway troubleshooting run scripts?

Yes. It runs Python scripts. Its scripts contain network calls. 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 API gateway 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/api-gateway-troubleshooting
