conectaesamamada

Refresh GCP CLI and ADC credentials via a local gcloud auth login command.

Updated Mar 24, 2026
One-click install
npx skills add https://github.com/Oruga420/claude-code-skills --skill conectaesamamada
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: conectaesamamada
Source: https://github.com/Oruga420/claude-code-skills/tree/main/conectaesamamada
Command: npx skills add https://github.com/Oruga420/claude-code-skills --skill conectaesamamada

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Avoids wasted time and failed attempts caused by expired Google Cloud authentication in non-interactive shells where browser-based OAuth cannot run. The skill prescribes a strict, minimal sequence to refresh both the gcloud CLI and Application Default Credentials without attempting interactive commands inside the non-interactive environment.

Core Features & Use Cases

  • Deterministic three-step procedure: test token validity, instruct the user to run a single refresh command locally, and verify project configuration.
  • Safe non-interactive handling: prevents running browser-auth or non-interactive login hacks that will crash the session.
  • Use case: reconnect Claude Code or remote development shells to the GCP deploy account and set project valid-hall-485823-k9 for subsequent operations.

Quick Start

Use the conectaesamamada skill to refresh GCP credentials by telling the user to run gcloud auth login --update-adc in their local PowerShell and then verify gcloud config set project valid-hall-485823-k9 succeeds.

Frequently Asked Questions about conectaesamamada

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix expired gcloud authentication in a non-interactive shell?

Browser-based OAuth cannot run in non-interactive shells like remote development environments. You must execute gcloud auth login --update-adc locally to refresh both the gcloud CLI and Application Default Credentials for the remote session.

What is the best way to refresh GCP Application Default Credentials for Claude Code?

The best way to refresh GCP Application Default Credentials for Claude Code is a deterministic three-step procedure: test token validity, run a single local refresh command, and verify project configuration. This avoids browser OAuth crashes in non-interactive environments.

Why does gcloud auth login fail inside remote development sessions?

gcloud auth login fails in remote development sessions because browser-based OAuth cannot run in non-interactive shells. Attempting interactive login commands in these environments causes session crashes instead of properly refreshing tokens.

Can I set a GCP project like valid-hall-485823-k9 without browser-based OAuth?

Yes, you can set a GCP project without browser-based OAuth by running gcloud auth login --update-adc in your local PowerShell first. After confirming completion, gcloud config set project valid-hall-485823-k9 will succeed in the non-interactive shell.