refresh-google-tokens
Installation
SKILL.md
Refresh Google Tokens
Refresh both Google Cloud authentication methods in one step:
- gcloud CLI auth (
gcloud auth login) - for running gcloud commands - ADC (
gcloud auth application-default login) - for Python code that calls Google APIs (Vertex AI, Secret Manager, Sheets, etc.)
When to Activate
- When you see
Reauthentication is neededorRefreshErrorerrors - When
gcloudcommands returnUNAUTHENTICATEDortoken expired - When Python code throws
google.auth.exceptions.RefreshError - At the start of a new work session (tokens expire after a few hours)
- When the user runs
/refresh-google-tokens