bq-explain

bq-explain is a command for coding agents from justvinhhere/bigquery-expert. It costs 21 tokens per session (297 once invoked), scanned A, original, Apache-2.0.

A command for explaining a BigQuery feature, function, or concept with SQL examples and common pitfalls. BigQuery is Google's service for running SQL queries over large datasets.

In plain words
What is it for?
Use it to request an explanation of a named BigQuery feature, including what it does, when to use it, runnable SQL, and possible mistakes.
Why use it?
It gives a structured explanation when someone is unsure how a BigQuery feature works or when to use it. It also points out cost or performance concerns when they matter.

Command

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

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 commands/justvinhhere/bigquery-expert/bq-explain
Clone the repo
git clone --depth 1 https://github.com/justvinhhere/bigquery-expert

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 bq-explain

README.md
[![agentmods](https://agentmods.dev/badge/commands/justvinhhere/bigquery-expert/bq-explain.svg)](https://agentmods.dev/commands/justvinhhere/bigquery-expert/bq-explain)
Your own site
<a href="https://agentmods.dev/commands/justvinhhere/bigquery-expert/bq-explain"><img src="https://agentmods.dev/badge/commands/justvinhhere/bigquery-expert/bq-explain.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 297 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 $0.00021 $0.00297
Opus 5 $0.00010 $0.00148
Sonnet 5 $0.00004 $0.00059
Haiku 4.5 $0.00002 $0.00030

Measured 5d ago against content hash 65cd24aa6d81, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

bq-explain 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 5d 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.

commands/bq-explain.md · 42 lines

What it actually says

BigQuery Feature Explainer

Explain the requested BigQuery feature using the bigquery-features skill.

Instructions

  1. Determine the feature to explain:

    • If an argument is provided, use it as the feature name or question.
    • If no argument is provided, look for the most recent BigQuery feature question in the current conversation.
    • If no feature is identifiable, ask the user what they want to learn about.
  2. Explain the feature using the bigquery-features skill, covering all four aspects:

    • What it is: concise definition.
    • When to use it: concrete use cases and when to prefer it over alternatives.
    • Working example: complete, runnable BigQuery SQL.
    • Common pitfalls: gotchas, limits, performance traps.
  3. Cross-reference cost implications using the bigquery-optimization skill when the feature affects cost or performance (e.g., MERGE DML quotas, BQML slot consumption, BI Engine reservations).

  4. Output format:

## <Feature Name>

### What It Is
<definition>

### When to Use
<use cases>

### Example
<working SQL>

### Pitfalls
<gotchas and limits>
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. 5d ago First seen · 42 lines · 21 tokens per session scan A 65cd24aa6d81

Subscribe to this mod's changes

bq-explain is a command published in the GitHub repository justvinhhere/bigquery-expert (15 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 21 tokens to every session and 297 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-08-30.

Related

Other commands, from other repositories

add-database-driver

Add a new database driver to Altimate Code. Scaffolds the driver, registers it across all 23 integration points, writes E2E tests, and updates docs. Usage - /add-database-driver.

AltimateAI/altimate-code · 46 tokens

setup-bigquery.es

Command "setup-bigquery.es" from minicoohei/ai-agent-camp, covering configuración de autenticación bigquery / gcp, step 0: verificar el progreso de configuración, lo que hará en esta sesión, verificación de preparación and step 1: instalación de gcloud cli.

minicoohei/ai-agent-camp · 2 tokens

setup-bigquery

Command "setup-bigquery" from minicoohei/ai-agent-camp, covering bigquery / gcp 認証セットアップ, step 0: セットアップ進捗の確認, このセッションでやること, 準備チェック and step 1: gcloud cli のインストール.

minicoohei/ai-agent-camp · 2 tokens

start-12-2

Command "start-12-2" from minicoohei/ai-agent-camp, covering 🎓 lesson 12-2: データベース取得・クエリ, 📍 このセッションでやること, 🎯 準備チェック, 🚀 step 1: ワークスペース内のdb検索 and 🚀 step 2: dbスキーマ確認(ncli fetch).

minicoohei/ai-agent-camp · 2 tokens

assess

Assess your knowledge and readiness for each agent. Take assessment quizzes, evaluate your skills, and get recommendations for your learning path.

pluginagentmarketplace/custom-plugin-backend · 25 tokens

quickstart

Interactive onboarding guide — set up Weaviate Cloud, configure credentials, load data, and learn every command.

kumaran-is/claude-code-onboarding · 21 tokens