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 hamzabellouch/agent-skills --skill bigquery-bigframesgit clone --depth 1 https://github.com/hamzabellouch/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/hamzabellouch/agent-skills/bigquery-bigframes)<a href="https://agentmods.dev/skills/hamzabellouch/agent-skills/bigquery-bigframes"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/bigquery-bigframes/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/hamzabellouch/agent-skills/bigquery-bigframes"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/bigquery-bigframes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00076 | $0.01195 |
| Opus 5 | $0.00038 | $0.00598 |
| Sonnet 5 | $0.00015 | $0.00239 |
| Haiku 4.5 | $0.00008 | $0.00120 |
Grade A, and why
bigquery-bigframes 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 9d 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.
This is a copy
100% identical to bigquery-bigframes — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
BigFrames (BigQuery DataFrame) basics
BigFrames is a Python library that lets you take advantage of BigQuery data processing by using familiar Python APIs.
Dataframe API best practices
- Stay in the Cloud: Perform data cleaning, transformation, and analysis via BigFrames methods to leverage BigQuery's scale rather than downloading data.
- Prefer partial ordering mode: Enable partial ordering mode right after
importing BigFrames. This speeds up data processing significantly by relaxing
row-sequence constraints.
import bigframes.pandas as bpd bpd.options.bigquery.ordering_mode = 'partial' - Use
peek()for data preview: Usepeek(n)to preview data instead ofhead(n).peek(n)randomly samplesnrows and is significantly faster.head(n)returns rows in strict order and fails inpartialordering mode unless the DataFrame has been explicitly sorted. - Avoid materializing data locally: Methods like
to_pandas()download all data to client memory, bypassing BigQuery’s distributed computation and risking Out of Memory (OOM) errors. Do not materialize data locally unless:- The dataset is small enough to fit safely in memory.
- An error message explicitly requires local materialization.
- Prefer Dataframe API over SQL queries: Do not write raw SQL queries via
read_gbq()if a DataFrame/Series method achieves the same result, as it breaks the Pandas abstraction and prevents lazy query execution. - Accessors over UDFs/Lambdas:
- Use built-in accessors (e.g.,
df.col.str.*,df.col.dt.*) instead of remote User Defined Functions (UDFs). UDFs require extra resources and time to deploy. - Do not use lambdas with
Series.map()orDataFrame.apply(). These methods do not accept functions withoutudforremote_functiondecorators.
# Avoid: df["upper"] = df["name"].map(lambda x: x.upper()) # Prefer: df["upper"] = df["name"].str.upper() - Use built-in accessors (e.g.,
- Schema Verification: Do not assume the schema of intermediate outputs.
Proactively verify schemas using
.dtypesand inspect sample records usingdisplay()with.peek(). - Visualization: Plot directly from the BigFrames DataFrame/Series when
possible. BigFrames is compatible with Matplotlib and Seaborn. If direct
plotting fails, use the
.plotaccessor. If the dataset is too large to plot, aggregate or sample the data before calling.to_pandas()to plot locally.
What ships with it
2 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.
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.
- 9d ago First seen · 99 lines · 76 tokens per session scan A 9324abde305e
bigquery-bigframes is a skill published in the GitHub repository hamzabellouch/agent-skills (4 stars, last pushed 1mo ago), licensed MIT. It adds 76 tokens to every session and 1,195 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to bigquery-bigframes, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
prompt-engineering
Universal prompt engineering techniques for any LLM. Use when crafting, optimizing, or reviewing prompts for AI models. Triggers on requests like "improve this prompt", "write a system prompt", "optimize my instructions", "help me prompt engineer", "audit this prompt", "review my prompt", or when building agentic…
fixing-prompt
Prompt: Prompt Refinement and Optimization.
feature-engineering
When building training datasets, designing feature pipelines, or debugging training-serving skew.
streaming-patterns
When designing Kafka consumers/producers or implementing real-time pipelines.
inference-serving
When deploying a model to an API endpoint or optimizing inference latency.
model-evaluation
When evaluating a trained model, comparing versions, or performing fairness analysis.