bigquery
Skill by BuilderIO
Queries BigQuery for analytics events, signups, pageviews, subscriptions and user data. Built for questions about metrics, funnels, user activity and customer usage.
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/.builder/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/.builder/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 lets an AI agent run SQL against a BigQuery warehouse through a native agent tool. The skill tells the agent to call the tool directly instead of using HTTP workarounds or scripts. The underlying server lib exposes a runQuery function that returns rows, totalRows, schema and bytesProcessed. Queries authenticate with the GOOGLE_APPLICATION_CREDENTIALS_JSON variable or Application Default Credentials, and the project comes from BIGQUERY_PROJECT_ID.
The skill maps common questions to canonical tables, such as dbt_mart tables for contracts, deals and subscriptions, and staging tables for pageviews and signups. It also documents join paths, column name differences and SQL patterns. It suits analysts and go-to-market teams who need metrics, funnels, user activity or customer usage data.
Written from the project's SKILL.md and checked against it.
What it can do
- Native BigQuery toolLets the agent call BigQuery directly with its own SQL, as a native callable tool.
- Canonical table routingPoints common questions to the right tables for contracts, deals, subscriptions and customers.
- Pageview and signup analysisQueries first pageviews, all pageviews, signups and enriched product signups.
- Subscription and customer lookupUses dim_subscriptions and enterprise_companies to find active and enterprise customers.
- Deal and contract dataReads dim_deals and dim_contracts for amounts, stages, close dates and contract values.
- Agent chat event analysisQueries Amplitude events for agent chat messages and code applied actions.
- Blog metadata lookupReads Sigma blog metadata with deduplication by blog slug.
- Cached query resultsCaches results in memory for 24 hours, keyed by a hash of the SQL.
What you need
- Google Cloud credentials in GOOGLE_APPLICATION_CREDENTIALS_JSON or Application Default Credentials
- BIGQUERY_PROJECT_ID environment variable
- Node.js with the @google-cloud/bigquery client, for the server lib
Try asking
- Show signups by UTM channel for last month using product_signups
- List active enterprise customers from dim_subscriptions with their plan
- Summarize agent chat message submitted events for the past 30 days
Good to know
- Each query is capped at 750GB billed (maximumBytesBilled).
- Results are cached for 24 hours, with a maximum of 200 entries.
- The dbt_dev schema is excluded globally and should be avoided.
- The enterprise flag in event data is unreliable, so the skill joins to dim_subscriptions instead.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: templates/analytics/.builder/skills/bigquery/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md12 KB
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
What credentials does the BigQuery skill need?
It reads credentials from the GOOGLE_APPLICATION_CREDENTIALS_JSON variable and falls back to Application Default Credentials. The project is set with BIGQUERY_PROJECT_ID.
Are repeated queries cached?
Yes. The server lib keeps an in-memory cache for 24 hours, keyed by a sha256 hash of the SQL, with a maximum of 200 entries.
Which tables does the skill use for customer and revenue questions?
It recommends dbt_mart.dim_contracts, dim_deals and dim_subscriptions for business data, and finance.arr_revenue_tracker_latest for ARR.
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 82 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.
