update-data-product

A guide for changing an existing data product in Cortex Framework V7. A data product is a prepared set of data and transformations intended for reuse by other systems or teams.

In plain words
What is it for?
Use it to research an existing product, review its namespace and dependencies, plan changes, and modify it safely through the framework’s required workflow.
Why use it?
It helps identify downstream dependencies and replication risks before edits are made. It also warns when changing standard framework modules could cause future updates to overwrite the work.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/googlecloudplatform/cortex-framework/update_data_product
Any agent
npx skills add GoogleCloudPlatform/cortex-framework --skill update_data_product
Clone the repo
git clone --depth 1 https://github.com/GoogleCloudPlatform/cortex-framework

Made for: Claude Code, Codex.

Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,978 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00022 $0.01978
Opus 5 $0.00011 $0.00989
Sonnet 5 $0.00004 $0.00396
Haiku 4.5 $0.00002 $0.00198

Measured yesterday against content hash 45286c779fa3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

update-data-product scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/update_data_product/SKILL.md · 109 lines

How it starts

The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Modifying/Updating an Existing Data Product

This skill governs the end-to-end workflow for researching, planning, implementing, and validating changes to an existing Cortex data product (in either standard or custom namespaces).

Because modifying existing products carries risk of breaking downstream dependencies or replication chains, you MUST perform thorough impact research and obtain user approval on the plan BEFORE modifying any files.


Phase 1: Impact Research & Analysis (MANDATORY 4 STEPS)

Before writing any code, you must execute the following research steps and present an Impact Analysis Report to the user.

1. Target Discovery & Namespace Auditing

  • Locate the target data product under src/data_modules/<namespace>/<source>/products/<type>/.
  • Identify the namespace. If it is in the standard cortex namespace, you MUST warn the user that modifying standard modules directly is against best practices and risks being overwritten during future framework updates. You MUST recommend using the Clone & Modify strategy (copying the core product folder to your custom namespace under src/data_modules/<custom_namespace>/<source>/products/<type>/ and registering it in config.yaml as an override) to ensure upgrade safety and isolation.

2. Downstream Dependency Analysis

  • Use grep search or glob tools to identify all models, views, Dataform definitions, or BI configs across the repository that query or depend on the tables and columns of this target data product.
  • Document all dependencies in the impact report to prevent breaking downstream transformations.

3. GCP & BI Deployed Assets Impact Analysis (BigQuery, Data Catalog & Looker MCP)

  • If MCP access to GCP BigQuery, GCP Knowledge/Data Catalog, and/or Looker BI is available, you MUST use it to trace and understand if your changes impact already deployed assets in GCP or Looker:
    • Read Config Targets: Parse the active .cortex/config.yaml (or active profile config) to extract target environment details, specifically:
      • buildEnvironment.buildProjectId (Target Google Cloud Project)
      • data.targets.<foundation_target>.datasetId (Foundation dataset)
      • data.targets.<product_target>.datasetId (Product dataset)
    • Query View Definitions: Use the available BigQuery MCP tools (e.g. view retrieval, metadata search, or table inspection tools) to check definitions of existing active views or scheduled queries in BigQuery to identify any external dependencies (e.g., other projects, dashboards, or reporting tools) that query this table/view.
    • Inspect Lineage: If a GCP Knowledge/Data Catalog MCP is configured, use it to lookup metadata records or trace lineages to discover downstream cloud assets.
    • Trace Looker Dependencies: If a Looker MCP is available, use it to search for Looker views, LookML Explores, dimensions, measures, or active dashboards that reference the target tables/columns being updated to prevent breaking downstream business intelligence dashboards.

Read the full file on GitHub · 109 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 109 lines · 22 tokens per session scan A 45286c779fa3

Subscribe to this mod's changes

update-data-product is a skill published in the GitHub repository GoogleCloudPlatform/cortex-framework (10 stars, last pushed 6d ago), licensed Apache-2.0. It adds 22 tokens to every session and 1,978 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

google-mobile-ads-android-migrate-to-next-gen

Migrates Android applications from the old, legacy Google Mobile Ads (GMA) SDK (com.google.android.gms:play-services-ads) to the new GMA Next-Gen SDK (com.google.android.libraries.ads.mobile.sdk:ads-mobile-sdk). Provides comprehensive mapping tables for imports, classes, and method signatures to help determine…

google/skills · 105 tokens

agent-platform-tuning

Agent Platform Model Tuning. Use when you need to fine-tune open models or Gemini models using Agent Platform infrastructure. Don't use for model training outside Agent Platform, model deployment to endpoints (use agent-platform-deploy), or managing serving endpoints (use agent-platform-endpoint-management).

google/skills · 64 tokens

application-design-center-design-deploy

Processes GCP infrastructure design and deployment workflows within Application Design Center (ADC). Use when: - Designing GCP infrastructure with Terraform. - Validating local HCL. - Performing best-practice plan scans. - Importing templates to Application Design Center (ADC). - Deploying templates. - Troubleshooting…

google/skills · 94 tokens

cloud-run-basics

Manages Cloud Run services, jobs, and worker pools. Use when you need to deploy applications responding to HTTP requests (services), run event-triggered or scheduled tasks (jobs), or handle always-on pull-based background processing (worker pools).

google/skills · 53 tokens

google-analytics-data-api-basics

Manages Google Analytics reporting data, enables the Analytics Data API via the Cloud CLI, and creates reports using the Google Analytics Data API (v1beta). Use when you need to interact with Google Analytics properties, run customized analytics reports, query metrics (like activeUsers, screenPageViews) and dimensions…

google/skills · 111 tokens

agent-platform-rag-engine-management

Manage and query Agent Platform RAG Engine Corpora and retrieve grounded contexts using the Google GenAI SDK. Use when listing RAG corpora or files, inspecting a corpus, retrieving contexts, or generating content grounded in a RAG corpus. Do not use for standard database queries (use SQL/Spanner skills), Google…

google/skills · 85 tokens