bigquery-ai-ml — скилл для Claude Code: что делает и как установить
Скилл помогает писать SQL-запросы для ML и GenAI в BigQuery. Подойдёт для прогнозов, поиска аномалий, семантического поиска и анализа текста.
npx skills add google/skills --skill bigquery-ai-ml -a claude-codeЧто делает bigquery-ai-ml
bigquery-ai-ml подключает к SQL-запросам BigQuery встроенные функции машинного обучения и GenAI. Скилл помогает строить прогнозы временных рядов, предсказывать значения, находить аномалии и ключевые факторы, считать корреляции и выявлять структурные изменения.
Для работы с текстом есть классификация, суммаризация, перевод, оценка моделей, поиск и сравнение по смыслу. Также поддерживаются эмбеддинги, векторный поиск и оценка причинного эффекта вмешательства. Внутри есть справочные материалы по функциям AI.FORECAST, AI.GENERATE, AI.SEARCH и ML.TREND.
Скилл стоит поставить, если аналитика строится в BigQuery и нужны SQL-запросы для ML-задач. Для управления датасетами, таблицами или заданиями BigQuery он не предназначен.
Какие задачи решает
- спрогнозировать значения временного ряда
- найти аномалии и точки структурных изменений
- классифицировать и суммировать текст в BigQuery
- выполнить семантический или векторный поиск
- оценить влияние вмешательства на временной ряд
Примеры запросов агенту
- Составь SQL-запрос с AI.FORECAST для прогноза временного ряда.
- Найди аномалии в данных через AI.DETECT_ANOMALIES и объясни результат.
- Сделай семантический поиск по текстовым данным с помощью AI.SEARCH.
Как установить bigquery-ai-ml
1Через Skills CLI (Vercel)
npx skills add google/skills --skill bigquery-ai-ml -a claude-code2Вручную: положить файлы
~/.claude/skills/bigquery-ai-ml/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/bigquery-ai-ml/
1Через Skills CLI (Vercel)
npx skills add google/skills --skill bigquery-ai-ml -a codex2Вручную: положить файлы
.agents/skills/bigquery-ai-ml/SKILL.mdДля всех проектов — ~/.agents/skills/
Вручную: положить файлы
.cursor/skills/bigquery-ai-ml/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install google/skills bigquery-ai-ml2Вручную: положить файлы
.github/skills/bigquery-ai-ml/SKILL.md1Через Skills CLI (Vercel)
npx skills add google/skills --skill bigquery-ai-ml -a gemini-cli2Командой платформы
gemini skills install https://github.com/google/skills --path skills/cloud/bigquery-ai-mlВручную: положить файлы
.devin/skills/bigquery-ai-ml/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
Похожие
Вопросы о bigquery-ai-ml
Как установить bigquery-ai-ml в Claude Code?
Выполните npx skills add google/skills --skill bigquery-ai-ml -a claude-code. Файл скилла появится по пути ~/.claude/skills/bigquery-ai-ml/SKILL.md.
Что делает bigquery-ai-ml?
Скилл помогает писать SQL для встроенных ML- и GenAI-функций BigQuery: прогнозирования, поиска аномалий, классификации текста, семантического поиска и других задач.
С какими платформами работает bigquery-ai-ml?
Скилл предназначен для Claude Code, Gemini CLI и Codex. В материалах также есть команды установки для других сред, включая GitHub Copilot.
Исходный текст
SKILL.md · Apache-2.0
---
name: bigquery-ai-ml
metadata:
version: "1.1.1"
category: AiAndMachineLearning
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, 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 capabilities in BigQuery. Do not use for general
BigQuery dataset, table, or job management requests.
---
# 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](references/attribution.md). 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
- **Functions Reference**:
- **AI.AGG**: [ai_agg.md](references/ai_agg.md) - Multi-row semantic
aggregation and summarization.
- **AI.CAUSAL_EFFECT**:
[ai_causal_effect.md](references/ai_causal_effect.md) - Quantifies the
impact of an intervention on a time series.
- **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.
- **ML.CORRELATION**: [ml_correlation.md](references/ml_correlation.md) -
Calculates correlation between columns, optionally sliced by dimensions.
- **ML.DETECT_CHANGE_POINTS**:
[ml_detect_change_points.md](references/ml_detect_change_points.md) -
Detects structural breaks or sustained shifts in a time series.
- **ML.SEASONALITY**: [ml_seasonality.md](references/ml_seasonality.md) -
Extracts seasonal components from a time series.
- **ML.TREND**: [ml_trend.md](references/ml_trend.md) - Extracts the
long-term trend component from a time series.
- **VECTOR_SEARCH**: [vector_search.md](references/vector_search.md) -
Vector search best practices.
## Related Skills
- [BigQuery Basics Skill](../bigquery-basics): SKILL.md file for core BigQuery
concepts, resource management, CLI, and client libraries.
© google · Apache-2.0 · google/skills