dbt-bigquery

dbt-bigquery is a skill for Claude Code, Codex from saski/arnesto. It costs 88 tokens per session (2,912 once invoked), scanned A, a copy of dbt-bigquery, Unlicense.

Guidance for dbt, a tool that turns SQL queries into repeatable data transformations, using Google BigQuery, Google's cloud data warehouse. It covers creating, changing, troubleshooting, and optimizing dbt projects.

In plain words
What is it for?
Use it to build or modify dbt models, improve BigQuery SQL, troubleshoot pipelines, and manage dbt projects connected to Google Cloud.
Why use it?
It helps prevent incorrect or inefficient SQL pipelines and checks that the required command-line tools and project settings are available.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to build or modify dbt models, improve BigQuery SQL, troubleshoot pipelines, and manage dbt projects connected to Google Cloud.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/saski/arnesto/dbt-bigquery
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.

Any agent
npx skills add saski/arnesto --skill dbt-bigquery
Clone the repo
git clone --depth 1 https://github.com/saski/arnesto

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dbt-bigquery

README.md
[![agentmods](https://agentmods.dev/badge/skills/saski/arnesto/dbt-bigquery/github.svg)](https://agentmods.dev/skills/saski/arnesto/dbt-bigquery)
Your own site
<a href="https://agentmods.dev/skills/saski/arnesto/dbt-bigquery"><img src="https://agentmods.dev/badge/skills/saski/arnesto/dbt-bigquery/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dbt-bigquery

Your own site · 80×15
<a href="https://agentmods.dev/skills/saski/arnesto/dbt-bigquery"><img src="https://agentmods.dev/badge/skills/saski/arnesto/dbt-bigquery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,912 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 97% copy Near-identical to another mod 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.1 $0.00088 $0.02912
Opus 5.5 $0.00035 $0.01165
Sonnet 5.5 $0.00018 $0.00582
Haiku 4.5 $0.00009 $0.00291

Measured 5d ago against content hash 2b1172895b87, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dbt-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 5d ago.

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

This is a copy

97% identical to dbt-bigquery — 92 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/dbt-bigquery/SKILL.md · 314 lines

How it starts

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

dbt Expert Skill for BigQuery

Use the existing local dbt profile and project environment. Compile locally where possible. Commands that build, seed, snapshot, or run models against BigQuery require authorization for the resolved project, dataset, and operation.

Expert-level guidance for building, managing, and optimizing dbt (data build tool) pipelines targeting Google BigQuery.

Role & Persona

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

  • Prioritize technical accuracy over agreement — investigate before confirming assumptions.
  • Be direct, objective, and fact-driven. Focus on facts, problem-solving, and providing direct technical information.

Task Execution Workflow

Follow these steps when fulfilling dbt-related requests:

Step 0: Environment Verification

  1. Ensure dbt and bq CLI are installed by running dbt --version and bq version respectively.
  2. If dbt CLI is not installed, use managing-python-dependencies to set up a Python environment and install dbt-bigquery.
  3. If bq CLI is not installed, ask the user to install the gcloud CLI, as this will come with bq CLI.
  4. 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 dbt project root by searching for a dbt_project.yml file.
    • If dbt_project.yml is NOT found: Assume the repository/project is uninitialized.
  • Compile the dbt pipeline (dbt compile) to map the existing DAG.
  • Use the compiled graph as the source of truth for existing assets.

2. Gather Information

  • Read existing model files and configurations.
  • Fetch schema and sample data from both source and destination tables or GCS URIs.
    • List Datasets: bq ls --project_id=<PROJECT_ID>
    • List Tables: bq ls <PROJECT_ID>:<DATASET_ID>
    • List Graphs: bq query --use_legacy_sql=false "SELECT * FROM `<PROJECT_ID>.<DATASET_ID>.INFORMATION_SCHEMA.PROPERTY_GRAPHS`"
    • Check Schema/Info: bq show --schema --format=prettyjson <PROJECT_ID>:<DATASET_ID>.<TABLE_ID> or bq show --format=prettyjson <PROJECT_ID>:<DATASET_ID>.<TABLE_ID>
    • Preview Data: bq head --format=prettyjson <PROJECT_ID>:<DATASET_ID>.<TABLE_ID>
  • If project, dataset, or table IDs are missing, use discovering-gcp-data-assets to find them. Ask the user for confirmation if multiple candidates are found or if the correct asset is not obvious.
  • Review resolved SQL from the DAG to understand data context.

Read the full file on GitHub · 314 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. 5d ago Changed · +19 lines 2b1172895b87
  2. 3mo ago First seen · 295 lines · 88 tokens per session scan A 62db56be9a7a

Subscribe to this mod's changes

dbt-bigquery is a skill published in the GitHub repository saski/arnesto (7 stars, last pushed 5d ago), licensed Unlicense. It adds 88 tokens to every session and 2,912 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 97% identical to dbt-bigquery, differing in 92 lines, and is treated as a copy.

Related

dbt-bigquery compared with skills from other repositories

dbt-bigquery next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dbt-bigquerysaski/arnestoSkill75d agoUnlicenseA88Claude Code, Codex
cudf-query-engine-builderNVIDIA/skillsSkill4.2ktodayApache-2.0A99Claude Code, Codex
dsqlawslabs/agent-pluginsSkill955todayApache-2.0A247Claude Code
oma-dbfirst-fluke/oh-my-agentSkill1.5ktodayMITA27Claude Code
migration-risk-analyzerMathews-Tom/armorySkill3467d agoMITA60Claude Code
sql-optimizerMathews-Tom/armorySkill3467d agoMITA78Claude Code
postgres-migrationsmakifbaysal/tasktrooperSkill123yesterdayApache-2.0A43Claude Code, Codex