bigquery-troubleshooting
Skill21k starsChanged 2 months agoApache-2.0View on GitHub
Provides diagnostic workflows and step-by-step root-cause analysis procedures for actively broken, failing, or slow BigQuery jobs, execution graph and query plan stage bottlenecks, system performance issues, or unexpectedly expensive workloads. Use when interpreting symptoms, isolating bottlenecks, diagnosing cost spikes (on-demand query spend, capacity slot autoscaling, storage growth), execution graph stages or substep variables, identifying root causes, and determining remediation steps. Don't use for writing or optimizing SQL, proactive capacity planning, or storage layout design (use bigquery-optimization), or when the user already knows which telemetry they want and just needs the query (use bigquery-observability).
Trending
Less talk lately.about the whole repository
Who's talking about google/skills
- @camilleroux.com“google/skills : dépôt open source de Google avec des dizaines de skills prêts à l'emploi pour agents IA sur …”Bluesky · Aug 11, 2026 · 9 likes
- A Hacker News story“Google repository now has 90 skills”Hacker News · Aug 6, 2026 · 5 points
- vercel-labs/skills“[Feature]: Support npx skills add to discover double nested skill directories”GitHub · Jun 23, 2026 · 5 reactions
- @matsuu.bsky.social“Google公式Skillsリポジトリ”Bluesky · May 2, 2026 · 5 likes
- @kweinmeister.bsky.social“Resources: - Vercel Labs Skills CLI: github.com/vercel-labs/... - Google Agent Skills: …”Bluesky · Jun 27, 2026 · 4 likes
The biggest 5 of 32 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 32
Talked about on Bluesky, GitHub, the web and Hacker News (32 times).
On Bluesky · 14
- Aug 11, 2026google/skills : dépôt open source de Google avec des dizaines de skills prêts à l'emploi pour agents IA sur GKE, BigQuery, Gemini API et… — @camilleroux.com9 likes and reposts · 4 replies
- May 2, 2026Google公式Skillsリポジトリ — @matsuu.bsky.social5 likes and reposts
- Jun 27, 2026Resources: - Vercel Labs Skills CLI: github.com/vercel-labs/... - Google Agent Skills: github.com/google/skills #AIAgents #GeminiAPI… — @kweinmeister.bsky.social4 likes and reposts
- Apr 22, 2026Google Cloud Next 2026 kicks off today with 3 developer announcements: * Google Agent Skills: github.com/google/skills * 75+ new codelabs:… — @kweinmeister.bsky.social4 likes and reposts
- Aug 7, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 google / skills ⭐ 15,983 (+305) 🗒 Python Agent Skills for Google products and technologies — @github-trending.bsky.social2 likes and reposts · 1 reply
9 more on Bluesky
- May 13, 2026Google の公式 skills! github.com/google/skills — @k-i.bsky.social2 likes and reposts
- Apr 22, 2026We announced Google's Official Agent Skills Repository at #GoogleCloudNext today 🥳 🚀 One command: 💻 npx skills install… — @boredabdel.bsky.social2 likes and reposts
- Oct 8, 2026Using npx to install agent skills from Google products, google/skills sets up workflows for cloud infrastructure and AI agents. 140 new… — @latreon.bsky.social1 likes and repost
- Oct 3, 2026📦 google / skills ⭐ 20,604 (+30) 🗒 Python Agent Skills for Google products and technologies — @github-trending.bsky.social1 likes and repost
- Jun 7, 2026github.com/google/skills — @bala.bsky.social1 likes and repost
- Jun 2, 2026google / skills Agent Skills for Google products and technologies https://github.com/google/skills — @pythonhub.dev1 likes and repost
- Apr 23, 2026Googleが提供するLLMのプロンプトを体系的に管理・評価するためのライブラリらしい 複雑なプロンプトの調整を効率化できそうで気になる yug1224 starred google/skills https://github.com/google/skills — @yug1224.com1 likes and repost
- Apr 23, 2026GitHub - google/skills: Agent Skills for Google products and technologies https://github.com/google/skills — @tech-trending.bsky.social1 likes and repost
- Jun 8, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 google / skills ⭐ 12,094 (+481) 🗒 Python Agent Skills for Google products and technologies — @github-trending.bsky.social0 likes and reposts · 1 reply
On GitHub · 12
- Jun 23, 2026[Feature]: Support npx skills add to discover double nested skill directories — vercel-labs/skills5 reactions · 4 comments
- Jun 24, 2026[Bug]: skills.sh page generates invalid command — vercel-labs/skills2 reactions · 3 comments
- Sep 30, 2026fix(sync-upstream-skills): upstream drift fails the sync instead of dropping the correction — gke-labs/kube-agents1 reaction · 9 comments
- Jun 30, 2026fix(discovery): discover triple-nested skills under container dirs — vercel-labs/skills1 reaction · 4 comments
- Oct 22, 2026sdk — seeleeleeyiavou-cell/Seeleeleeyiavou-cell0 reactions
7 more on GitHub
- Oct 12, 2026Upstream changes — RobStrayer/voice-agent-skills0 reactions
- Oct 3, 2026adk-multi-agent-supervisor-patterns — mjfuddel-eng/Emmyrecent.com0 reactions
- Sep 30, 2026[Candidate] google/skills - large collection (155 SKILL.md files) — ProSkillsMD/proskills0 reactions · 1 comment
- Sep 24, 2026https://github.com/google/skills https://drive.google.com/file/d/1aPgzQdVCHi4pADvdd89EiSVDFq8LFQCo/view?usp=drivesdk — at0116218-dot/Silvar0 reactions
- Sep 22, 2026No agy — davidstanke/notion-agent-demo0 reactions
- Sep 11, 2026Adhere to Agent Plugins specification — gemini-cli-extensions/google-secops0 reactions
- Apr 27, 2026remove .agent from skills path — kevmoo/dash_skills0 reactions
On the web · 4
- Jun 18, 2026Google Cloud Agent Skills - HeyClaude — heyclau.de
- Jun 9, 2026Google Launches Official Agent Skills Repository — pinggy.io
- May 25, 2026Agent Skills for Google: Free Open-Source Repo for AI & ... — facebook.com
- Apr 29, 2026Patrick Haggerty - google/skills — linkedin.com
On Hacker News · 2
- Aug 6, 2026Google repository now has 90 skills5 points
- Jun 9, 2026Google/skills: Agent Skills for Google products and technologies1 point · 1 comment
In this repository159 other files it gives its agents.
- skills/cloud/developing-genkit-dart/references/agents.mdAGENTS.md
- skills/cloud/developing-genkit-go/references/agents.mdAGENTS.md
- skills/cloud/developing-genkit-js/references/agents.mdAGENTS.md
- skills/cloud/developing-genkit-python/references/agents.mdAGENTS.md
- skills/cloud/firebase-basics/references/refresh/claude.mdCLAUDE.md
- finding-google-skillsSkill
- gcloudSkill
- google-cloud-recipe-authSkill
- google-cloud-recipe-onboardingSkill
- retrieving-developer-knowledgeSkill
- data-manager-api-audience-ingestionSkill
- data-manager-api-event-ingestionSkill
- data-manager-api-setupSkill
- google-ads-api-account-diagnosticsSkill
- google-ads-api-mcp-setupSkill
- google-ads-api-quickstartSkill
- google-mobile-ads-android-migrate-to-next-genSkill
- google-mobile-ads-bannerSkill
- google-mobile-ads-get-startedSkill
- google-mobile-ads-interstitialSkill
- google-mobile-ads-rewardedSkill
- google-mobile-ads-validateSkill
- ima-dai-sdkSkill
- ima-sdk-client-sideSkill
- google-analytics-admin-api-basicsSkill
- google-analytics-data-api-basicsSkill
- agent-platform-alert-configurationSkill
- agent-platform-deploySkill
- agent-platform-endpoint-managementSkill
- agent-platform-eval-flywheelSkill
- agent-platform-inferenceSkill
- agent-platform-migrate-from-ai-studioSkill
- agent-platform-model-registrySkill
- agent-platform-prompt-managementSkill
- agent-platform-rag-engine-managementSkill
- agent-platform-skill-registrySkill
- agent-platform-troubleshootingSkill
- agent-platform-tuning-managementSkill
- agent-platform-tuningSkill
- alloydb-basicsSkill
- application-design-center-design-deploySkill
- bigquery-ai-mlSkill
- bigquery-basicsSkill
- bigquery-bigframesSkill
- bigquery-observabilitySkill
- bigquery-optimizationSkill
- bigquery-slot-cost-optimizerSkill
- bigtable-basicsSkill
- cloud-build-basicsSkill
- cloud-databases-onboardingSkill
- cloud-logging-configuration-basicsSkill
- cloud-logging-cross-project-configurationSkill
- cloud-logging-query-generationSkill
- cloud-monitoring-chart-generationSkill
- cloud-monitoring-list-time-series-requestSkill
- cloud-monitoring-metric-selectionSkill
- cloud-monitoring-promql-querySkill
- cloud-run-alert-configurationSkill
- cloud-run-basicsSkill
- cloud-sql-basicsSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 6 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
Before running diagnostic queries or investigating incident telemetry:
- Distinctive: line 25
Google Cloud SDK: Ensure the Google Cloud SDK is installed and configured.
- Distinctive: line 34
API Enablement: Ensure BigQuery and Cloud Monitoring APIs are enabled:
- Very specific: line 48
Verify an active Google Cloud Billing account is attached to {project_id}.
- Distinctive: line 50
Ensure appropriate IAM roles:
- Very specific: line 77
Telemetry Tool Selection: Follow the tool-selection guidance in bigquery-observability (bigquery_observability) to select the appropriate …
- Distinctive: line 91
Bounded Initial Scan: Follow the baseline scan guidance in the corresponding domain reference under Domain References.
- Distinctive: line 183
If a user request shifts outside incident diagnosis during troubleshooting, execute the corresponding handoff:
- Very specific: line 186
SQL Query Optimizations: When the user asks to optimize the SQL query (e.g., rewriting joins or eliminating SELECT *), hand off to …
- Very specific: line 189
Raw Telemetry & Schema Retrieval: When the user asks for standalone INFORMATION_SCHEMA queries without an active performance regression or …
- Very specific: line 193
Proactive Capacity & Storage Planning: When the user requests future reservation sizing, commitment purchasing, or storage billing model …
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
BigQuery Troubleshooting
Prerequisites & Environment Setup
Before running diagnostic queries or investigating incident telemetry:
- Google Cloud SDK: Ensure the Google Cloud SDK is installed and configured.
Project Selection: Set the active Google Cloud project:
gcloud config set project {project_id}API Enablement: Ensure BigQuery and Cloud Monitoring APIs are enabled:
gcloud services enable bigquery.googleapis.com monitoring.googleapis.com- Authentication: Authenticate the environment:
- CLI commands (
bq show -j):gcloud auth login - SDKs and automated diagnostic scripts:
gcloud auth application-default login - Service accounts: Set
GOOGLE_APPLICATION_CREDENTIALS="/path/to/key.json"
- CLI commands (
- Billing & IAM Roles:
- Verify an active Google Cloud Billing account is attached to
{project_id}. - Ensure appropriate IAM roles:
roles/bigquery.jobUser: Executing diagnostic queries.roles/bigquery.resourceViewerorroles/bigquery.admin: Inspecting reservation and job execution telemetry.roles/monitoring.viewer: Cloud Monitoring metrics.roles/billing.viewer: Cloud Billing reports and cost attribution.
- Verify an active Google Cloud Billing account is attached to
Companion Skills Installation: This skill is part of a 3-pillar operations suite (
bigquery-observability,bigquery-optimization,bigquery-troubleshooting). If any companion skill is not yet installed in your environment, install the full suite:npx skills add google/skills --skill bigquery-observability --skill bigquery-optimization --skill bigquery-troubleshooting(If
bigquery-observabilityis not installed, use the self-contained baseline formulas and query templates provided directly in the reference sections below).
Workflow
- Scope & Symptom Identification: Identify the primary symptom, target
project_id,region,reservation_id, orjob_id, and domain (Performance, Compute Cost, or Storage Cost). If the request falls outside incident diagnosis or asks for a sibling domain, follow Routing Boundaries below. - Telemetry Tool Selection: Follow the tool-selection guidance in
bigquery-observability
(
bigquery_observability) to select the appropriate telemetry interface (REST APIbq show --location={location} -j {project_id}:{job_id}for single-job stage bottlenecks vs.INFORMATION_SCHEMAfor system-wide factors). Diagnostic workflows, symptom-to-cause mappings, key tables/fields, CLI triage commands, and remediation levers are fully defined in this skill. For pre-composed SQL query templates and full schema dictionaries, consultbigquery-observability. - Open-Ended Triage (Stage 1 Baseline Scan & Conversational Gate): When
the user inquiry is open-ended or vague (e.g. "Why is BigQuery slow
today?" or "Why did my bill spike?"), execute a bounded high-level
baseline scan to isolate the affected domain before drilling into deep-dive
diagnostics:
- Bounded Initial Scan: Follow the baseline scan guidance in the corresponding domain reference under Domain References. Ensure initial queries are strictly bounded (e.g. 7-day Period-over-Period with partition and job-type filters; for unspecified cost spikes, scan the 3 primary vectors: On-Demand TiB, Capacity slot-hours, and Storage GiB) to keep diagnostic telemetry overhead minimal.
- Conversational Gate: Factually summarize high-level baseline findings first and propose 2–3 focused drill-down options rather than dumping downstream sub-vector queries unsolicited.
- Domain Deep Dive & Comparative Analysis: Execute the step-by-step
diagnostic workflow defined in the corresponding domain reference file
listed under Domain References below, then run the corresponding query
from bigquery-observability following its
INFORMATION_SCHEMAbest practices to isolate the root cause via comparative analysis against a normal baseline.
Performance Context: The Relativity of "Slow"
Performance is relative. Always approach performance troubleshooting as a comparative exercise: identify a comparable past execution, compare the statistics, and isolate which dimension shifted between a fast baseline and the slow execution:
- Data Processed: Data volume increase, partition/cluster pruning changes, data skew, input record amplification.
- Underlying Definitions: View changes, schema modifications.
- System Contention: Noisy neighbors, saturated capacity (>95% slot utilization), idle slot availability, concurrent query spikes.
- Configuration Changes: Slot capacity/autoscale max slots changes, expired capacity commitments, idle slot setting changes, or reservation reassignments.
Cost Context: The 4-Step Diagnostic Funnel
Cost troubleshooting requires tracing physical resource consumption (Slot-Hours, TiB Billed, GiB Stored) rather than fluctuating contract rates:
- Gather: Determine scope and pull 7-day PoP (or explicit MoM / 180-day) baseline metrics.
- Isolate: Pinpoint whether spend surged from query volume, a single "Bully Query", BQML 50x multipliers, uncovered PAYG baselines, autoscaling bursts, 90-day storage timer resets, or physical Fail-Safe retention drain.
- Explain: Correlate with administrative events
(
INFORMATION_SCHEMA.RESERVATION_CHANGES,INFORMATION_SCHEMA.CAPACITY_COMMITMENT_CHANGES_BY_PROJECT,INFORMATION_SCHEMA.SCHEMATA_OPTIONS, or actoruser_email/query_hash). - Remediate: Deliver actionable levers (partition filter enforcement, query caps, commitment purchases, or Time Travel reduction).
Domain References
Performance Troubleshooting
- Resource Contention & Performance Slowness
(
references/performance_resource_contention.md): Diagnostic workflows for isolating single-job stage bottlenecks (slot_contention,spill_to_disk), cohort baseline comparisons (normalized_literals), incident window discovery, 1-second reservation slot saturation, timeframe contention comparisons, fleet performance variance, and table-level concurrency. - Capacity & Configuration Changes
(
references/performance_config_changed.md): Diagnostic workflows for auditing reservationslot_capacityandautoscale.max_slotsedits, tracking active capacity commitment timelines, diagnosing reservation assignment modifications, and evaluating autoscaling headroom saturation. - Execution Graph & Query Plan Troubleshooting
(
references/query_plan_execution_graph.md): Diagnostic workflows for investigating single-job stage bottlenecks (bq showpoint-lookups), isolating slowest stages (end_ms - start_ms), substep intermediate variable disambiguation ($1,$2), mandatory bytes scanned vs records read corrections, and UI execution graph grounding concepts.
Cost Troubleshooting
- On-Demand Compute Costs (
references/cost_compute_ondemand.md): Diagnostic workflows for unpartitioned runaway scans (the "Bully Query"), hidden Row-Level Security (RLS) redaction gaps, BigQuery ML (BQML) 50x model training rate multipliers, and user/service account query quotas. - Capacity (Editions) Compute Costs
(
references/cost_compute_capacity.md): Diagnostic workflows for uncovered baseline slot penalties (baseline > commitments), reservation baseline reductions triggering autoscale surges (RESERVATION_BASELINE_CHANGED), autoscaler thrashing from batch cron spikes, and serverless Apache Spark stored procedure slot-hours. - Storage Footprint & Retention Costs (
references/cost_storage.md): Diagnostic workflows for historical partition 90-day timer resets (the DML trap), unpartitioned table active data traps, physical Time Travel and Fail-Safe churn on daily overwrites, and dropped table Fail-Safe drain periods.
Routing Boundaries
If a user request shifts outside incident diagnosis during troubleshooting, execute the corresponding handoff:
- SQL Query Optimizations: When the user asks to optimize the SQL query
(e.g., rewriting joins or eliminating
SELECT *), hand off tobigquery-optimization. - Raw Telemetry & Schema Retrieval: When the user asks for standalone
INFORMATION_SCHEMAqueries without an active performance regression or incident (e.g. general telemetry queries), hand off tobigquery-observability. - Proactive Capacity & Storage Planning: When the user requests future
reservation sizing, commitment purchasing, or storage billing model
evaluations, hand off to
bigquery-optimization.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

