bigquery
Skill by BuilderIO
Queries the BigQuery warehouse with SQL for warehouse tables, Amplitude events stored in BigQuery, and dbt-defined metrics. It checks the data dictionary and table schema before writing queries.
Install bigquery
Built from the published package, never by AI.
git clone --depth 1 https://github.com/BuilderIO/agent-native /tmp/agent-native && mkdir -p ~/.claude/skills && cp -r /tmp/agent-native/templates/analytics/.agents/skills/bigquery ~/.claude/skills/bigqueryRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/BuilderIO/agent-native /tmp/agent-native && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agent-native/templates/analytics/.agents/skills/bigquery ~/.gemini/antigravity-cli/skills/bigqueryAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The bigquery skill guides an AI assistant through querying a BigQuery warehouse. It uses a native bigquery tool to run SQL. Before writing any query, the assistant checks the data dictionary with find-data and confirms exact dataset, table and column names with search-bigquery-schema.
The skill sets a source order that puts dbt-built tables first, then saved dashboard SQL, then raw tables. It bounds queries by date and estimates query cost with a free dry run before large queries. Estimates over $1 per run or $50 per month are flagged for the user. It is meant for warehouse SQL, BigQuery tables, and metrics the data dictionary places in BigQuery.
Written from the project's SKILL.md and checked against it.
What it can do
- find-dataFinds ranked metric definitions and saved query examples before SQL is written.
- search-bigquery-schemaLists datasets, lists tables in a dataset, or describes table columns.
- estimate-query-costRuns a free dry run to show bytes, cost per run, and cost per month for scheduled runs.
- bigqueryRuns a real warehouse query once table and column names are known.
- query-dbt-semantic-metricRuns an owner-defined dbt Semantic Layer metric before warehouse SQL.
- get-dbt-connectionChecks the readiness of each dbt connection and its missing setup step.
- data-source-statusChecks whether BigQuery credentials and project are configured.
- estimate-dashboard-costEstimates cost for a saved dashboard using its ID and filter values, without raw SQL.
What you need
- BigQuery credentials
- A configured BigQuery project
- A bigquery tool available to the agent
Try asking
- Find the metric definition for monthly active users in the data dictionary
- Show the columns in the product_events.events table
- Estimate the cost of this BigQuery query before running it
Good to know
- Tables in the dbt_dev schema are excluded globally.
- A dry-run estimate that is partial or unpriced is not a zero-cost result.
- AI-generated dictionary entries that are not approved are suggestions only.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: templates/analytics/.agents/skills/bigquery/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to bigquery
All alternatives →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.
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.
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.
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.
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.
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.
Compare with kaggle-cli, bigquery-bigframes or data-loading
bigquery: common questions
Does the skill run queries without checking the schema first?
No. The source says to verify the metric definition and exact table and column names before writing any SQL.
How does it avoid expensive queries?
It uses estimate-query-cost, a free dry run priced at on-demand rates. Estimates over $1 per run or $50 per month are flagged so the user is told before the query runs.
Which tables does it prefer?
It prefers dbt_mart, then dbt_analytics, then dbt_staging_bigquery and dbt_intermediate. Raw source tables are a last resort when no dbt model covers the data.
How do I install bigquery?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is bigquery free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is bigquery safe to use?
It scores 79 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?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
