gcloud-auth-verification

Diagnoses missing Google Cloud authentication and guides ADC credential setup.

Updated Aug 16, 2026
One-click install
npx skills add https://github.com/1919114514yasenpai-maker/focus-quest --skill gcloud-auth-verification-1919114514yasenpai-maker
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gcloud-auth-verification
Source: https://github.com/1919114514yasenpai-maker/focus-quest/tree/main/.gemini/skills/gcloud-auth-verification
Command: npx skills add https://github.com/1919114514yasenpai-maker/focus-quest --skill gcloud-auth-verification-1919114514yasenpai-maker

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When gcloud, bq, dataform, or Python libraries fail with authentication errors like "No credentialed accounts" or DefaultCredentialsError, this Skill identifies whether the root cause is missing credentials or IAM permissions and directs the correct fix. ## Core Features & Use Cases - Error Recognition: Matches common authentication failure messages from gcloud CLI, BigQuery, and Python google.auth libraries. - Independent Verification: Runs gcloud auth list to confirm credential status before asking the user to act, distinguishing auth issues from IAM permission problems. - Guided Remediation: Instructs the user to run gcloud auth login and gcloud auth application-default login, then verifies the result. - Use Case: A data analyst's notebook fails with DefaultCredentialsError. The Skill checks gcloud auth list, confirms no ADC exists, and asks the user to run the application-default login command before retrying the query. ## Quick Start Check why my BigQuery Python script is failing with a DefaultCredentialsError and help me fix the authentication.

Frequently Asked Questions about gcloud-auth-verification

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

FAQPage Schema
How do I fix DefaultCredentialsError in Python Google Cloud libraries?▼

DefaultCredentialsError means Application Default Credentials are not configured. Run `gcloud auth application-default login` in your terminal to create ADC, then verify with `gcloud auth list` before rerunning your script.

How to check gcloud authentication status from the command line?▼

Run `gcloud auth list` to see credentialed accounts. If the output shows "No credentialed accounts", you need to run `gcloud auth login` to authenticate the CLI before executing further commands.

Why does BigQuery return 403 Access Denied after login?▼

A 403 error with an active authenticated account usually indicates missing IAM permissions, such as BigQuery roles, rather than an authentication problem. Check the IAM roles assigned to your account instead of logging in again.

What is the difference between gcloud auth login and application-default login?▼

`gcloud auth login` authenticates the gcloud CLI itself, while `gcloud auth application-default login` creates Application Default Credentials required by the bq CLI, client libraries, and notebooks. Both are typically needed.

Can authentication credentials be fixed programmatically by a script?▼

No, credentials must be established interactively by the user through the gcloud login commands. Automated tools should verify status with `gcloud auth list` and prompt the user to authenticate rather than attempting credential fixes in code.