Skip to content
Skillpedia
Machine learning22k · #10224

bigquery-ai-ml

What it does

This skill helps you run machine learning and AI tasks directly inside BigQuery using SQL. It is for analysts who want predictions or text analysis without moving their data elsewhere.

When to use it

  • ✓When you want to forecast future values or detect unusual data points in BigQuery tables.
  • ✓When you need to classify, summarize or translate text stored in BigQuery using SQL.
  • ✓When you want to run semantic or vector search on your BigQuery data.

Skill link

https://github.com/google/skills/blob/main/skills/cloud/bigquery-ai-ml/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/google/skills/blob/main/skills/cloud/bigquery-ai-ml/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Use BigQuery to forecast next month's sales from my table and flag any unusual days.”

5 new skills a week. 1 minute to read.

How it works

It writes SQL that calls BigQuery AI functions, which connect to Vertex AI for the machine learning and generative AI work. The results come back as normal query output inside BigQuery.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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.

Attribution

MUST READ: Before executing any gcloud, REST API, or MCP command, you MUST read Usage Attribution. For commands executed directly in the terminal (never in generated scripts, Terraform, or user code), prefix gcloud with CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:bigquery-ai-ml)" and append agent-skills/1.0 (skill:bigquery-ai-ml) to User-Agent headers.

Reference Directory

Related Skills

  • BigQuery Basics Skill: SKILL.md file for core BigQuery concepts, resource management, CLI, and client libraries.
FAQ

Do I need to know machine learning?

No. The functions are called from ordinary SQL queries.

Which functions does it cover?

It covers functions such as AI.FORECAST, AI.DETECT_ANOMALIES, AI.CLASSIFY and AI.GENERATE, among others.

Can it explain what drives a result?

Yes. It covers a key drivers function that shows which factors influence an outcome.

Details

Original description by the author

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, predict values, detect outliers or anomalies, find key drivers, perform semantic search or vector search, classify text, calculate similarity, summarize content, translate language, evaluate models, filter by semantic conditions, measure the causal effect of an intervention, compute correlations between columns, detect change points or structural breaks, extract trend or seasonality components, or leverage generative AI

repo: google/skills

Popularity

GitHub stars
22k
Ranking position
#10224
License
Apache-2.0
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills