genai-factory-cloud-run-nl2sql-bq
Skill by GoogleCloudPlatform
Runbook for deploying and configuring the cloud-run-nl2sql-bq blueprint, a Google ADK natural language to SQL agent on Cloud Run that queries BigQuery. Aimed at engineers who deploy it, point it at a custom dataset, or troubleshoot BigQuery permissions.
Install genai-factory-cloud-run-nl2sql-bq
Built from the published package, never by AI.
git clone --depth 1 https://github.com/GoogleCloudPlatform/genai-factory /tmp/genai-factory && mkdir -p ~/.claude/skills && cp -r /tmp/genai-factory/cloud-run-nl2sql-bq ~/.claude/skills/cloud-run-nl2sql-bqRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install genai-factory-cloud-run-nl2sql-bq in Claude Code
git clone --depth 1 https://github.com/GoogleCloudPlatform/genai-factory /tmp/genai-factory && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/genai-factory/cloud-run-nl2sql-bq ~/.gemini/antigravity-cli/skills/cloud-run-nl2sql-bqAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install genai-factory-cloud-run-nl2sql-bq in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a runbook for the cloud-run-nl2sql-bq blueprint in the GenAI Factory. The blueprint deploys a Google ADK Natural Language to SQL agent, called bigquery_agent, on Cloud Run. It sits behind an External or Internal Application Load Balancer, inspects BigQuery table schemas, and runs read-only SQL queries.
The skill covers deploying the 0-prereqs and 1-apps stages with Terraform, building and deploying the sample app with Cloud Build, and verifying it with curl calls that create a session and run a query. It also explains how to point the agent at a custom BigQuery dataset by overriding BQ_DATA_PROJECT_ID and BQ_DATASET_ID, enable the ADK web interface with SERVE_WEB_INTERFACE, and fix common BigQuery permission errors. It is for engineers deploying this blueprint on Google Cloud.
Written from the project's SKILL.md and checked against it.
What it can do
- Deploy cloud-run-nl2sql-bqGuides deployment of the 0-prereqs and 1-apps stages, including the Cloud Run app build and deploy.
- Point to a custom BigQuery datasetShows how to override BQ_DATA_PROJECT_ID and BQ_DATASET_ID and grant the needed dataset access.
- Enable the ADK web interfaceExplains how to set SERVE_WEB_INTERFACE to True for the bigquery_agent.
- Verify the deployed agentGives curl steps to create an ADK session and send a natural language query to bigquery_agent.
- Troubleshoot BigQuery permissionsLists a 403 access denied error for external datasets and how to fix it with IAM roles.
- Fix build lockfile errorsExplains how to run uv lock when gcloud builds submit fails on uv sync --frozen.
What you need
- Google Cloud projects and service accounts set up as in the 0-prereqs stage
- Terraform
- gcloud CLI
- uv, to regenerate uv.lock after changing pyproject.toml
Try asking
- Deploy the cloud-run-nl2sql-bq blueprint to Cloud Run for me
- Point the bigquery_agent at my own BigQuery dataset
- Enable the ADK web interface for the NL2SQL agent
Good to know
- The agent runs read-only SQL queries against BigQuery.
- SERVE_WEB_INTERFACE is False by default.
- Prerequisites, load balancers and teardown are covered by other sub-skills.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: cloud-run-nl2sql-bq/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to genai-factory-cloud-run-nl2sql-bq
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
genai-factory-cloud-run-nl2sql-bq: common questions
What does the cloud-run-nl2sql-bq blueprint do?
It deploys a Google ADK Natural Language to SQL agent on Cloud Run. The agent inspects BigQuery table schemas and runs read-only SQL queries.
Can the agent use a dataset other than the default one?
Yes. The source says to override BQ_DATA_PROJECT_ID and BQ_DATASET_ID in the gcloud run deploy command and grant the needed dataset access.
Why does the agent get a 403 Access Denied error on a custom dataset?
The source says this happens when the dataset is in another project where service-01/nl2sql-0 lacks read access. Granting roles/bigquery.dataViewer on that dataset or project fixes it.
How do I install genai-factory-cloud-run-nl2sql-bq?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is genai-factory-cloud-run-nl2sql-bq free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is genai-factory-cloud-run-nl2sql-bq safe to use?
It scores 71 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to genai-factory-cloud-run-nl2sql-bq?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
