cloud-native-gcp-bigquery

cloud-native-gcp-bigquery is a skill for Claude Code, Codex from j4flmao/agent-skills. It costs 83 tokens per session (1,590 once invoked), scanned A, original, MIT.

A guide to Google BigQuery's internal query engine and column-based storage. BigQuery is Google's managed service for running SQL queries over large datasets.

In plain words
What is it for?
Use it to understand BigQuery query execution, distributed data scans, storage encoding, and query-performance behavior.
Why use it?
It explains how queries are split across many workers and how stored data is organized so unnecessary data can be skipped.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to understand BigQuery query execution, distributed data scans, storage encoding, and query-performance behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/j4flmao/agent-skills/gcp-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 j4flmao/agent-skills --skill gcp-bigquery
Clone the repo
git clone --depth 1 https://github.com/j4flmao/agent-skills

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 cloud-native-gcp-bigquery

README.md
[![agentmods](https://agentmods.dev/badge/skills/j4flmao/agent-skills/gcp-bigquery/github.svg)](https://agentmods.dev/skills/j4flmao/agent-skills/gcp-bigquery)
Your own site
<a href="https://agentmods.dev/skills/j4flmao/agent-skills/gcp-bigquery"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/gcp-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 cloud-native-gcp-bigquery

Your own site · 80×15
<a href="https://agentmods.dev/skills/j4flmao/agent-skills/gcp-bigquery"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/gcp-bigquery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,590 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00083 $0.01590
Opus 5.5 $0.00033 $0.00636
Sonnet 5.5 $0.00017 $0.00318
Haiku 4.5 $0.00008 $0.00159

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

Security

Grade A, and why

cloud-native-gcp-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 16d 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.

skills/cloud-native/gcp-bigquery/SKILL.md · 131 lines

How it starts

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

GCP BigQuery Internals and Optimization

Purpose

BigQuery cost and speed are determined by bytes read and slot time. Knowing how Dremel distributes work and how Capacitor stores columns explains why partitioning, clustering, and column selection matter more than anything else.

Agent Protocol

Trigger

"bigquery", "bigquery cost", "partitioning", "clustering", "dremel", "capacitor", "slots", "editions", "slow query", "bytes scanned".

Input Context

  • Table sizes, query patterns (filters, joins, time ranges).
  • Pricing model in use (on-demand vs editions reservations).
  • Freshness/streaming needs.

Output Artifact

DDL, rewritten SQL, or reservation plan. No file unless requested.

Response Format

Problem: {bytes scanned|slot contention|shuffle/skew|streaming cost}
Change: {DDL/SQL}
Expected effect: {partitions pruned / columns avoided}
Verify with: {dry run bytes, INFORMATION_SCHEMA.JOBS}

Completion Criteria

  • Large tables partitioned on the dominant filter column and clustered on secondary filters.
  • Cost verified with a dry run or INFORMATION_SCHEMA.JOBS, not estimated.

Architecture

  • Storage/compute separation. Data lives in Colossus (Google's distributed file system) in the Capacitor columnar format; compute is allocated per query as slots (units of CPU/RAM/network).
  • Dremel execution. A query becomes a multi-stage plan; stages run in parallel on slots, reading only the referenced columns. Intermediate results are exchanged through a distributed in-memory shuffle tier, which lets stages scale independently.
  • Capacitor stores each column separately with encodings (dictionary, run-length, etc.) and per-block metadata (e.g. min/max) used to skip blocks — the basis of clustering's block pruning.
  • Network. Jupiter datacenter network lets workers read storage at high bandwidth, so compute does not need to be co-located with data.
flowchart LR
  Q[SQL] --> P[Query planner]
  P --> S1[Stage 1: scan + filter on slots]
  S1 --> SH[(Distributed shuffle)]
  SH --> S2[Stage 2: join / aggregate]
  S2 --> R[Result]
  S1 -.reads columns.-> C[(Capacitor files on Colossus)]

Read the full file on GitHub · 131 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. 16d ago Changed · +1 lines df503799644a
  2. 17d ago Changed · -54 tokens per session d48701776bef
  3. 1mo ago Changed · +112 lines · +137 tokens per session b2b7aa8f0631
  4. 3mo ago First seen · 18 lines · 0 tokens per session scan A 16a89a6ac541

Subscribe to this mod's changes

cloud-native-gcp-bigquery is a skill published in the GitHub repository j4flmao/agent-skills (47 stars, last pushed 17d ago), licensed MIT. It adds 83 tokens to every session and 1,590 once invoked, about $0.0003 per session on Opus 5.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-09-03.

Related

cloud-native-gcp-bigquery compared with skills from other repositories

cloud-native-gcp-bigquery next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cloud-native-gcp-bigqueryj4flmao/agent-skillsSkill4717d agoMITA83Claude Code, Codex
clawrouterBlockRunAI/ClawRouterSkill6.7ktodayMITA171Claude Code, Codex
cx-knowledge-base-ingestionGoogleCloudPlatform/professional-servicesSkill3.1kyesterdayApache-2.0A48Gemini CLI
graphjin-envdosco/graphjinSkill3.2k6d agoApache-2.0A61Claude Code, Codex
localharness-setupahwurm/localharnessSkill80todayMITA43Claude Code, Codex
model-routeroyi77/1ai-skillsSkill19yesterdayMITA39Claude Code
ecommerce-data-warehousefinsilabs/awesome-ecommerce-skillsSkill691mo agoMITA35Claude Code, Codex