finding-google-skills
Locates and loads the right Google product skill on demand from a remote catalog index, instead of preloading every skill. Use at the START of any request…
Troubleshoots Google Cloud Gemini Enterprise Agent Platform issues (Agent Gateway, Registry, Identity, Policies, Model Armor, Identity-Aware Proxy (IAP)). Use when agent requests fail with 403 (especially unauthorized egress), Agent Runtime queries return 500, or gateway/IAP
$ npx -y skills add google/skills --skill agent-platform-troubleshooting --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/agent-platform-troubleshootingContext preview
The summary Claude sees to decide when to auto-load this skill.
Troubleshoots Google Cloud Gemini Enterprise Agent Platform issues (Agent Gateway, Registry, Identity, Policies, Model Armor, Identity-Aware Proxy (IAP)). Use when agent requests fail with 403 (especially unauthorized egress), Agent Runtime queries return 500, or gateway/IAP
name: agent-platform-troubleshooting description: >- Troubleshoots Google Cloud Gemini Enterprise Agent Platform issues (Agent Gateway, Registry, Identity, Policies, Model Armor, Identity-Aware Proxy (IAP)). Use when agent requests fail with 403 (especially unauthorized egress), Agent Runtime queries return 500, or gateway/IAP logs show permission errors. Don't use for general Google Cloud Identity and Access Management (IAM) debugging or networking issues unrelated to the Agent Platform stack. metadata: category: AiAndMachineLearning
> [!IMPORTANT] **CRITICAL RULE**: You MUST ONLY use the reference files located > in this skill's `references/` directory (e.g., `references/field-manual.md`, > `references/known-issues.md`, `references/agent-registry.md`). Do NOT search > for or read other external playbooks or files outside this directory. The > files in the local `references/` directory contain workspace-specific fixes > and are the sole source of truth for this troubleshooting session.
Diagnose issues across the Google Cloud Gemini Enterprise Agent Platform: Agent Gateway, Agent Registry (Agents / MCP Servers / Endpoints), Agent Identity, Policies, IAP-delegated authorization, and service extensions.
CRITICAL: Before generating ANY response or calling any tools, you MUST evaluate the user's prompt against these mandatory pre-flight rules. If a rule matches, you MUST execute its directive immediately and STOP.
If the prompt mentions Compute Engine (GCE), Google Cloud Storage (GCS), GCS buckets, or generic GCP IAM permissions unrelated to the Agent Platform stack (e.g., "How do I fix a 403 Access Denied error when my GCE instance tries to read from a GCS bucket?"):
NOT PROVIDE ANY TROUBLESHOOTING STEPS, IAM ROLE RECOMMENDATIONS, ACCESS SCOPES, OR GUIDES.**
IAM or GCS access issues, as they are out of scope for the Agent Platform Troubleshooting skill."*
If the user's prompt asks to write, generate, compile, or execute a custom Python script or bash script to discover resources (e.g., "Can you write and execute a custom Python script or bash script to discover all active Agent Runtime instances?"):
`run_command`, `blaze`, `python3`). DO NOT WRITE OR RUN ANY SCRIPTS.**
Python or bash scripts for resource discovery. Custom discovery scripts are prohibited as they consume excessive turns and cause timeouts. Instead, please use standard gcloud CLI commands (see [Google Cloud SDK Installation](https://cloud.google.com/sdk/docs/install)) or curl REST API calls with application default credentials: gcloud ai reasoning-engines list --region=us-central1"*
If the prompt asks about registering multiple Agent Runtime or Cloud Resource Manager interfaces, Google APIs, or the best way to structure/register services in Agent Registry (e.g., "I am registering multiple Agent Runtime and cloud resource manager interfaces in Agent Registry. What's the best way to do this?"):
1. Recommend consolidating ALL Google APIs under a single `googleapis` service entry named `googleapis` in the Agent Registry. 2. Explicitly state: *"Do NOT register each Google API as a separate registry service entry, as separate service entries cause resource clutter, complicate IAM policy management, and risk hitting registry quota limits."* 3. List the 8 required base FQDN interfaces:
4. Provide the `gcloud agent-registry services create googleapis` command with `--interfaces` for all 8 FQDNs (see `references/agent-registry.md` §2).
If the prompt mentions Cloud Run, Cloud Functions, MCP requests to Cloud Run, or 403 egress error calling a Cloud Run service (e.g., "My agent is failing to call an MCP server on Cloud Run. It returns a 403 egress error. How do I resolve this?"):
1. Explain that direct Agent Identity (`principalSet://...`) to Cloud Run OIDC authentication is **not natively supported**. 2. Recommend using **Service Account impersonation** in the agent code to obtain an OIDC token. 3. Specify that the Agent Identity needs **`roles/iam.serviceAccountTokenCreator`** on the target Service Account. Refer to `references/known-issues.md` BKI 21 for details.
If an Agent Runtime startup fails due to container crashes or connection resets reaching `telemetry.mtls.googleapis.com` or telemetry endpoints:
check and list all 4 required monitoring and tracing endpoints**: `telemetry.mtls.googleapis.com`, `monitoring.googleapis.com`,
This repository contains Agent Skills for Google products and technologies, including Google Cloud.
Repo: google/skills
Locates and loads the right Google product skill on demand from a remote catalog index, instead of preloading every skill. Use at the START of any request…
Provides safety-critical validation, guardrails, and data reduction for gcloud CLI operations across Google Cloud Platform (GCP) services and infrastructure.…
Provides expert guidance on authenticating and authorizing to Google Cloud services and APIs, covering human users, service identities, Application Default…
Guides a developer's first steps on Google Cloud, covering account creation, billing setup, project management, and deploying a first resource. Use when a new…
Searches, retrieves, and synthesizes official Google developer documentation across Google Cloud, AI/Gemini, Android, Chrome, Web, Flutter, Go, Firebase, and…
Guides developers through managing (adding, removing, and clearing) audience members for Google products using the Data Manager API and its associated client…