bigquery-features

bigquery-features is a skill for Claude Code from justvinhhere/bigquery-expert. It costs 164 tokens per session (714 once invoked), scanned A, original, Apache-2.0.

A guide to BigQuery, Google Cloud’s SQL data warehouse, including features beyond basic SQL such as nested data, scripts, geospatial functions, and machine learning.

In plain words
What is it for?
Use it for writing BigQuery queries, scripts, table operations, scheduled jobs, JSON and geography work, approximate counts, search, and in-database machine learning.
Why use it?
It helps when standard SQL knowledge is not enough to choose or use BigQuery-specific features correctly.

Skill for Claude Code

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

Part of the bigquery-expert plugin — 5 skills, 6 commands, 3 agents shipped together

Good fit Use it for writing BigQuery queries, scripts, table operations, scheduled jobs, JSON and geography work, approximate counts, search, and in-database machine learning.

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

Made for: Claude Code.

Or install bigquery-expert, the plugin that ships this one along with the rest of its 5 skills, 6 commands, 3 agents.

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-features

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/justvinhhere/bigquery-expert/bigquery-features"><img src="https://agentmods.dev/badge/skills/justvinhhere/bigquery-expert/bigquery-features.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 164 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 714 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.00164 $0.00714
Opus 5.5 $0.00066 $0.00286
Sonnet 5.5 $0.00033 $0.00143
Haiku 4.5 $0.00016 $0.00071

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

Security

Grade A, and why

bigquery-features 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 1mo 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-features/SKILL.md · 54 lines

How it starts

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

BigQuery Features

You are an expert on BigQuery-specific features that go beyond standard SQL. When a user asks about any BigQuery feature, provide clear, practical guidance backed by working examples.

Feature Quick Reference

Feature Use Case Key Syntax
STRUCT/ARRAY Nested data, denormalization STRUCT<>, ARRAY<>, UNNEST()
MERGE Upserts, SCD Type 2 MERGE...WHEN MATCHED...WHEN NOT MATCHED
Scripting Multi-step workflows DECLARE, SET, IF, LOOP, BEGIN...END
Scheduled queries Recurring ETL @run_time, @run_date params
Remote functions External compute CREATE FUNCTION...REMOTE WITH CONNECTION
JSON functions Semi-structured data JSON_EXTRACT, JSON_VALUE, JSON_QUERY
Approx aggregation Fast cardinality APPROX_COUNT_DISTINCT, HLL_COUNT
Geography Spatial analysis ST_GEOGPOINT, ST_DISTANCE, ST_WITHIN
BQML In-database ML CREATE MODEL, ML.PREDICT, ML.EVALUATE
Search/Vector Full-text & similarity SEARCH(), VECTOR_SEARCH()
BI Engine Sub-second dashboards Reservation-based, auto-accelerates

Behavioral Rules

When Explaining a Feature

For every feature question, provide all four of these:

  1. What it is -- concise definition and where it fits in BigQuery's architecture.
  2. When to use it -- concrete use cases and when it is preferable over alternatives.
  3. Working example -- complete, runnable BigQuery SQL that demonstrates the feature.
  4. Common pitfalls -- gotchas, limits, performance traps, and cost implications.

General Guidelines

  • Always use BigQuery-specific syntax (backtick-quoted projects, STRUCT<> notation, SAFE. prefix where relevant).
  • When a feature has cost implications (BQML training, MERGE DML quotas, BI Engine reservations), cross-reference the bigquery-optimization skill for cost-aware patterns.
  • Prefer practical patterns over theoretical explanations. Show SQL that can be copy-pasted and run.
  • When multiple approaches exist (e.g., JSON_EXTRACT vs native JSON type), explain trade-offs clearly.

Read the full file on GitHub · 54 lines

Files

What ships with it

8 files 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. 1mo ago First seen · 54 lines · 164 tokens per session scan A 3e7102fda5c1

Subscribe to this mod's changes

bigquery-features is a skill published in the GitHub repository justvinhhere/bigquery-expert (17 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 164 tokens to every session and 714 once invoked, about $0.0007 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-30.

Related

Other skills, from other repositories

usage

Wren Engine CLI workflow guide for AI agents. Answer data questions end-to-end using the wren CLI: gather schema context, recall past queries, write SQL through the MDL semantic layer, execute, and learn from confirmed results. Use when: user asks a data question, requests a report or analysis, asks about metrics…

Canner/WrenAI · 156 tokens

dlt-connector

Connect SaaS data (HubSpot, Stripe, Salesforce, GitHub, Slack, etc.) to Wren Engine for SQL analysis. Guides the user through the full flow: install dlt, pick a SaaS source, set up credentials, run the data pipeline into DuckDB, then auto-generate a Wren semantic project from the loaded data. Use this skill whenever…

Canner/WrenAI · 158 tokens

generate-mdl

Generate a Wren MDL project by exploring a database with available tools (SQLAlchemy, database drivers, MCP connectors, or raw SQL). Guides agents through schema discovery, type normalization, and MDL YAML generation using the wren CLI. Use when: user wants to create or set up a new MDL, onboard a new data source, or…

Canner/WrenAI · 82 tokens

wren

Wren CLI for AI agents — a semantic SQL layer over 22+ databases (Postgres, MySQL, BigQuery, Snowflake, Spark, …). The actual workflow guides live inside the wren CLI itself; this is just a discovery stub. Use whenever the user asks a data question (how many, show me, top N, compare, trend, breakdown, metric, revenue…

Canner/WrenAI · 315 tokens

transform

Use this to author and change a dbt project or a semantic layer: bootstrap a project (transform init), write or refactor models from staging to marts, add tests and docs, and define semantic models, entities, dimensions, and metrics in MetricFlow, Apache Ossie or SLayer YAML. Reach for it instead of editing model…

exmergo/dex · 219 tokens

explore

Use this whenever you need to know what is actually in a database, warehouse, or DuckDB file before you trust it: inventory, column profiles, PII detection, grain and data-quality problems, verified joins, ER diagrams, ad-hoc SQL probes, segmentation, and the semantic layer a repo declares (dbt, Apache Ossie, or…

exmergo/dex · 232 tokens