gcloud-auth-verification
Guidelines for identifying and resolving missing Google Cloud authentication and Application Default Credentials (ADC).
Skill by zjc20030326
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/zjc20030326-gcloud-auth-verification
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: cloud, security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill 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
- Instructions
- 42 lines in SKILL.md · view on GitHub
Files (2)
- LICENSE
- SKILL.md
SKILL.md (first lines)
# 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.From zjc20030326/personal-agent-skills, Apache-2.0.
More from zjc20030326/personal-agent-skills
- 0.565score
skill-repair
zjc20030326
Use this to fix and re-install agent skills that have failed installation.
SkillAFreshness: AClaude Code +9 - 0.565score
learn-anything-fast
zjc20030326
Use when a user wants to quickly learn, research, understand, practice, review, or test mastery of an unfamiliar topic under a time budget, especially for a…
SkillAFreshness: AClaude Code +9 - 0.565score
writing-mathematical-latex
zjc20030326
Use when Codex needs to write, edit, or review mathematical LaTeX for a ChatGPT response, a Markdown document, or a pure .tex source file, including proofs…
SkillAFreshness: AClaude Code +9 - 0.561score
developing-with-bigquery
zjc20030326
A repository of BigQuery-specific logic, knowledge, and specialized standards.
SkillAFreshness: AClaude Code +9 - 0.560score
learn-cs-paper
zjc20030326
Use when a user provides or identifies a computer-science paper and wants to read, translate, understand, learn, explain, implement, reproduce, or turn it…
SkillAFreshness: AClaude Code +9 - 0.554score
skillspector
zjc20030326
Scan AI agent skills, Git repositories, URLs, ZIP files, or SKILL.md files for security risks before installation.
SkillAFreshness: AClaude Code +9 - 0.539score
sora
zjc20030326
Use when the user asks to generate, edit, extend, poll, list, download, or delete Sora videos, create reusable non-human Sora character references, or run…
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 24, 2026 (5 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- v1
- License
- Apache-2.0
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from zjc20030326
- 0.565score
skill-repair
zjc20030326
Use this to fix and re-install agent skills that have failed installation.
SkillAFreshness: AClaude Code +9 - 0.565score
learn-anything-fast
zjc20030326
Use when a user wants to quickly learn, research, understand, practice, review, or test mastery of an unfamiliar topic under a time budget, especially for a…
SkillAFreshness: AClaude Code +9 - 0.565score
writing-mathematical-latex
zjc20030326
Use when Codex needs to write, edit, or review mathematical LaTeX for a ChatGPT response, a Markdown document, or a pure .tex source file, including proofs…
SkillAFreshness: AClaude Code +9 - 0.561score
developing-with-bigquery
zjc20030326
A repository of BigQuery-specific logic, knowledge, and specialized standards.
SkillAFreshness: AClaude Code +9 - 0.560score
learn-cs-paper
zjc20030326
Use when a user provides or identifies a computer-science paper and wants to read, translate, understand, learn, explain, implement, reproduce, or turn it…
SkillAFreshness: AClaude Code +9 - 0.554score
skillspector
zjc20030326
Scan AI agent skills, Git repositories, URLs, ZIP files, or SKILL.md files for security risks before installation.
SkillAFreshness: AClaude Code +9
Cite this page
gcloud-auth-verification skill. Agent Mart. https://agentmart.dev/skills/zjc20030326-gcloud-auth-verification (last updated 2026-10-24)