using-gcloud-bq-cli
CommunityDiagnose gcloud/bigquery access issues fast.
System Documentation
What problem does it solve?
This Skill helps diagnose and fix gcloud and BigQuery authentication and permission issues.
Core Features & Use Cases
- Credential troubleshooting: Validate and activate service accounts, correct credential sources, and fix GOOGLE_APPLICATION_CREDENTIALS vs gcloud credentials confusion.
- Permission verification: Verify IAM permissions and test permissions against BigQuery resources.
- Operational guidance: Clean up after service accounts and understand how new fields in nested schemas affect operations.
Quick Start
Activate the service account with:
gcloud auth activate-service-account --key-file=/path/to/key.json
Test access to BigQuery:
bq query "SELECT 1"
Verify permissions:
TOKEN=$(gcloud auth print-access-token)
curl -s -H "Authorization: Bearer ${TOKEN}"
-H "Content-Type: application/json"
"https://bigquery.googleapis.com/bigquery/v2/projects/PROJECT/datasets/DATASET/tables/TABLE:testIamPermissions"
-d '{"permissions": ["bigquery.tables.get"]}'
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: using-gcloud-bq-cli Download link: https://github.com/johnnymo87/workstation/archive/main.zip#using-gcloud-bq-cli Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.