bigquery-ai-ml
This skill enables the agent to write BigQuery SQL queries that perform machine learning and generative AI operations directly in the database.
Identity proven by GitHub's verified organisation badge (flutter, google)
- Agents
- Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode, claude.ai and API
- License
- Apache-2.0 (permissive)
- Pin
- 0dd8034pinned Oct 9, 2026
- Context cost
- about 630 tokenswhen the skill loads
- GitHub stars
- 215on googlecloudplatform/data-agent-kit-plugin
- Scripts
- None found
What it does
“Leverages BigQuery's built-in machine learning and GenAI capabilities for advanced data analytics. Use when you need to write SQL queries that perform time-series forecasting, detect outliers, find key drivers, or leverage generative AI capabilities in BigQuery.”
Generated summary from the skill's own text
This skill enables the agent to write BigQuery SQL queries that perform machine learning and generative AI operations directly in the database. It provides functions for time-series forecasting, anomaly detection, key driver analysis, text generation, embeddings, and semantic search using BigQuery's integration with Vertex AI.
When to use it
- Forecasting time-series data trends within BigQuery
- Detecting anomalies or outliers in large datasets
- Finding key drivers and contributing factors in data
- Generating text or embeddings from structured data
When not to
- Building standalone ML models outside BigQuery
- Analyzing data stored in systems other than BigQuery
- Simple data aggregation without ML requirements
Install
These commands install from the publisher's repository and need no account.
skills CLI
npx skills add googlecloudplatform/data-agent-kit-plugin --skill bigquery-ai-mlInstalls from the repository's default branch, which may have changed since the commit we checked.
GitHub CLI 2.90 or later
gh skill install googlecloudplatform/data-agent-kit-plugin bigquery-ai-ml@0dd8034c50d6bce0290b99190cd44b06fcbec2c1Installs the commit we checked (0dd8034).
Copy by hand
Download the folder at 0dd8034 and put it in .claude/skills/bigquery-ai-ml for Claude Code and in .agents/skills/bigquery-ai-ml for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode.
Claude Code plugin
/plugin install chrome-devtools-mcp@claude-plugins-officialThe publisher's plugin in Claude's official marketplace. It may hold more than this skill, and we have not pinned it.
Claude Code plugin
/plugin install alloydb-omni@claude-plugins-officialThe publisher's plugin in Claude's official marketplace. It may hold more than this skill, and we have not pinned it.
Claude Code plugin
/plugin install bigquery-data-analytics@claude-plugins-officialThe publisher's plugin in Claude's official marketplace. It may hold more than this skill, and we have not pinned it.
Copy for your agent
A prompt for any coding agent. It installs this skill from GitHub at the pinned commit, copies the files as they are, and runs nothing unless you ask.
Prompt
Install the agent skill "bigquery-ai-ml" by Google. Source, pinned to commit 0dd8034c50d6bce0290b99190cd44b06fcbec2c1: https://github.com/googlecloudplatform/data-agent-kit-plugin/tree/0dd8034c50d6bce0290b99190cd44b06fcbec2c1/skills/bigquery-ai-ml 1. Download that folder at exactly this commit. Do not use the default branch. 2. Copy every file unchanged, keeping the folder structure, into .claude/skills/bigquery-ai-ml/ for Claude Code and .agents/skills/bigquery-ai-ml/ for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode. Create the folders if they do not exist. 3. Do not edit the files, and do not run any script in the folder unless I ask you to. 4. When you are done, list the files you copied and where you put them. Listing and checks: https://www.agentnative.dev/skills/google/bigquery-ai-ml
SKILL.md at the pin
---
name: bigquery-ai-ml
metadata:
version: v1
description: >-
Leverages BigQuery's built-in machine learning and GenAI capabilities
for advanced data analytics. Use when you need to write SQL queries
that perform time-series forecasting, detect outliers, find key drivers, or leverage generative AI capabilities in BigQuery.
---
# BigQuery AI & ML
BigQuery integrates with Vertex AI to provide powerful machine learning and
generative AI capabilities directly within SQL queries using built-in functions
like `AI.FORECAST`, `AI.KEY_DRIVERS`, `AI.DETECT_ANOMALIES`, and `AI.GENERATE`.
> [!IMPORTANT]
> You MUST read and follow the global constraints and mandatory function routing rules in
> [ai_function_best_practices.md](references/ai_function_best_practices.md) before writing any BQML AI/ML SQL query.
## Reference Directory
- **Best Practices**:
[ai_function_best_practices.md](references/ai_function_best_practices.md)
- **Functions Reference**:
- **AI.AGG**: [ai_agg.md](references/ai_agg.md) - Multi-row semantic
aggregation and summarization.
- **AI.CLASSIFY**: [ai_classify.md](references/ai_classify.md) -
Classify text.
- **AI.DETECT_ANOMALIES**:
[ai_detect_anomalies.md](references/ai_detect_anomalies.md) -
Detect anomalies.
- **AI.EVALUATE**: [ai_evaluate.md](references/ai_evaluate.md) -
Evaluate models.
- **AI.FORECAST**: [ai_forecast.md](references/ai_forecast.md) -
Time-series forecasting.
- **AI.GENERATE**: [ai_generate.md](references/ai_generate.md) -
Generate text using LLMs.
- **AI.GENERATE_EMBEDDING**:
[ai_generate_embedding.md](references/ai_generate_embedding.md) -
Generate embeddings.
- **AI.GENERATE_TABLE**:
[ai_generate_table.md](references/ai_generate_table.md) -
Table-valued AI generation.
- **AI.IF**: [ai_if.md](references/ai_if.md) - Evaluate semantic
conditions.
- **AI.KEY_DRIVERS**:
[ai_key_drivers.md](references/ai_key_drivers.md) - Identifies key
drivers, this is a TVF.
- **AI.SCORE**: [ai_score.md](references/ai_score.md) - Score data.
- **AI.SEARCH**: [ai_search.md](references/ai_search.md) - Semantic
search.
- **AI.SIMILARITY**:
[ai_similarity.md](references/ai_similarity.md) - Semantic
similarity.
- **Remote Models**:
[remote_models.md](references/remote_models.md) - Working with
remote models (Vertex AI).
- **CONTRIBUTION_ANALYSIS**:
[ml_contribution_analysis.md](references/ml_contribution_analysis.md)
- Finds contributing factors, key drivers of change. Requires creating
a MODEL entity.
- **VECTOR_SEARCH**:
[vector_search.md](references/vector_search.md) - Vector search
best practices.
From googlecloudplatform/data-agent-kit-plugin at 0dd8034, shown as plain text under its license: Apache-2.0 (permissive). The license text is in LICENSE.
View SKILL.md on GitHub at 0dd8034Files
- SKILL.md2.9 KB · d8d93967ba92
- references/
- ai_agg.md3.6 KB · 8c48d0d0df59
- ai_classify.md3.8 KB · 372531829a6e
- ai_detect_anomalies.md4.7 KB · 60c873f1272f
- ai_evaluate.md2.2 KB · 5b195fc893ec
- ai_forecast.md6.7 KB · 818f36c1f922
- ai_function_best_practices.md2.8 KB · 546c3770d1ef
- ai_generate.md4.0 KB · cd89d035d3d3
- ai_generate_embedding.md1.7 KB · 7f8522cc9973
- ai_generate_table.md3.0 KB · 49de655028ca
- ai_if.md2.1 KB · c833954f58ca
- ai_key_drivers.md4.1 KB · 2d5eb5d30814
- ai_score.md1.9 KB · 2d473f9850d5
- ai_search.md3.8 KB · 44ab2b704113
- ai_similarity.md2.8 KB · 52f54d47c68f
- ml_contribution_analysis.md4.9 KB · e6b4d0c705b4
- remote_models.md871 B · 58f7405ab59f
- vector_search.md4.1 KB · 80c733278415
18 files, 60 KB in total. Each file has a sha256 in the pin's manifest; the first 12 characters are shown.
Skill folder on GitHub at 0dd8034More from Google
skill-creator
This skill guides agents through creating new skills that extend Gemini CLI with specialized knowledge, workflows, and tool integrations.
Contains scripts
Gemini CLI · about 5K tokens · pinned 6 days ago
chrome-devtools-cli
This skill enables agents to automate browser interactions and inspect web pages using Chrome DevTools via command-line interface.
Claude Code, Codex, Cursor +4 · about 2.9K tokens · pinned 6 days ago
cloud-run-basics
Deploys and manages Google Cloud Run services, jobs, and worker pools for running containerized applications or source code.
Claude Code, Codex, Cursor +4 · about 3.9K tokens · pinned 6 days ago
retail-virtual-tryon
Creates virtual try-on agents on Google Cloud using Gemini image models and Veo video generation, supporting static image try-ons and catwalk animations.
Contains scripts
Claude Code, Codex, Cursor +3 · about 3.3K tokens · pinned 6 days ago
site-md
This skill analyzes project briefs and generates a .stitch/SITE.md constitution file that documents the project's identity, visual direction, architecture…
Claude Code, Codex, Cursor +4 · about 730 tokens · pinned 6 days ago
stitch::code-to-design
This skill converts existing frontend code (React, Vue, Angular, etc.) into a Stitch Design by extracting HTML, analyzing design systems, and uploading both…
Claude Code, Codex, Cursor +4 · about 760 tokens · pinned 6 days ago
Related in Data and databases
airflow-state-store
Helps agents work with Airflow 3.3's task and asset state stores for persisting coordination state across task retries, implementing crash-safe external job…
by AstronomerOfficial publisher
Claude Code, Codex, Cursor +4 · about 5.9K tokens · pinned 6 days ago
bigquery-bigframes
Enables agents to write Python code using BigQuery DataFrames for data processing, analysis, and machine learning tasks at scale.
by GoogleOfficial publisher
Claude Code, Codex, Cursor +4 · about 710 tokens · pinned 6 days ago
bigquery-graph-author
Guides users through authoring BigQuery property graphs from tables or model documents by discovering datasets, verifying relationships against actual data…
by GoogleOfficial publisher
Claude Code, Codex, Cursor +4 · about 2.5K tokens · pinned 6 days ago
bigquery-graph-query
Provides guidelines for querying BigQuery property graphs and semantic graphs using native GQL pattern matching, multi-hop paths, aggregation, and graph…
by GoogleOfficial publisher
Claude Code, Codex, Cursor +4 · about 5.3K tokens · pinned 6 days ago
dataform-bigquery
This skill helps agents generate and manage Dataform pipelines for BigQuery ELT workflows.
by GoogleOfficial publisher
Claude Code, Codex, Cursor +4 · about 3K tokens · pinned 6 days ago
dbt-bigquery
This skill guides agents in building, modifying, and optimizing dbt pipelines for Google BigQuery.
by GoogleOfficial publisher
Claude Code, Codex, Cursor +4 · about 2.8K tokens · pinned 6 days ago
Open roles at Google
No open roles at Google on the Agent Native jobs board right now.
Browse the jobs board