bigquery

bigquery is a skill for Claude Code, Codex from G1Joshi/Agent-Skills. It costs 22 tokens per session (431 once invoked), scanned A, original, MIT.

A cloud data warehouse from Google for storing and querying very large datasets with SQL. A data warehouse is a system designed for analyzing data rather than running an application's everyday transactions.

In plain words
What is it for?
Use it for reporting, streaming analytics, data warehousing, and machine-learning models built with SQL.
Why use it?
It handles large analytical queries without requiring you to manage database servers yourself.

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/g1joshi/agent-skills/bigquery
Any agent
npx skills add G1Joshi/Agent-Skills --skill bigquery
Clone the repo
git clone --depth 1 https://github.com/G1Joshi/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 bigquery

README.md
[![agentmods](https://agentmods.dev/badge/skills/g1joshi/agent-skills/bigquery.svg)](https://agentmods.dev/skills/g1joshi/agent-skills/bigquery)
Your own site
<a href="https://agentmods.dev/skills/g1joshi/agent-skills/bigquery"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/bigquery.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 431 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.1 $0.00022 $0.00431
Opus 5 $0.00011 $0.00216
Sonnet 5 $0.00004 $0.00086
Haiku 4.5 $0.00002 $0.00043

Measured yesterday against content hash 5f5dc1d6baeb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 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.

skills/databases/bigquery/SKILL.md · 58 lines

What it actually says

Google BigQuery

BigQuery is Google's serverless, highly scalable, and cost-effective multi-cloud data warehouse. It processes terabytes in seconds.

When to Use

  • Serverless Analytics: No infrastructure to manage. Just run SQL.
  • Real-time Analytics: High-speed streaming ingestion.
  • ML Integration: CREATE MODEL lets you train ML models using standard SQL (BigQuery ML).

Quick Start

-- Standard SQL
SELECT name, COUNT(*) as count
FROM `bigquery-public-data.usa_names.usa_1910_2013`
GROUP BY name
ORDER BY count DESC
LIMIT 10;

Core Concepts

Slots and Reservations

A "Slot" is a unit of computational capacity. BigQuery autoscales slots, or you can reserve them for flat-rate pricing.

Columnar Storage (Capacitor)

Optimized for aggregation queries. Reading one column is much cheaper/faster than reading all columns (SELECT * is expensive).

Partitioning & Clustering

  • Partitioning: Splits table by Date/Int (e.g., Daily partitions). Prunes data scanning massive cost savings.
  • Clustering: Sorts data within partitions for faster filtering.

Best Practices (2025)

Do:

  • Partition by Date: Almost mandatory for time-series logs.
  • Use BigQuery ML: Train models (Regression, K-Means) directly where data lives.
  • Estimate Cost: Dry Run your query to see how many bytes it will scan before running it.

Don't:

  • Don't run SELECT *: You pay per column read. Select only what you need.
  • Don't treat it like an OLTP: Single row inserts are slow (unless using Streaming API). It is for bulk analytics.

References

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 · 58 lines · 22 tokens per session scan A 5f5dc1d6baeb

Subscribe to this mod's changes

bigquery is a skill published in the GitHub repository G1Joshi/Agent-Skills (12 stars, last pushed 6mo ago), licensed MIT. It adds 22 tokens to every session and 431 once invoked, about $0.0001 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-09-03.

Related

Other skills, from other repositories

deprecation-and-migration

Manages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset…

addyosmani/agent-skills · 69 tokens

drizzle

LobeHub Drizzle ORM schema and query style. Use for pgTable schemas, indexes, joins, inferred types, db.select/db.query, schema fields, foreign keys, junction tables, or postgres query patterns.

lobehub/lobehub · 46 tokens

db-migrations

Use for database rollout strategy, Drizzle migrations, online index creation, data backfills, migration regeneration, sequence conflicts after rebase, idempotent SQL review, or migration renames.

lobehub/lobehub · 42 tokens

full-text-search

LobeHub product full-text search architecture and operations. Use for FtsSearchRepo, pgsearch or Elasticsearch providers, search projections and mappings, reindexing, Outbox capture/sync, provider switching, search analytics, or search performance. Not for agent web-browsing tools.

lobehub/lobehub · 62 tokens

backup-restore

PostgreSQL backup and restore with pgBackRest — full/incremental/WAL, PITR, K8s CronJob scheduling, and restore verification.

sawrus/agent-guides · 36 tokens

db-performance

PostgreSQL query performance — EXPLAIN ANALYZE, index design, pgstatstatements, slow query detection, connection pool tuning.

sawrus/agent-guides · 32 tokens