Analyzes the downstream impact (blast radius) using data lineage on Google Cloud when a BigQuery table or view is broken, stale, or modified. Identifies all downstream tables, dashboards, and processes that will be affected. Use when: - Performing a blast radius or impact analysis for a BigQuery table or view. - Assessing the consequences of modifying, deleting, or pausing updates to a BigQuery asset. - Identifying downstream dependencies (tables, dashboards, processes) of a BigQuery asset. Don't use for: - General BigQuery querying or data analysis (use BigQuery-related tools instead). - Non-BigQuery assets (e.g., Cloud Storage files) unless they are part of the BigQuery lineage. - Creating or modifying lineage links directly.
Written by Google and published in google/skills under the Apache-2.0 license. Treq shows it unchanged except for heading levels and links to files on GitHub.
This skill guides the agent in performing a downstream impact analysis (blast radius assessment) when a BigQuery table or view is reported as broken, stale, missing, or when a user is planning maintenance and wants to know the consequences of modifying or pausing updates to an asset.
It relies primarily on the data lineage (Knowledge Catalog) MCP Server on Google Cloud to discover relationships between assets.
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:datalineage-bigquery-asset-impact-analysis)"
and append agent-skills/1.0 (skill:datalineage-bigquery-asset-impact-analysis) to User-Agent headers.
This skill requires access to the data lineage API on Google Cloud and an active client connection to the Data Lineage MCP Server. For detailed connection configurations and tool schemas, refer to MCP Usage.
bigquery:{project_id}.{dataset_id}.{table_or_view_id}bigquery:my-prod-project.analytics.ordersIdentify the locations to search and construct the Data Lineage API request:
bq show --format=json {project_id}:{dataset_id} and extract the location field (e.g.,
us-central1 or us). If location discovery fails due to permissions or
missing tools, prompt the user for the dataset's location.parent path using the project ID and the
MCP server's location. Consult the DataLineageServer tool definition
to find the configured region or location (e.g., us). The format is:
projects/{project_id}/locations/{mcp_server_location}.locations array of the payload (e.g., ["us-central1"] or ["us", "us-central1"]).Call the DataLineageServer:search_lineage tool to fetch downstream
relationships.
DOWNSTREAM.max_depth = 10 and max_process_per_link = 5
as robust defaults.Traverse the returned lineage links to build the impact graph:
target of each link represents a downstream asset
that depends on your source asset.processes field on each link. This
identifies the ETL pipelines, BigQuery Views, or Scheduled Queries that
propagate the data.dependency_type: EXACT_COPY, mark the target as
"Directly Stale / Identical Copy".Present your findings clearly to the user using the following structure:
Executive Summary: State the total number of downstream assets affected and the maximum depth of the impact.
Critical Path: Highlight high-priority downstream assets (e.g., assets containing "prod", "dashboard", "reporting", or "master" in their names).
Blast Radius Table: A clean Markdown table listing the dependencies. You MUST include all columns:
| Downstream Asset | Transform Process | Depth | Impact Type |
|---|---|---|---|
bigquery:project.dataset.table |
projects/p/locations/l/processes/proc |
1 | Direct |
bigquery:project.dataset.view |
projects/p/locations/l/processes/view |
2 | Indirect |
Analysis Metadata: Provide transparency on the parameters and boundaries of your search so the user can choose to expand them:
{list_of_locations_queried}{parent_path}{max_depth}{max_process_per_link}DataLineageServer:search_lineage tool.bq show indicates the source table does not exist, stop and report
this directly to the user. Do not attempt to guess alternative table
names unless the user explicitly instructs you to do so.Claude Code and Codex keep each installed skill's name and description in context. When a request matches the description, the agent loads the full SKILL.md. You can also run it yourself: type /datalineage-bigquery-asset-impact-analysis in Claude Code or $datalineage-bigquery-asset-impact-analysis in Codex.
The description says when to use it:
Use when: - Performing a blast radius or impact analysis for a BigQuery table or view.
Copy the datalineage-bigquery-asset-impact-analysis folder into .claude/skills/ in your project. To use it in every project, copy it into ~/.claude/skills/ instead.
git clone --depth 1 https://github.com/google/skills.git /tmp/google-skills
mkdir -p .claude/skills
cp -r /tmp/google-skills/skills/cloud/datalineage-bigquery-asset-impact-analysis .claude/skills/
Codex reads skills from .agents/skills/ in your repository, and from ~/.agents/skills/ for every repository. It detects new skills on its own. Restart Codex if datalineage-bigquery-asset-impact-analysis does not appear.
git clone --depth 1 https://github.com/google/skills.git /tmp/google-skills
mkdir -p .agents/skills
cp -r /tmp/google-skills/skills/cloud/datalineage-bigquery-asset-impact-analysis .agents/skills/
Open Settings and select the Skills tab. The tab appears when Skills installation is on under Settings → Feature Preview. Search for datalineage-bigquery-asset-impact-analysis and choose Install….
Install for repository writes the skill under .treq/skills/ in the current repository. Install for application makes it available to every repository on this machine. Each new workspace gets a copy in .claude/skills/ and .agents/skills/, so Claude Code and Codex both find it. See Installing Skills from the Library.
datalineage-bigquery-asset-impact-analysis ships 3 files, 10.1 KB in total. Select a file to load it from GitHub.