agent-platform-debugger
Skill by GoogleCloudPlatform
Diagnoses GCP Gemini Enterprise Agent Platform issues such as Agent Gateway 403s, Agent Registry failures and Model Armor errors. Built for engineers on Google Cloud who need a diagnostic report rather than automatic fixes.
Install agent-platform-debugger
Built from the published package, never by AI.
git clone --depth 1 https://github.com/GoogleCloudPlatform/training-data-analyst /tmp/training-data-analyst && mkdir -p ~/.claude/skills && cp -r /tmp/training-data-analyst/self-paced-labs/agents/secure-agent-egress-gateway/.agents/skills/agent-platform-debugger ~/.claude/skills/agent-platform-debuggerRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install agent-platform-debugger in Claude Code
git clone --depth 1 https://github.com/GoogleCloudPlatform/training-data-analyst /tmp/training-data-analyst && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/training-data-analyst/self-paced-labs/agents/secure-agent-egress-gateway/.agents/skills/agent-platform-debugger ~/.gemini/antigravity-cli/skills/agent-platform-debuggerAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install agent-platform-debugger in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
agent-platform-debugger is a process skill for troubleshooting the GCP Gemini Enterprise Agent Platform. It covers Agent Gateway 403s, Agent Registry failures, Agent Identity and IAM denials, IAP egressor authorization, service extensions, Model Armor integration errors and authzPolicies or authzExtensions misconfiguration. The skill follows an ordered diagnostic flow that pulls agent, gateway and IAP logs, checks the exact hostname against the registry, and reviews IAM bindings.
The output is a structured diagnostic report with root cause hypotheses, evidence, recommended fixes and verification queries. It does not apply fixes and stays read-only. It is for engineers and operators running agents on Google Cloud who hit these errors and need a guided investigation.
Written from the project's SKILL.md and checked against it.
What it can do
- Log triagePulls agent, gateway and IAP logs to confirm whether the error is a 403, a connection error or a crash.
- Hostname checkFinds the exact hostname being called and checks it against Agent Registry entries.
- IAM and IAP reviewChecks whether the agent identity has roles/iap.egressor on the registered resource.
- Authz extension reviewChecks whether an authz extension is wired to the gateway and pointing at IAP.
- Runtime health checkReviews Python dependencies, stderr logs and crash codes when a container crashes.
- PrincipalSet checkRecommends a 1:1 binding test when a principal set appears flaky.
- Diagnostic reportWrites a report with root cause, evidence, recommended fix and verification queries.
What you need
- Ambient permissions on the target GCP project
- gcloud CLI access
- Cloud Logging access
- curl for IAP and networking API calls
Try asking
- Why is my agent getting 'Egress request is not authorized'?
- Check whether my MCP server hostname is registered in Agent Registry
- Diagnose a Model Armor 500 error on my ReasoningEngine
Good to know
- Produces a diagnostic report and does not apply fixes.
- Read-only inspection only.
- Not for general GCP IAM debugging unrelated to the Agent Platform.
- Stops if the user lacks access to the target project.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: self-paced-labs/agents/secure-agent-egress-gateway/.agents/skills/agent-platform-debugger/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md14 KB -
references/agent-gateway.md27 KB -
references/agent-identity.md20 KB -
references/agent-registry.md37 KB -
references/field-manual.md21 KB
Show all 7 files
-
references/known-issues.md24 KB -
references/policies.md29 KB
Alternatives to agent-platform-debugger
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
agent-platform-debugger: common questions
Does this skill fix Agent Platform errors automatically?
No. It produces a diagnostic report with root cause hypotheses and recommended changes, and the user makes the change.
Which errors does it cover?
It covers Agent Gateway 403s, 'Egress request is not authorized' errors, ReasoningEngine 500s with Model Armor, and authzPolicies or authzExtensions misconfiguration.
When should I not use it?
The source says not to use it for general GCP IAM debugging unrelated to the Agent Platform, or for networking issues outside that stack.
How do I install agent-platform-debugger?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is agent-platform-debugger free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is agent-platform-debugger safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to agent-platform-debugger?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
