agent-platform-troubleshooting
O que ela faz
Esta skill diagnostica problemas nos serviços de agentes de IA do Google Cloud e escreve um relatório claro. É para quem executa agentes no Google Cloud e precisa saber por que algo não está funcionando.
Quando usar
- ✓Quando um gateway de agente, uma identidade ou uma política de acesso no Google Cloud estiver bloqueando o tráfego ou falhando.
- ✓Quando você precisar de um relatório diagnóstico escrito sobre problemas da plataforma de agentes do Google Cloud, com sugestões de correção.
- ✓Quando uma configuração de Model Armor, proxy, DNS ou rastreamento no Google Cloud não funcionar como esperado.
Link da skill
https://github.com/google/skills/blob/main/skills/cloud/agent-platform-troubleshooting/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Meu agente não consegue acessar as ferramentas dele no Google Cloud. Você pode descobrir o motivo e me dizer o que corrigir?”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
Ela verifica as configurações relevantes do Google Cloud e os problemas conhecidos, depois escreve um relatório com os achados e sugestões de correção. Ela não altera nada, então você decide o que aplicar.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Agent Platform Troubleshooting
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.
Usage Attribution
MUST READ: Before executing any gcloud, REST API, or MCP command, you
MUST read and follow Usage Attribution. 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.
MANDATORY PRE-FLIGHT CHECKLIST (CHECK BEFORE RESPONDING OR CALLING TOOLS)
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.
Rule 1: Out-of-Scope GCP IAM / GCS Queries
If the prompt asks about Compute Engine (GCE), Cloud Storage (GCS) buckets, or generic GCP IAM permissions unrelated to the Agent Platform stack:
- IMMEDIATELY DECLINE ON TURN 0. DO NOT CALL ANY TOOLS OR GIVE IAM GUIDES.
- Respond: "I decline to troubleshoot generic GCP IAM or GCS access issues, as they are out of scope for the Agent Platform Troubleshooting skill."
Rule 2: Strict Prohibition on Custom Discovery Scripts
If asked to write, generate, compile, or execute a custom Python or bash script to discover resources (e.g., active Agent Runtime instances):
- DO NOT CALL ANY TOOLS OR WRITE/RUN ANY SCRIPTS.
- RESPOND ON TURN 0: "I cannot write or execute custom Python or bash
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)
or curl REST API calls with application default credentials:
gcloud agent-registry agents list --location=us-central1orcurl -H "Authorization: Bearer $(gcloud auth application-default print-access-token)" "https://us-central1-aiplatform.googleapis.com/v1/projects/PROJECT_ID/locations/us-central1/reasoningEngines""
Rule 3: Consolidated Registry for Google APIs / Design Queries
If asked about registering multiple Agent Runtime, Cloud Resource Manager, or Google API interfaces, or structuring services in Agent Registry:
- DO NOT CALL ANY TOOLS. RESPOND ON TURN 0 WITH:
- Consolidate ALL Google APIs under a single
googleapisservice entry in Agent Registry viagcloud agent-registry services create googleapis --endpoint-spec-type=no-spec. - 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."
- List all 8 required base FQDN interfaces (plus global
https://aiplatform.googleapis.comwhen calling global Gemini models):https://agentregistry.googleapis.comhttps://aiplatform.mtls.googleapis.comhttps://cloudresourcemanager.mtls.googleapis.comhttps://iamcredentials.mtls.googleapis.comhttps://telemetry.mtls.googleapis.comhttps://{region}-aiplatform.mtls.googleapis.comhttps://{region}-aiplatform.googleapis.comhttps://aiplatform.{region}.rep.googleapis.com
- Refer to
references/agent-registry.md§2 for the full command.
- Consolidate ALL Google APIs under a single
Rule 4: Cloud Run / Cloud Functions Egress 401/403 (OIDC vs IAP MCP)
If an agent gets a 401 or 403 egress error calling an MCP server or tool on
Cloud Run or Cloud Functions:
- DO NOT RUN LOG TOOLS. RESPOND ON TURN 0 WITH:
- Explain that direct Agent Identit
Perguntas frequentes
Ela altera minha configuração do Google Cloud?
Não. Ela só produz achados e sugestões de correção, e você aplica as mudanças por conta própria.
Quais partes do Google Cloud ela cobre?
Ela cobre o Agent Gateway, o Agent Registry, o Agent Identity, o IAP, o Model Armor, proxies e o Cloud Trace, entre outros.
Ela precisa de ferramentas de linha de comando?
Sim. Ela usa comandos gcloud e chamadas REST, então a Google Cloud CLI precisa estar instalada e conectada.
Detalhes
Descrição original do autor
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 c
repo: google/skills
Popularidade
- Estrelas no GitHub
- 22 mil
- Posição no ranking
- #10209
- Licença
- Apache-2.0
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
finding-google-skills
22 milAjuda seu agente a achar os guias certos do Google para configurar um projeto, como hospedagem, banco de dados, armazenamento e login.
gcloud
22 milAjuda seu agente a escrever e verificar comandos gcloud do Google Cloud, consultando a sintaxe exata antes de executar qualquer coisa, para não adivinhar flags.
google-cloud-recipe-auth
22 milOrienta seu agente pela identidade e pelo acesso no Google Cloud, incluindo como pessoas e serviços fazem login e quais permissões recebem.
google-cloud-recipe-onboarding
22 milGuia um desenvolvedor novo pelos primeiros passos no Google Cloud, incluindo escolher um projeto, vincular o faturamento e implantar um primeiro recurso.
Skills parecidas
openclaw-update
394 milAjuda seu agente a atualizar um OpenClaw Gateway existente, escolhendo o método que combina com a instalação e mantendo sua sessão funcionando.
diagnose-gateway
394 milAjuda seu agente a descobrir por que seu OpenClaw Gateway está falhando, verificando configurações, canais e portas sem alterar nada.
crabbox-apps
394 milAjuda seu agente a abrir e executar um app em uma máquina temporária na nuvem e depois mostrar a visualização dele no painel lateral do seu chat.