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.
npx skills add j4flmao/agent-skills --skill gcp-bigquerygit clone --depth 1 https://github.com/j4flmao/agent-skillsWrote 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.
[](https://agentmods.dev/skills/j4flmao/agent-skills/gcp-bigquery)<a href="https://agentmods.dev/skills/j4flmao/agent-skills/gcp-bigquery"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/gcp-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.
<a href="https://agentmods.dev/skills/j4flmao/agent-skills/gcp-bigquery"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/gcp-bigquery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00083 | $0.01590 |
| Opus 5.5 | $0.00033 | $0.00636 |
| Sonnet 5.5 | $0.00017 | $0.00318 |
| Haiku 4.5 | $0.00008 | $0.00159 |
Grade A, and why
cloud-native-gcp-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 16d 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.
How it starts
The opening of the file, as written. The whole thing — 131 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GCP BigQuery Internals and Optimization
Purpose
BigQuery cost and speed are determined by bytes read and slot time. Knowing how Dremel distributes work and how Capacitor stores columns explains why partitioning, clustering, and column selection matter more than anything else.
Agent Protocol
Trigger
"bigquery", "bigquery cost", "partitioning", "clustering", "dremel", "capacitor", "slots", "editions", "slow query", "bytes scanned".
Input Context
- Table sizes, query patterns (filters, joins, time ranges).
- Pricing model in use (on-demand vs editions reservations).
- Freshness/streaming needs.
Output Artifact
DDL, rewritten SQL, or reservation plan. No file unless requested.
Response Format
Problem: {bytes scanned|slot contention|shuffle/skew|streaming cost}
Change: {DDL/SQL}
Expected effect: {partitions pruned / columns avoided}
Verify with: {dry run bytes, INFORMATION_SCHEMA.JOBS}
Completion Criteria
- Large tables partitioned on the dominant filter column and clustered on secondary filters.
- Cost verified with a dry run or
INFORMATION_SCHEMA.JOBS, not estimated.
Architecture
- Storage/compute separation. Data lives in Colossus (Google's distributed file system) in the Capacitor columnar format; compute is allocated per query as slots (units of CPU/RAM/network).
- Dremel execution. A query becomes a multi-stage plan; stages run in parallel on slots, reading only the referenced columns. Intermediate results are exchanged through a distributed in-memory shuffle tier, which lets stages scale independently.
- Capacitor stores each column separately with encodings (dictionary, run-length, etc.) and per-block metadata (e.g. min/max) used to skip blocks — the basis of clustering's block pruning.
- Network. Jupiter datacenter network lets workers read storage at high bandwidth, so compute does not need to be co-located with data.
flowchart LR
Q[SQL] --> P[Query planner]
P --> S1[Stage 1: scan + filter on slots]
S1 --> SH[(Distributed shuffle)]
SH --> S2[Stage 2: join / aggregate]
S2 --> R[Result]
S1 -.reads columns.-> C[(Capacitor files on Colossus)]
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.
- 16d ago Changed · +1 lines df503799644a
- 17d ago Changed · -54 tokens per session d48701776bef
- 1mo ago Changed · +112 lines · +137 tokens per session b2b7aa8f0631
- 3mo ago First seen · 18 lines · 0 tokens per session scan A 16a89a6ac541
cloud-native-gcp-bigquery is a skill published in the GitHub repository j4flmao/agent-skills (47 stars, last pushed 17d ago), licensed MIT. It adds 83 tokens to every session and 1,590 once invoked, about $0.0003 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-09-03.
cloud-native-gcp-bigquery compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cloud-native-gcp-bigqueryj4flmao/agent-skills | Skill | 47 | 17d ago | MIT | A | 83 | Claude Code, Codex |
| clawrouterBlockRunAI/ClawRouter | Skill | 6.7k | today | MIT | A | 171 | Claude Code, Codex |
| cx-knowledge-base-ingestionGoogleCloudPlatform/professional-services | Skill | 3.1k | yesterday | Apache-2.0 | A | 48 | Gemini CLI |
| graphjin-envdosco/graphjin | Skill | 3.2k | 6d ago | Apache-2.0 | A | 61 | Claude Code, Codex |
| localharness-setupahwurm/localharness | Skill | 80 | today | MIT | A | 43 | Claude Code, Codex |
| model-routeroyi77/1ai-skills | Skill | 19 | yesterday | MIT | A | 39 | Claude Code |
| ecommerce-data-warehousefinsilabs/awesome-ecommerce-skills | Skill | 69 | 1mo ago | MIT | A | 35 | Claude Code, Codex |