carlosmscabral/cabral-skills/google-agents-cli-adk-auth
Claude Code and agent skill by carlosmscabral/cabral-skills
- community
Checking that the SKILL.md file is still in the repository.
This skill should be used when the user wants to "configure 3-legged OAuth for an ADK agent", "build a custom UI proxy handling ADK credentials", "intercept adk_request_credential", "implement agent identity auth manager", or "set up OAuth credentials:retrieve or credentials:finalize".
Install
npx vskill@latest install carlosmscabral/cabral-skills/google-agents-cli-adk-authSKILL.md
The same SKILL.md was published earlier as carlosmscabral/cabral-skills/google-agents-cli-adk-auth.
ADK 3-Legged OAuth & Auth Manager Playbook
This operational playbook serves as a specialized AI Skill for downstream coding agents and developers building decoupled frontends or middle-tier API proxies that interact with custom Agent Development Kit (ADK) agents requiring 3-Legged OAuth (3LO) via the GCP Agent Identity Auth Manager.
When to Use This Skill
Positive Triggers
- Configuring 3-legged OAuth (3LO) for ADK agents.
- Integrating GCP Agent Identity auth manager (
agentidentitycredentials.googleapis.com/ V2 API). - Intercepting
adk_request_credentialfunction calls in middle-tier API proxies. - Managing stateless consent nonces and OAuth callback finalization (
credentials:retrieve/credentials:finalize).
Negative Triggers (When NOT to Use)
- Standard REST SSE stream parsing, UI component rendering, or basic FastAPI proxy endpoint response models without OAuth interception -> Delegate to `google-agents-cli-adk-frontend`.
📅 Effective Date & Version Warning
[!IMPORTANT]Validation Date: July 16, 2026This playbook leverages Alpha/Beta features of GCP Agent Identity and the ADK. Since these services are actively evolving, keep a close watch on API endpoints and schemas.
🌐 API Evolution & Consolidation
When developing against the Auth Manager, you will encounter two sets of APIs. Always prioritize the newer V2 API format:
- Modern V2 API (Recommended):
- Domain:
agentidentitycredentials.googleapis.com - Resource Terminology:
authProviders - Format:
projects/{project}/locations/{location}/authProviders/{provider}
- Legacy V1 API (Fallback / Deployed Environment Caveat):
- Domain:
iamconnectorcredentials.googleapis.com - Resource Terminology:
connectors - Format:
projects/{project}/locations/{location}/connectors/{connector}
[!WARNING]While older cloud environments might still expect retrieve payloads on the legacy/connectors/paths, all new integrations should aim for the unified/authProviders/namespaces.
🔄 The 3LO Handshake Architecture
When an ADK Agent needs user consent to execute an MCP tool, it emits a special function call: adk_request_credential. A custom UI application or its middle-tier proxy must intercept this call and process it through one of two branches:
🛠️ Step-by-Step Skill Implementations
To implement this flow perfectly, read the detailed reference materials and use our proven code samples:
- GCP Console & Auth Provider Setup
- Interception (Standard FastAPI Middleware Proxy)
- Read Stateless Consent Nonce Management to understand why cookies/sessions are required on Cloud Run.
- Review examples/proxy_interceptor.py to implement
/api/chatinterception.
- Resumption Payload Structure
- Review examples/stream_resumption.py to see the exact payload expected by
/run_sseto bypass popups.
- Active Debugging & Troubleshooting
- Refer to the Troubleshooting Matrix for 403, 404, and 400 errors.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/adk-developer/skills/google-agents-cli-adk-auth/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/carlosmscabral/cabral-skills/google-agents-cli-adk-auth)