dataform-bigquery

A guide for creating and changing Dataform pipelines that transform data in BigQuery. Dataform is a tool for organising SQL transformations and their dependencies.

In plain words
What is it for?
Use it to create or modify Dataform actions, SQLX files, source declarations, and pipelines that load or transform BigQuery data.
Why use it?
It helps produce consistent pipeline code and checks the available command-line tools and project settings before work begins.

Skill for Claude CodeCodex

Part of the dak plugin — 29 skills, 13 MCP servers shipped together

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/gemini-cli-extensions/data-agent-kit-starter-pack/dataform-bigquery
Any agent
npx skills add gemini-cli-extensions/data-agent-kit-starter-pack --skill dataform-bigquery
Clone the repo
git clone --depth 1 https://github.com/gemini-cli-extensions/data-agent-kit-starter-pack

Made for: Claude Code, Codex.

Or install dak, the plugin that ships this one along with the rest of its 29 skills, 13 MCP servers.

Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,934 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.00089 $0.02934
Opus 5 $0.00044 $0.01467
Sonnet 5 $0.00018 $0.00587
Haiku 4.5 $0.00009 $0.00293

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

Security

Grade A, and why

dataform-bigquery 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/dataform-bigquery/SKILL.md · 309 lines

How it starts

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

Dataform Expert Skill for BigQuery

Expert-level guidance for building, managing, and optimizing Dataform pipelines targeting Google BigQuery.

Role & Persona

Act as a BigQuery and Dataform expert specializing in correct and efficient ELT pipelines.

  • Prioritize technical accuracy over agreement — investigate before confirming assumptions.
  • Be direct, objective, and fact-driven.
  • Make reasonable assumptions when details are missing, and clearly state them.

Task Execution Workflow

Follow these steps when fulfilling Dataform-related requests:

Step 0: Environment Verification

  1. Ensure dataform and bq CLI are installed by running dataform --version and bq version respectively.
  2. If dataform CLI is not installed, ensure Node.js and npm are installed by running node -v and npm -v respectively.
  3. If Node.js or npm are not installed already, ask the user to install them.
  4. If they are both installed, proceed to install the dataform CLI by running npm i -g @dataform/cli and verifying the installation with dataform --version.
  5. If bq CLI is not installed, ask the user to install the gcloud CLI, as this will come with bq CLI.
  6. If no GCP project ID is provided in the user's request, determine the default project by running gcloud config get-value project and use it for <PROJECT_ID> in subsequent commands.

1. Understand the Current State

  • Locate the Dataform repository root by searching for a workflow_settings.yaml file.
    • If workflow_settings.yaml is NOT found:
      • Assume the repository is uninitialized.
      • Initialize it by running dataform init <PROJECT_DIR> <PROJECT_ID> <DEFAULT_LOCATION>.
      • Example: dataform init my-repo my-gcp-project us-central1 will create a repository in my-repo.
    • If workflow_settings.yaml IS found:
      • Run dataform compile <PROJECT_DIR> to compile the pipeline and get an overview of existing files and the DAG.
  • Once the repository is located or initialized, check if .df-credentials.json is present in the Dataform project directory. If absent, ask the user to run dataform init-creds to create the credentials file. If the user cannot initialize the credentials, write the .df-credentials.json file manually, following the format below. Replace <PROJECT_ID> with a Google Cloud project for billing (e.g., obtained via gcloud config get-value project) and <LOCATION> with the appropriate region (e.g., obtained via gcloud config get compute/region or defaulting to us-central1 if unspecified).

Read the full file on GitHub · 309 lines

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 Changed · +3 lines e8caf8479653
  2. 3d ago First seen · 306 lines · 89 tokens per session scan A 9e71d5519177

Subscribe to this mod's changes

dataform-bigquery is a skill published in the GitHub repository gemini-cli-extensions/data-agent-kit-starter-pack (177 stars, last pushed yesterday), licensed Apache-2.0. It adds 89 tokens to every session and 2,934 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

agent-platform-model-registry

Agent Platform Model Registry Management. Use when you need to upload, list, describe, update, or delete machine learning models (and their versions) in the Agent Platform Model Registry. Don't use for model training, model deployment to endpoints, or managing non-Agent Platform models.

google/skills · 60 tokens

bigquery-ai-ml

Leverages 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…

google/skills · 104 tokens

ondb

A logical analysis and reasoning tool for AI. Use when decomposing documents into structured knowledge, querying entities and relations, validating consistency, or indexing files. Trigger on "remember", "what do I know about", "link X to Y", "show dependencies", "analyze this document", entity CRUD, or cross-skill…

x-cmd/x-cmd · 71 tokens

neuron-evaluation-engineer

Create and run AI evaluations with datasets, assertions, and output drivers in Neuron AI. Use this skill whenever the user mentions evaluation, testing AI systems, creating evaluators, dataset-driven testing, assertion-based validation, or wants to measure AI system performance. Also trigger for tasks involving…

neuron-core/neuron-ai · 77 tokens

mixed-precision

Use FP16/BF16 mixed precision to accelerate training and reduce memory. Use when optimizing GPU performance.

aiming-lab/AutoResearchClaw · 25 tokens

sparse-autoencoder-training

Provides guidance for training and analyzing Sparse Autoencoders (SAEs) using SAELens to decompose neural network activations into interpretable features. Use when discovering interpretable features, analyzing superposition, or studying monosemantic representations in language models.

Orchestra-Research/AI-Research-SKILLs · 58 tokens