finding-google-skills
Google platform decision and setup guidance, loaded on demand from Google's skill catalog. Use when a developer is choosing or…
Troubleshoots Google Cloud Gemini Enterprise Agent Platform issues across Agent Gateway, Agent Connectivity Templates (ACT), Agent Registry, Agent Identity, Identity-Aware Proxy (IAP), Unified Access Policies (UAP), Model Armor, Semantic Governance Policies (SGP), Cloud DNS
Claude Code
$ npx -y skills add google/skills --skill agent-platform-troubleshooting --agent claude-code
Codex
$ npx skills add google/skills --skill agent-platform-troubleshooting -a codex -y
Cursor
$ npx skills add google/skills --skill agent-platform-troubleshooting -a cursor -y
Gemini CLI
$ npx skills add google/skills --skill agent-platform-troubleshooting -a gemini-cli -y
GitHub Copilot
$ npx skills add google/skills --skill agent-platform-troubleshooting -a github-copilot -y
OpenCode
$ npx skills add google/skills --skill agent-platform-troubleshooting -a opencode -y
Windsurf
$ npx skills add google/skills --skill agent-platform-troubleshooting -a windsurf -y
name: agent-platform-troubleshooting description: >- Troubleshoots Google Cloud Gemini Enterprise Agent Platform issues across Agent Gateway, Agent Connectivity Templates (ACT), Agent Registry, Agent Identity, Identity-Aware Proxy (IAP), Unified Access Policies (UAP), Model Armor, Semantic Governance Policies (SGP), Cloud DNS peering, Private CA TrustConfig, Next-Hop Secure Web Proxy (SWP), Explicit HTTPS Proxy (L4 AuthzPolicy), and Cloud Trace. Use when agent requests fail with 401/403/404/498/500/503 or Code 13, Egress request is not authorized, HTTP CONNECT fails with 404, Agent Runtime crashes on startup, or gateway/ACT/IAP/Model Armor/SGP configs fail validation. Don't use for general Google Cloud Identity and Access Management (IAM) debugging or networking issues unrelated to the Agent Platform stack. metadata: version: "1.1.1" category: AiAndMachineLearning
> **Important:** You MUST ONLY use the reference files located in this skill's > `references/` directory (`references/field-manual.md`, > `references/known-issues.md`, `references/agent-gateway.md`, > `references/policies.md`, `references/agent-registry.md`, > `references/agent-identity.md`). Do NOT search for or read external playbooks > outside this directory.
Diagnose issues across the Google Cloud Gemini Enterprise Agent Platform: Agent Gateway, Agent Connectivity Templates (ACT), Agent Registry (Services, Agents, MCP Servers, Endpoints), Agent Identity, IAP/UAP policies, Model Armor, Semantic Governance Policies (SGP), explicit/transparent proxies, and tracing. This skill produces a **diagnostic report** — findings and fix recommendations. It does not apply fixes; the user owns all mutations.
**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you MUST read and follow [Usage Attribution](references/attribution.md). Prefix direct terminal `gcloud` calls (never generated scripts, Terraform, or user code) with `CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:agent-platform-troubleshooting)"` and append `agent-skills/1.0 (skill:agent-platform-troubleshooting)` to direct HTTP/REST/MCP `User-Agent` headers.
CRITICAL: Before generating ANY response or calling any tools, evaluate the user's prompt against Rules 1–14. When a Turn-0 rule matches, execute its directive immediately and STOP.
If the prompt asks about Compute Engine (GCE), Cloud Storage (GCS) buckets, or generic GCP IAM permissions unrelated to the Agent Platform stack:
they are out of scope for the Agent Platform Troubleshooting skill."*
If asked to write, generate, compile, or execute a custom Python or bash script to discover resources (e.g., active Agent Runtime instances):
scripts for resource discovery. Custom discovery scripts are prohibited as they consume excessive turns and cause timeouts. Instead, use standard gcloud CLI commands (see [Google Cloud SDK Installation](https://docs.cloud.google.com/sdk/docs/install-sdk.md.txt)) or curl REST API calls with application default credentials: `gcloud agent-registry agents list --location=us-central1` or `curl -H "Authorization: Bearer $(gcloud auth application-default print-access-token)" "https://us-central1-aiplatform.googleapis.com/v1/projects/PROJECT_ID/locations/us-central1/reasoningEngines"`"*
If asked about registering multiple Agent Runtime, Cloud Resource Manager, or Google API interfaces, or structuring services in Agent Registry:
1. Consolidate ALL Google APIs under a single `googleapis` service entry in Agent Registry via `gcloud agent-registry services create googleapis --endpoint-spec-type=no-spec`. 2. Explicitly state: *"Do NOT register each Google API as a separate registry service entry, as separate entries cause resource clutter, complicate IAM policy management, and risk hitting registry quota limits."* 3. List all 8 required base FQDN interfaces (plus global `https://aiplatform.googleapis.com` when calling global Gemini models):
4. Refer to `references/agent-registry.md` §2 for the full command.
If an agent gets a `401` or `403` egress error calling an MCP server or tool on Cloud Run or Cloud Functions:
1. Explain that direct Agent Identity (`principalSet://...` / `principal://...`) to standard Cloud Run OIDC authentication is **not natively supported**. 2. Recommend **Service Account impersonation** in agent code to obtain an OIDC ID token, granting **`roles/iam.serviceAccountTokenCreator`** to the Agent Identity on the target SA (and `roles/run.invoker` to that SA on Cloud Run). 3. Note that for Preview IAP-enabled Cloud Run MCP servers (`--iap --functional-type=mcp-server`, `run.app` short URL), authorize via IAP/UAP instead of `roles/run.invoker` (see `references/known-issues.md` BKI 21 and `re
This repository contains Agent Skills for Google products and technologies, including Google Cloud.
Google platform decision and setup guidance, loaded on demand from Google's skill catalog. Use when a developer is choosing or…
Provides safety-critical validation, guardrails, and data reduction for gcloud CLI operations across Google Cloud Platform (GCP)…
Provides expert guidance on Identity and Access Management (IAM) and authenticating and authorizing to Google Cloud services and…
Guides a developer's first steps on Google Cloud, covering account creation, billing setup, project management, and deploying a…
Searches, retrieves, and synthesizes official Google developer documentation across Google Cloud, AI/Gemini, Android, Chrome,…
Guides developers through managing (adding, removing, and clearing) audience members for Google products using the Data Manager…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.