bqml

bqml is a skill for Claude Code from nguyenthanhtat/screen1-claude. It costs 0 tokens per session (2,965 once invoked), scanned A, original, MIT.

A BigQuery ML guide for creating machine-learning models with SQL inside BigQuery, Google's cloud data warehouse. It covers predictions such as regression, classification, clustering, and recommendations.

In plain words
What is it for?
Use it to forecast values, predict yes-or-no outcomes such as customer churn, group customers by behavior, or recommend products.
Why use it?
It lets you build models from stored data without moving it to Python or a separate machine-learning service. This reduces the extra tools needed for common prediction tasks.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the screen1-skills plugin — 46 skills shipped together

Good fit Use it to forecast values, predict yes-or-no outcomes such as customer churn, group customers by behavior, or recommend products.

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

Made for: Claude Code.

Or install screen1-skills, the plugin that ships this one along with the rest of its 46 skills.

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 bqml

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nguyenthanhtat/screen1-claude/bqml"><img src="https://agentmods.dev/badge/skills/nguyenthanhtat/screen1-claude/bqml.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,965 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.00000 $0.02965
Opus 5 $0.00000 $0.01483
Sonnet 5 $0.00000 $0.00593
Haiku 4.5 $0.00000 $0.00297

Measured 10d ago against content hash f98a5bdcd375, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

bqml 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 10d 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/bqml/SKILL.md · 530 lines

How it starts

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

BigQuery ML (BQML)

Parent Skill: /bigquery
Path: /bigquery/bqml

Purpose

Create and deploy machine learning models using only SQL - no Python or separate ML platform required.

When to Use

Trigger when:

  • Keywords: predict, forecast, model, ML, classification, regression, clustering
  • User wants to: predict churn, forecast sales, segment customers, recommend products

Chat commands:

/bigquery/bqml create churn prediction model
/bigquery/bqml forecast next month revenue
/bigquery/bqml segment customers by behavior
/bigquery/bqml recommend products for user

Requirements


Model Types

1. Linear Regression

Use for: Predicting continuous values (price, revenue, age)

CREATE OR REPLACE MODEL `dataset.price_prediction_model`
OPTIONS(
  model_type='LINEAR_REG',
  input_label_cols=['price']
) AS
SELECT
  bedrooms,
  bathrooms,
  sqft,
  location,
  price
FROM `dataset.housing_data`;

2. Logistic Regression (Binary Classification)

Use for: Yes/No predictions (churn, conversion, click)

CREATE OR REPLACE MODEL `dataset.churn_model`
OPTIONS(
  model_type='LOGISTIC_REG',
  input_label_cols=['churned']
) AS
SELECT
  user_tenure_days,
  total_purchases,
  last_purchase_days_ago,
  churned  -- 0 or 1
FROM `dataset.user_features`;

3. Multiclass Classification

Use for: Predicting categories (product category, customer segment)

CREATE OR REPLACE MODEL `dataset.category_model`
OPTIONS(
  model_type='LOGISTIC_REG',
  input_label_cols=['category']
) AS
SELECT
  title,
  description,
  price,
  category  -- 'electronics', 'clothing', 'home', etc.
FROM `dataset.products`;

4. K-Means Clustering

Use for: Grouping similar items (customer segmentation)

CREATE OR REPLACE MODEL `dataset.customer_segments`
OPTIONS(
  model_type='KMEANS',
  num_clusters=5
) AS
SELECT
  avg_purchase_value,
  purchase_frequency,
  days_since_last_purchase,
  total_revenue
FROM `dataset.customer_metrics`;

Read the full file on GitHub · 530 lines

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. 10d ago First seen · 530 lines · 0 tokens per session scan A f98a5bdcd375

Subscribe to this mod's changes

bqml is a skill published in the GitHub repository nguyenthanhtat/screen1-claude (2 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,965 tokens. 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-31.

Related

Other skills, from other repositories

pinecone

Managed vector DB for production RAG and search.

NousResearch/hermes-agent · 13 tokens

data-engineer

Build scalable data pipelines, modern data warehouses, and real-time streaming architectures. Implements Apache Spark, dbt, Airflow, and cloud-native data platforms.

davila7/claude-code-templates · 35 tokens

graphjin-env

Use when setting up a training or evaluation loop against a GraphJin agent environment — running the container, reading /health, driving episodes hosted or step-by-step or with your own agent over MCP, splitting train from eval, exporting trajectories, and deciding whether two rewards can be compared.

dosco/graphjin · 61 tokens

ingesting-into-data-lake

Import data into the AWS data lake from S3 files, local uploads, JDBC databases (Oracle, SQL Server, PostgreSQL, MySQL, RDS, Aurora), Amazon Redshift, Snowflake, BigQuery, DynamoDB, or existing Glue catalog tables (migration). Default target is S3 Tables; standard Iceberg on a general purpose bucket is supported where…

aws/agent-toolkit-for-aws · 228 tokens

similarity-search-patterns

Implement efficient similarity search with vector databases. Use when building semantic search, implementing nearest neighbor queries, or optimizing retrieval performance.

foryourhealth111-pixel/Vibe-Skills · 30 tokens

nornicdb-qdrant-migration

Migrate from Qdrant to NornicDB end-to-end through NornicDB's Qdrant-compatible gRPC surface. Covers connection setup, collection→database mapping, point→node mapping, the vector-config and named-vector replication, point upsert in batches, count verification, and what (deliberately) does not transfer (snapshots, HNSW…

orneryd/NornicDB · 101 tokens