gcloud-auth-verification

Diagnose and resolve missing Google Cloud authentication and Application Default Credentials errors.

9|Updated Jul 8, 2026
One-click install
npx skills add https://github.com/jerrylin96/dotgemini --skill gcloud-auth-verification-jerrylin96
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gcloud-auth-verification
Source: https://github.com/jerrylin96/dotgemini/tree/main/skills/gcloud-auth-verification
Command: npx skills add https://github.com/jerrylin96/dotgemini --skill gcloud-auth-verification-jerrylin96

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 guides the AI to verify the actual auth state before acting, distinguishing missing credentials from IAM permission issues. ## Core Features & Use Cases - Error Recognition: Identifies common authentication failure messages from gcloud CLI, BigQuery, and Python google-auth libraries. - Independent Verification: Runs gcloud auth list to confirm whether credentials are missing before asking the user to log in. - Guided Remediation: Directs the user to run gcloud auth login and gcloud auth application-default login to establish both CLI credentials and Application Default Credentials (ADC). - Use Case: A data analyst's notebook fails with google.auth.exceptions.DefaultCredentialsError. The Skill verifies no accounts are credentialed, then instructs the user to run the ADC login command and re-verifies before continuing the original task. ## Quick Start Check why my BigQuery query is failing with an authentication error and help me fix my gcloud credentials.

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 on the machine. Run gcloud auth application-default login in your terminal to create the ADC file that Python client libraries and notebooks use automatically.

How to fix "No credentialed accounts" error in gcloud or bq CLI?

This error means no account is authenticated with the gcloud CLI. Run gcloud auth login to authenticate your account, then verify with gcloud auth list before retrying your bq or gcloud command.

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

gcloud auth login authenticates the gcloud and bq CLI tools themselves. gcloud auth application-default login creates Application Default Credentials used by client libraries, notebooks, and most Python code. Both are typically needed.

Why do I get 403 Access Denied even after logging into gcloud?

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 granted to your account on the relevant project instead of logging in again.

Can authentication be fixed programmatically without user login?

No. User credentials must be established interactively by the user running the login commands in their own terminal. Scripts or AI agents should not attempt to create or fix user credentials through code or alternative tools.