setup-cortex-config

A setup guide for Cortex Framework’s config.yaml file, which stores Google Cloud, BigQuery, data-source, and transformation-target settings. BigQuery is Google Cloud’s data warehouse, while Dataform manages data transformation workflows.

In plain words
What is it for?
Use it to fill in required configuration, define replicated SAP source datasets and target datasets, and validate the settings used by Cortex and Dataform.
Why use it?
It helps catch missing or invalid project, dataset, location, and target settings before data pipelines are run.

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/setup_cortex_config
Any agent
npx skills add GoogleCloudPlatform/cortex-framework --skill setup_cortex_config
Clone the repo
git clone --depth 1 https://github.com/GoogleCloudPlatform/cortex-framework

Made for: Claude Code, Codex.

Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,413 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.00036 $0.01413
Opus 5 $0.00018 $0.00707
Sonnet 5 $0.00007 $0.00283
Haiku 4.5 $0.00004 $0.00141

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

Security

Grade A, and why

setup-cortex-config 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/configure_cortex.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/setup_cortex_config/SKILL.md · 118 lines

How it starts

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

Setup Cortex Configuration

This skill assists in establishing, customizing, and validating the primary Cortex Framework configuration (config.yaml). It uses a slot-filling experience to ensure all mandatory and optional configurations are accurately populated, conforming to Google Cloud and BigQuery formatting requirements.


Required vs. Optional Configuration

Cortex V7 requires accurate environment details to coordinate BigQuery transformations and orchestrate Dataform pipelines.

1. Mandatory Configuration Settings (Strict Validation)

The following values MUST be populated with valid, non-placeholder values:

  • buildEnvironment.buildProjectId: The Google Cloud Project ID where build operations and script executions run.
  • data.bigQueryLocation: The geographical location for BigQuery datasets (e.g., US, EU, us-central1).
  • data.sources: Needs at least one data source (typically id: sap_raw) mapping the replication source:
    • projectId: GCP project ID hosting the raw/replicated SAP tables.
    • datasetId: BigQuery dataset ID containing the replicated tables (e.g., cortex_sap_raw).
  • data.targets: Needs target datasets where transformations will be materialized:
    • Foundation Target (id: sap_foundation): Project ID and Dataset ID for processed, standard tables.
    • Product Target (id: product_target): Project ID and Dataset ID for final data products.
  • deployment.targets: Orchestration targets (Dataform repository setup):
    • repositoryProjectId: GCP Project ID hosting the Dataform repository.
    • repositoryRegion: GCP region hosting the repository (e.g., us-central1).
    • repositoryName: Unique repository name (e.g., cortex-repository).
    • workspaceName: Dataform workspace name (e.g., dev).

2. Optional Configuration Settings

  • data.namespaces: Custom namespaces for data foundation and products (default is cortex). Note: defining a custom/customer namespace is NOT required for standard framework setup, and is only recommended/required when building the customer's own new or derived data products.
  • modules.foundations settings:
    • sapVersion: Target SAP version (ecc or s4).
    • mandt: 3-digit SAP client identifier (defaults to "100").
    • enabled: Set true or false to enable/disable specific foundations.
    • tableSettings: File path override for custom table listings.
  • modules.products settings:
    • enabled: Set true or false to build/deploy individual data products.
    • tableSettings: Custom partitioning/clustering settings file path.

Read the full file on GitHub · 118 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 · 118 lines · 36 tokens per session scan A 726a0bf3233c

Subscribe to this mod's changes

setup-cortex-config is a skill published in the GitHub repository GoogleCloudPlatform/cortex-framework (10 stars, last pushed 6d ago), licensed Apache-2.0. It adds 36 tokens to every session and 1,413 once invoked, about $0.0002 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