bigquery-graph
Skill by google
Guides an AI assistant in writing BigQuery GoogleSQL GQL queries against property graphs. It covers path finding, multi-hop traversal and shortest path searches. Aimed at users who query graph data in BigQuery.
Install bigquery-graph
Built from the published package, never by AI.
git clone --depth 1 https://github.com/google/adk-python /tmp/adk-python && mkdir -p ~/.claude/skills && cp -r /tmp/adk-python/src/google/adk/integrations/bigquery/skills/bigquery-graph ~/.claude/skills/bigquery-graphRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/google/adk-python /tmp/adk-python && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/adk-python/src/google/adk/integrations/bigquery/skills/bigquery-graph ~/.gemini/antigravity-cli/skills/bigquery-graphAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
bigquery-graph is an agent skill from Google that guides an AI assistant in writing graph queries against a BigQuery property graph. It requires the BigQuery GoogleSQL dialect of GQL, which implements the ISO GQL standard, and it tells the assistant never to generate Cypher. The skill covers path finding, multi-hop traversal, shortest paths, node reachability, edge connectivity and semantic graph queries.
The skill follows a checklist. The assistant first decides whether the user wants a graph visualization or tabular data, then builds the query. Visualization output wraps nodes, edges and paths in TO_JSON() and ends with LIMIT 500 by default. Tabular output selects specific properties. The skill also links to reference files on semantic graph queries, schema best practices, DDL and feature parity. It is aimed at people who query BigQuery graphs with an AI assistant.
Written from the project's SKILL.md and checked against it.
What it can do
- Path findingAssigns matched patterns to path variables and extracts path elements and metadata.
- Multi-hop traversalUses variable-length path quantifiers such as {1,3} to follow multiple edges.
- Shortest path searchApplies ANY, ANY SHORTEST and ANY CHEAPEST path search prefixes.
- Node reachability and edge connectivityCovers node reachability and edge connectivity queries, as listed in the description.
- Graph visualization outputWraps nodes, edges and paths in TO_JSON() and adds LIMIT 500 by default.
- Tabular outputReturns specific properties and statistics when the user asks for values or counts.
- Sequential and chained queriesComposes MATCH, LET, FILTER, WITH and RETURN clauses, and chains statements with NEXT.
- Semantic graph guidancePoints the assistant to reference guidelines for semantic graph queries.
What you need
- A BigQuery property graph
- A graph schema to query against
Try asking
- Find the shortest path between two accounts in my transfers graph
- Show the transfer network around account 123 for visualization
- List each account's transfers above 1000 and count them
Good to know
- Only BigQuery GoogleSQL GQL is allowed. Cypher is prohibited.
- Visualization queries end with LIMIT 500 unless the user asks for another number.
- Label expressions support only the OR operator (|), not &.
- Undirected edge matches can be slower, so explicit direction is preferred.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: src/google/adk/integrations/bigquery/skills/bigquery-graph/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md19 KB -
references/graph_schema/best_practices.md6 KB -
references/graph_schema/ddl_reference.md7 KB -
references/graph_schema/feature_parity.md5 KB -
references/graph_schema/graph_schema_ddl_advisor.md4 KB
Show all 6 files
-
references/semantic_queries.md3 KB
Alternatives to bigquery-graph
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
bigquery-graph: common questions
What query language does bigquery-graph write?
It writes queries in BigQuery GoogleSQL GQL, which implements the ISO GQL standard. The source says this is the only supported graph query language for the skill.
Does bigquery-graph generate Cypher queries?
No. The skill states that the assistant must never generate or consider Cypher queries.
Where can I find the current limits of BigQuery Graph?
The skill links to a reference file on graph limitations and feature parity for BigQuery Graph.
How do I install bigquery-graph?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is bigquery-graph free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is bigquery-graph safe to use?
It scores 93 of 100. Grades: maintenance A, licence A, quality A. 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 bigquery-graph?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
