/dak:bigquery-ai-mlfrom dak
Writes BigQuery SQL using built-in ML and GenAI functions for forecasting, anomaly detection, classification, semantic search, summarization, translation, and causal analysis.
Ships in dak. 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).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)references/ml_describe_data.md (opens in a new tab)references/ml_detect_change_points.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
bigquery-ml, bqml, vertex-ai, time-series-forecasting, semantic-search
npx claudepluginhub googlecloudplatform/data-agent-kit-plugin --plugin dak41 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-data-transfer-serviceDiscovers and inspects BigQuery Data Transfer Service (DTS) configurations. Use this to identify existing ingestion pipelines and extract datasource or transfer config metadata for data pipelines. Use when a user asks for ingestion scenarios while building or managing data pipelines or when a user asks to "ingest" or "add" data that may already be managed by a DTS transfer.Other plugins' skills for the same job