gcloud-auth-verification
/gcloud-auth-verification
Guidelines for identifying and resolving missing Google Cloud authentication and Application Default Credentials (ADC). Use this skill if `gcloud`, `bq`, `dataform`, or Python libraries return authentication errors.
- Author
- 420company ↗
- Repository
- artemis ↗
- Licence
- MIT
- Last repository change
- 25.10.2026
Assessment and security
- Files in this package
- 2
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 25.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Guidelines for identifying and resolving missing Google Cloud authentication and Application Default Credentials (ADC). Use this skill if `gcloud`, `bq`, `dataform`, or Python libraries return authentication errors.
Original author description
Guidelines for identifying and resolving missing Google Cloud authentication and Application Default Credentials (ADC). Use this skill if `gcloud`, `bq`, `dataform`, or Python libraries return authentication errors.
How it works
- Common Error Messages
- Verification Step
- Corrective Action
- Post-Login Verification
SKILL.md preview
---
name: gcloud-auth-verification
description: Guidelines for identifying and resolving missing Google Cloud authentication
and Application Default Credentials (ADC). Use this skill if `gcloud`, `bq`, `dataform`,
or Python libraries return authentication errors.
license: Apache-2.0
metadata:
version: v1
publisher: google
---
# Handling Authentication Issues
## Common Error Messages
1. **gcloud/bq CLI**:
- `ERROR: (bq) You do not currently have an active account selected.`
- `No credentialed accounts.`
- `Configuration error: No account is currently active.`
2. **Execution Failures (Python/Notebooks)**:
- `google.auth.exceptions.DefaultCredentialsError: Could not automatically
determine credentials.`
- `Forbidden: 403 Access Denied` (when it's clearly an auth issue).
## Verification Step
Before asking the user to log in, independently verify the authentication status
by running: `gcloud auth list` * If the output contains `No credentialed
accounts.`, proceed to the **Corrective Action** steps below. * If an account
*is* listed but the user still receives a `403 Access Denied` error, the issue
is likely **IAM permissions** (e.g., missing BigQuery roles) on their active
account, rather than missing authentication. In this case, investigate the
permissions rather than asking them to log in again.
## Corrective Action
When missing credentials are confirmed, **DO NOT** attempt to fix the
credentials via code or alternative tools. Credentials must be established by
the user.
**Stop and ask the user to run the following commands in their terminal:**
1. **To authenticate the gcloud CLI**: `gcloud auth login`
2. **To set up Application Default Credentials (ADC)** (required for BQ CLI AND
most libraries/notebooks): `gcloud auth application-default login`
## Post-Login Verification
After the user confirms they have logged in, verify with: `gcloud auth list`
Then proceed with the original task.
Files in this package (2)
- SKILL.json 1 KB
- SKILL.md 2 KB
Versions
The database has no other skills named gcloud-auth-verification.
Database snapshot: 13.11.2026 · package version 341a803d4f40 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100gcloud-setup
Install and authenticate the Google Cloud CLI (gcloud, gsutil, bq) on macOS. Use when the user needs to set up gcloud from scratch, re-authenticate, add OAuth scopes for a specific Google API (Search Console, Drive, Sheets, etc.), or fix Application Default Credentials (ADC) issues. - 100gcloud
Expert Google Cloud CLI guidance. Use when the task involves gcloud commands or the Google Cloud SDK — installing or updating the CLI and components (bq, gsutil, kubectl, gke-gcloud-auth-plugin, alpha/beta), gcloud init, authentication issues (gcloud auth login vs… - 90gcp-setup
🐉 Initial Google Cloud environment verification and authentication setup. Use when starting a new session to ensure correct identities across gcloud, ADC, and kubectl. - 100google-cloud-auth-verification
Mandatory Step 0 pre-flight execution order and authentication verification for Google Cloud Platform (GCP), Application Default Credentials (ADC), gcloud CLI, Spark, Dataproc, BigQuery, GCS, and notebook runtimes. Use whenever interacting with GCP resources, running… - 100gcloud
Use the gcloud CLI from a Centaur sandbox, where iron-proxy injects Google Cloud credentials on the wire. Use before any gcloud command, Google Cloud deploy, Cloud Run, Cloud Build, Artifact Registry, Cloud Storage, or IAM task, and whenever gcloud reports no credentialed… - 100gcloud
为跨 Google Cloud Platform (GCP) 服务和基础设施的 gcloud CLI 操作提供安全关键的校验、防护措施和数据精简。 在规划、生成、构造、提议、描述或执行任何 gcloud CLI 命令时使用——包括回答关于 gcloud 语法或标志格式的问题时。 不要在编写 Google Cloud 客户端库代码或原始 REST/gRPC API 请求时使用。