bigquery

Installation
SKILL.md

BigQuery

Invoice SKUs first. Bytes scanned, slot-ms, and table storage are not on the bill. Teach slots vs on-demand, open [BigQuery] BigQuery Dashboard, then allocate or optimize.

Not this if: GCP spend CUD leftover → recipes → gcp-spend-cud. Generic Explorer → query. Whole-bill "what changed" → recipes → explain-period-change.

Workflow

  1. get_context — currency; note bq_* / user_email if already ingested
    • Several organizations: if get_context returns "Multiple organizations" with a list of slugs, do not pick one. Ask the user which org to use (from that list or list_organizations), then pass that slug to get_context and the following tool calls. If the user already named the org (e.g. "org acme"), use that slug directly.
  2. search { type: ["dashboards"], query: "BigQuery" } — use the template [BigQuery] BigQuery Dashboard. Org copies can differ. Never hardcode an id.
  3. get that template for the URL. Do not walk widgets.
  4. Teach Slots vs on-demand (two sentences): On-demand = pay per TiB scanned. Slots = pay for a pool; unused slots still cost, and bytes no longer price the job. Then the SKU table, then the caveat that matches the ask.
  5. Read the dashboard (order below). Branch: leftover Analysis → assignment / load jobs; storage → TABLE_STORAGE; showback → Allocate; no labels → Jobs metadata.
  6. Costory query only after the dashboard. Persist via query / dashboards / virtual-dimensions. No create_dashboard unless they ask to clone.

Slots vs on-demand

A slot is a unit of BigQuery compute. total_slot_ms in JOBS is how hard the query worked — it is not the invoice line unless you buy slots.

Installs
1
GitHub Stars
2
First Seen
Oct 9, 2026