/dak:resolving-mcp-region-configsfrom dak
Pre-flight check for regional Google Cloud MCP servers (Composer, Dataform, Dataflow). Inspects MCP config files for unreplaced region placeholders when tools are missing or fail.
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.
None: SKILL.md is the whole skill.
[!IMPORTANT] Pre-Flight Check Before Using Composer / Dataform / Dataflow / Regional Services or Falling Back to CLI: Whenever a task involves a regional Google Cloud service (e.g. Cloud Composer environments, DAGs, or Airflow tasks; Dataform repositories, workspaces, or workflow invocations; Dataflow jobs, pipelines, or templates): 1. Check for MCP tools first: Before executing any
gcloud composer,gcloud dataform,gcloud dataflow, or other CLI commands, check whether the expectedmcp__*__<service>__*tools (e.g.mcp__*__composer__*,mcp__*__dataform__*,mcp__*__dataflow__*) are registered in the current environment (ToolSearchor deferred tools). 2. If tools are missing or calls fail/hang on a malformed host: Do NOT immediately fall back togcloud/bqCLI. Inspect the live MCP configuration files (below) for unreplaced$GCP_REGION,${region}, or${REGION}placeholders. 3. If the region placeholder is already replaced with a valid region (e.g.us-central1): This skill does not apply — proceed normally with the task.
Some Google Cloud MCP servers are region-scoped (e.g. Composer:
https://composer.$GCP_REGION.rep.googleapis.com/mcp, Dataform:
https://dataform.$GCP_REGION.rep.googleapis.com/mcp, Dataflow:
https://dataflow.$GCP_REGION.rep.googleapis.com/mcp). If the Data Agent Kit
plugin has not been configured with a region, the server fails to connect
silently — it registers zero tools, with no error and no placeholder string
visible anywhere to notice. Treat a missing mcp__*__<service>__* tool as the
trigger, not just a failed call — that's the most common way this skill gets
skipped in favor of a gcloud/bq fallback.
mcp__* tools aren't present — check ToolSearch or the
deferred-tools listing first — or a call to one fails/hangs on a malformed
host.$GCP_REGION, ${region}, or
${REGION}. If found, run the procedure. If the region is already set, this
skill doesn't apply — investigate normally instead.Each regional MCP server in the config file is enabled through a service in
@skill:dak-setup:
dak-composer, enabled by the
Apache Airflow service.dak-dataform, enabled by the BigQuery service.dak-dataflow, enabled by the Dataflow service.Inspect the Data Agent Kit plugin MCP config file that is actually loaded at runtime (read-only — hand-editing it to replace region placeholders is PROHIBITED):
~/.claude/plugins/cache/<marketplace>/dak/<version>/.claude-plugin/mcp.json
(get <marketplace>/<version> from
~/.claude/plugins/installed_plugins.json) or ./.claude-plugin/mcp.json.~/.codex/plugins/cache/<marketplace>/dak/<version>/mcp.json
or ./mcp.json.~/.gemini/config/plugins/<plugin name>/mcp_config.json (run
agy plugin list for the installed plugin name) or ./mcp_config.json.@skill:dak-setup):
~/.gemini/config/mcp_config.json and
~/.gemini/antigravity/mcp_config.json are managed by the Data Cloud IDE
extension settings rather than @skill:dak-setup.The plugin's saved configuration (project, region, and services) is in
~/.config/data-agent-kit/config.json.
[!CAUTION] Manual Placeholder Edits Are PROHIBITED: You MUST NOT hand-edit
mcp.json,.claude-plugin/mcp.json, ormcp_config.json(or instruct the user to manually edit them) to replace$GCP_REGION,${region}, or${REGION}.@skill:dak-setupowns the plugin configuration and overwrites manual edits every time the agent starts.
You MUST NOT call the regional MCP tools yet — they will not be available until configuration and restart complete.
You MUST inspect the live config file(s) above (read-only) for
dak-composer, dak-dataform, and dak-dataflow URLs containing
$GCP_REGION, ${region}, or ${REGION}:
us-central1): stop using this skill and troubleshoot the task
normally.~/.gemini/config/mcp_config.json or
~/.gemini/antigravity/mcp_config.json): do NOT invoke
@skill:dak-setup; tell the user to set their GCP project and region in
the Data Cloud IDE extension settings.~/.config/data-agent-kit/config.json already has a non-empty
region and includes the matching service but the live plugin config
still has the placeholder: the agent has not been restarted since setup
ran. Do NOT run @skill:dak-setup again; go to step 4.If an unreplaced placeholder is present in a live Data Agent Kit plugin
MCP config, you MUST immediately invoke and follow @skill:dak-setup to
configure the plugin:
@skill:dak-setup, ensure Apache Airflow (for Composer /
dak-composer), BigQuery (for Dataform / dak-dataform), and/or
Dataflow (for Dataflow / dak-dataflow) is included in the enabled
services without dropping any previously enabled services
(@skill:dak-setup replaces the service list rather than merging it),
and verify @skill:dak-setup reports that the plugin has been
configured.@skill:dak-setup is blocked (for example,
inside Codex CLI's default read-only sandbox), instruct the user to run
the setup skill directly:
/dak:dak-setup (or
/dak-setup for Antigravity Marketplace installs).codex -s danger-full-access and
run $dak:dak-setup.You MUST tell the user that an agent restart is required after setup completes — MCP connections load once at startup and do not hot-reload mid-session. Restarting does not lose the conversation:
claude --resume (or --continue)codex resume --last (or codex resume for a picker)agy --continue (or agy -c)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
41 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-ai-mlLeverages 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./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./bigquery-graph-authorProvides an end-to-end journey for authoring a BigQuery property graph from your tables or from a model document/diagram (an ER diagram, an ontology, a semantic model): dataset discovery, candidate relationships verified against the data, a readable plan, and `CREATE PROPERTY GRAPH` DDL with schema best practices and semantic measures/dimensions, plus an opt-in verification suite for the landed graph. Use when creating or replacing a property graph, authoring a graph from a dataset or a document, or verifying relationships or suspicious edge counts. Don't use for querying an existing graph, for non-BigQuery graph databases, or for drawing/rendering diagrams./bigquery-graph-queryProvides guidelines and best practices for querying BigQuery property graphs and semantic graphs: native GQL (Graph Query Language) pattern matching, multi-hop and variable-length paths, aggregation, top-N, path extraction, output formatting (graph visualization with TO_JSON vs tabular), GRAPH_TABLE relational SQL integration, and semantic graph querying via the GRAPH_EXPAND TVF with starting-node view selection and AGG() measures. Also covers hybrid semantic search, combining `VECTOR_SEARCH` candidate generation with graph traversal when a node carries an embedding-backed property. Use when querying graph topology, node/edge connections, paths, or semantic measures over an existing BigQuery graph. Don't use for Cypher or non-BigQuery graph databases, or for creating/modifying a graph schema.Other plugins' skills for the same job
npx claudepluginhub googlecloudplatform/data-agent-kit-plugin --plugin dak