bigquery

bigquery is a skill for Claude Code from jpantsjoha/googlecloud-plugin. It costs 89 tokens per session (683 once invoked), scanned A, original, MIT.

A guide for querying and managing Google BigQuery, Google's cloud data warehouse. It also covers permissions and ways to organize tables for faster, cheaper queries.

In plain words
What is it for?
Use it to create datasets and tables, run cost-checked SQL queries, grant limited access, and configure table partitioning and clustering.
Why use it?
BigQuery charges based on the amount of data processed, so the guide requires estimating query cost before running unfamiliar or large queries.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the googlecloud-plugin plugin — 20 skills, 1 hook, 2 MCP servers shipped together

Good fit Use it to create datasets and tables, run cost-checked SQL queries, grant limited access, and configure table partitioning and clustering.

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

Made for: Claude Code.

Or install googlecloud-plugin, the plugin that ships this one along with the rest of its 20 skills, 1 hook, 2 MCP servers.

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 bigquery

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jpantsjoha/googlecloud-plugin/bigquery"><img src="https://agentmods.dev/badge/skills/jpantsjoha/googlecloud-plugin/bigquery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 683 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 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.00089 $0.00683
Opus 5.5 $0.00036 $0.00273
Sonnet 5.5 $0.00018 $0.00137
Haiku 4.5 $0.00009 $0.00068

Measured 3mo ago against content hash 721155aac1a9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 3mo 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/bigquery/SKILL.md · 77 lines

What it actually says

BigQuery

Serverless, highly scalable data warehouse. Bills per bytes processed — always dry-run before executing queries on large datasets.

Safety Rule — Dry-Run First

# Estimate bytes before executing — always do this on unknown datasets
bq query --dry_run --use_legacy_sql=false 'SELECT * FROM dataset.table'
# Output: "Query successfully validated. Assuming the tables are not modified,
# running this query will process X bytes."

Core Patterns

Create a dataset

bq mk --dataset \
  --location=REGION \
  --description="Description" \
  PROJECT_ID:DATASET_NAME

Run a query (with cost confirmation)

# 1. Dry-run first (see above)
# 2. Execute only after confirming cost
bq query --use_legacy_sql=false --location=REGION \
  'SELECT field FROM `project.dataset.table` LIMIT 100'

Grant dataset access (least-privilege)

bq show --format=prettyjson PROJECT_ID:DATASET > /tmp/ds.json
# Edit roles in /tmp/ds.json, then:
bq update --source /tmp/ds.json PROJECT_ID:DATASET

Create partitioned table (cost control)

CREATE TABLE dataset.table (
  event_date DATE,
  user_id STRING
)
PARTITION BY event_date
OPTIONS (partition_expiration_days = 365);

Cost Controls

  • Partition tables by date — queries on a partition scan only that partition
  • Cluster tables by high-cardinality filter columns
  • Set per-project quotas: IAM → Quotas → BigQuery — Query usage per day
  • Use LIMIT in development; avoid SELECT * on multi-TB tables

References

Files

What ships with it

1 file 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. 3mo ago First seen · 77 lines · 89 tokens per session scan A 721155aac1a9

Subscribe to this mod's changes

bigquery is a skill published in the GitHub repository jpantsjoha/googlecloud-plugin (4 stars, last pushed 17d ago), licensed MIT. It adds 89 tokens to every session and 683 once invoked, about $0.0004 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-08-31.

Related

bigquery compared with skills from other repositories

bigquery next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bigqueryjpantsjoha/googlecloud-pluginSkill417d agoMITA89Claude Code
qdrant-vector-searchariffazil/AAASkill028d agoAGPL-3.0A46Claude Code, Codex
airtableariffazil/AAASkill028d agoAGPL-3.0A19Claude Code, Codex
chromaariffazil/AAASkill028d agoAGPL-3.0A63Claude Code, Codex
notionariffazil/AAASkill028d agoAGPL-3.0D19Claude Code, Codex
embeddingsruvnet/rufloSkill83ktodayMITA62Claude Code
admin-access-registersickn33/agentic-awesome-skillsSkill51kyesterdayMITA49Claude Code