gcloud-auth-verification

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

Updated Aug 26, 2026
One-click install
npx skills add https://github.com/SmileAfterBurn/pani-dumka-ai --skill gcloud-auth-verification-smileafterburn
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gcloud-auth-verification
Source: https://github.com/SmileAfterBurn/pani-dumka-ai/tree/main/.gemini/skills/gcloud-auth-verification
Command: npx skills add https://github.com/SmileAfterBurn/pani-dumka-ai --skill gcloud-auth-verification-smileafterburn

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 diagnosis and resolution of missing Google Cloud credentials without guesswork. ## Core Features & Use Cases - Error Recognition: Identifies common authentication failure messages from gcloud CLI, bq, and Python google.auth exceptions. - Status Verification: Runs gcloud auth list to confirm whether credentials are missing or whether the issue is actually IAM permissions (e.g., 403 errors on an authenticated account). - Guided Remediation: Instructs the user to run gcloud auth login and gcloud auth application-default login themselves, since credentials must be established by the user, not by code. - Use Case: A notebook fails with google.auth.exceptions.DefaultCredentialsError. The Skill verifies no ADC exists, then directs the user to set up Application Default Credentials before retrying. ## Quick Start Check my Google Cloud authentication status and help me fix the DefaultCredentialsError I'm getting in my Python notebook.

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 code.

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 confirm the account appears when you run gcloud auth list.

Why do I get 403 Access Denied even after gcloud login?▼

A 403 error on an authenticated account usually indicates missing IAM permissions, not an authentication problem. Check that your active account has the required roles, such as BigQuery roles, rather than 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 sets up Application Default Credentials used by client libraries and notebooks. Both are typically needed for CLI and Python workflows.

Can authentication credentials be fixed programmatically by a script?▼

No, credentials must be established interactively by the user through the login commands. Automated tools should verify status with gcloud auth list and then ask the user to run the login commands themselves.