/bigquery:bigquery-ai-mlfrom bigquery
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, generate descriptive statistics and table distribution profiles, 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.
Ships in bigquery. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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 before writing any BQML AI/ML SQL query.
GROUP BY; synthesizes 1
summary string across many rows (unlike per-row AI.GENERATE).ML.DETECT_CHANGE_POINTS for sustained regime
shifts).output_schema); returns STRUCT. Prefer over
AI.GENERATE_TABLE.ARRAY<FLOAT64> vector embeddings for text
or visual content using a remote embedding model.FROM clause); only use
instead of AI.GENERATE when a remote model + TVF is explicitly needed.BOOL) on text or
multimodal data for WHERE/CASE/JOIN filtering (do not use
AI.GENERATE_TABLE).interest_label_col TRUE vs. FALSE). Prefer over
CONTRIBUTION_ANALYSIS.FLOAT64 semantic score to text or
multimodal data for ranking or sorting (ORDER BY).AI.EMBED generated column).FLOAT64)
between two text or multimodal inputs without stored embeddings.REMOTE WITH CONNECTION DEFAULT model
entity for functions that require one (AI.GENERATE_TABLE,
AI.GENERATE_EMBEDDING, VECTOR_SEARCH).CREATE MODEL ... OPTIONS(MODEL_TYPE='CONTRIBUTION_ANALYSIS') +
ML.GET_INSIGHTS). Use AI.KEY_DRIVERS unless a MODEL entity is
required.[begin_timestamp, end_timestamp] intervals) in a time series.ARRAY<FLOAT64> embedding columns
between a base table and query table (paired with
AI.GENERATE_EMBEDDING, unlike AI.SEARCH).LICENSE (opens in a new tab)SOURCE.md (opens in a new tab)references/ai_agg.md (opens in a new tab)references/ai_causal_effect.md (opens in a new tab)references/ai_classify.md (opens in a new tab)references/ai_detect_anomalies.md (opens in a new tab)references/ai_evaluate.md (opens in a new tab)references/ai_forecast.md (opens in a new tab)references/ai_function_best_practices.md (opens in a new tab)references/ai_generate.md (opens in a new tab)references/ai_generate_embedding.md (opens in a new tab)references/ai_generate_table.md (opens in a new tab)references/ai_if.md (opens in a new tab)references/ai_key_drivers.md (opens in a new tab)references/ai_predict.md (opens in a new tab)references/ai_score.md (opens in a new tab)references/ai_search.md (opens in a new tab)references/ai_similarity.md (opens in a new tab)references/ml_contribution_analysis.md (opens in a new tab)references/ml_correlation.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub fcakiroglu16/marketplace --plugin bigquery7 skills in this plugin
/accidental-data-loss-prevention**STOP AND VERIFY**: Before running any command or tool that results in irreversible data loss, you MUST obtain explicit user consent. When in doubt, ask. It is better to wait for confirmation than to accidentally delete production data or critical project assets. Use this for: - SQL: DROP TABLE/VIEW/SCHEMA/DATABASE, TRUNCATE, or broad DELETE (missing WHERE or using 1=1). - Cloud Storage: gsutil rm or gcloud storage rm targeting production data or critical buckets. - Infrastructure: gcloud projects delete, deleting Spanner/BigQuery/Dataproc resources, deleting secrets, or KMS key destruction./bigquery-bigframesGenerates Python code using BigQuery DataFrames (BigFrames). Use by default for any Python data task involving BigQuery, including data processing, analysis, and machine learning. Don't use for SQL-first workflows or the google-cloud-bigquery client library — use bigquery-basics./bigquery-observabilityProvides data-retrieval best practices, tool selection guidance, and performant SQL query syntax for BigQuery telemetry across INFORMATION_SCHEMA, Cloud Monitoring, and the REST API. Use when the telemetry to fetch is already known, selecting telemetry tools, writing performant INFORMATION_SCHEMA queries, retrieving telemetry for diagnosing single-job performance bottlenecks, investigating slot contention, job concurrency and queue latency, analyzing reservation capacity, utilization and autoscaling saturation, or auditing capacity-based and on-demand compute and storage resource billable usage. Don't use for root-cause diagnosis or symptom troubleshooting when the cause is unknown (use bigquery-troubleshooting first), or for writing or optimizing business logic SQL (use bigquery-optimization).Other plugins' skills for the same job