Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

bigquery-troubleshooting

Skill by google

Guides AI assistants through diagnostic workflows for broken, failing, slow, or unexpectedly expensive BigQuery jobs. Built by Google for engineers who need root-cause analysis of BigQuery performance and cost issues.

  • Score 92
  • 25k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install bigquery-troubleshooting

Built from the published package, never by AI.

git clone --depth 1 https://github.com/google/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/cloud/bigquery-troubleshooting ~/.claude/skills/bigquery-troubleshooting

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install bigquery-troubleshooting in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill gives an assistant step-by-step root-cause analysis procedures for BigQuery. It covers failing or slow jobs, execution graph and query plan stage bottlenecks, system performance issues, and cost spikes. The skill starts with a bounded baseline scan when a request is open-ended, then moves into a domain-specific deep dive. Performance work compares a slow run against a fast baseline, and cost work traces slot-hours, TiB billed, and GiB stored.

The skill relies on the Google Cloud SDK, the bq command line tool, and INFORMATION_SCHEMA telemetry. It requires the BigQuery and Cloud Monitoring APIs and an active billing account, plus specific IAM roles. It is meant for engineers and data teams investigating incidents in BigQuery. Requests to write or optimize SQL, plan capacity, or design storage are handed off to sibling skills.

Written from the project's SKILL.md and checked against it.

What it can do

  • Single-job stage bottlenecksPoints up slow stages in one job using bq show lookups and stage timing.
  • Resource contention analysisDiagnoses slot contention, spill to disk, and saturated reservation capacity.
  • Capacity and configuration auditsReviews slot capacity, autoscale max slots, and reservation assignment changes.
  • Execution graph troubleshootingInvestigates join explosions, shuffle spills, and partition skew in query plans.
  • On-demand cost diagnosisFinds runaway unpartitioned scans, row-level security gaps, and BQML training multipliers.
  • Capacity cost diagnosisExplains uncovered baseline slot penalties and autoscaling surges.
  • Storage cost diagnosisTraces 90-day partition timer resets, Time Travel, and Fail-Safe storage churn.

What you need

  • Google Cloud SDK installed and configured
  • BigQuery and Cloud Monitoring APIs enabled
  • Active Google Cloud Billing account attached to the project
  • IAM roles such as bigquery.jobUser, bigquery.user, or bigquery.resourceViewer

Try asking

  • Find the slowest stage in my BigQuery job and explain the bottleneck.
  • Why did my BigQuery on-demand spend spike this week?
  • Check whether slot contention caused my BigQuery query to run slowly.

Good to know

  • Does not write or optimize SQL; hands off to bigquery-optimization.
  • Proactive capacity planning and storage layout design go to bigquery-optimization.
  • Standalone INFORMATION_SCHEMA telemetry queries are routed to bigquery-observability.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/cloud/bigquery-troubleshooting/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md11 KB
  • references/attribution.md2 KB
  • references/cost_compute_capacity.md16 KB
  • references/cost_compute_ondemand.md17 KB
  • references/cost_storage.md18 KB
Show all 8 files
  • references/performance_config_changed.md6 KB
  • references/performance_resource_contention.md11 KB
  • references/query_plan_execution_graph.md10 KB

Alternatives to bigquery-troubleshooting

All alternatives →
kaggle-cliKaggle
94

Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.

AAA Skill 7.7k
bigquery-bigframesgoogle
94

Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.

AAA Skill 25k
data-loadingmicrosoft
94

Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.

AAA Skill 18k
data-manager-api-setupgoogle
94

Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.

AAA Skill 25k
managed-airflow-dag-authoringgoogle
94

Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.

AAA Skill 25k
data-feedsdavila7
94

Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.

AAA Skill 34k

Compare with kaggle-cli, bigquery-bigframes or data-loading

bigquery-troubleshooting: common questions

What does the BigQuery troubleshooting skill diagnose?

It diagnoses failing, slow, or unexpectedly expensive BigQuery jobs, execution graph stage bottlenecks, and system performance or cost spikes. Each area has its own step-by-step workflow.

Does this skill optimize my SQL queries?

No. The source says SQL writing and optimization are handled by the bigquery-optimization skill, and the troubleshooting skill hands off those requests.

Which permissions does it need?

The source lists several IAM roles depending on the task, including bigquery.jobUser, bigquery.user, bigquery.metadataViewer, bigquery.resourceViewer, bigquery.admin, monitoring.viewer, and billing.viewer.

How do I install bigquery-troubleshooting?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is bigquery-troubleshooting free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is bigquery-troubleshooting safe to use?

It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to bigquery-troubleshooting?

Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.

bigquery-troubleshooting Install

Add to stack

Loading.