configure-bigquery

configure-bigquery is a command for Claude Code from RobThePCGuy/Claude-Patent-Creator. It costs 14 tokens per session (289 once invoked), scanned C, original, MIT.

A command for setting up Google Cloud authentication so a project can search Google BigQuery's public patent data. BigQuery is Google's service for querying large datasets.

In plain words
What is it for?
Use it to log in through Google Cloud, configure a project ID, save application credentials, verify BigQuery access, and run a sample patent query.
Why use it?
It removes the setup work involved in authorizing a Google account, saving credentials, and checking that the patent dataset can be reached.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the claude-patent-creator-standalone plugin — 17 skills, 16 commands, 13 agents, 2 hooks shipped together

Good fit Use it to log in through Google Cloud, configure a project ID, save application credentials, verify BigQuery access, and run a sample patent query.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add RobThePCGuy/Claude-Patent-Creator
Claude Code
/plugin install claude-patent-creator-standalone

Made for: Claude Code.

Or install claude-patent-creator-standalone, the plugin that ships this one along with the rest of its 17 skills, 16 commands, 13 agents, 2 hooks.

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 configure-bigquery

README.md
[![agentmods](https://agentmods.dev/badge/commands/robthepcguy/claude-patent-creator/configure-bigquery/github.svg)](https://agentmods.dev/commands/robthepcguy/claude-patent-creator/configure-bigquery)
Your own site
<a href="https://agentmods.dev/commands/robthepcguy/claude-patent-creator/configure-bigquery"><img src="https://agentmods.dev/badge/commands/robthepcguy/claude-patent-creator/configure-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.

agentmods 80×15 button for configure-bigquery

Your own site · 80×15
<a href="https://agentmods.dev/commands/robthepcguy/claude-patent-creator/configure-bigquery"><img src="https://agentmods.dev/badge/commands/robthepcguy/claude-patent-creator/configure-bigquery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 289 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00014 $0.00289
Opus 5 $0.00007 $0.00144
Sonnet 5 $0.00003 $0.00058
Haiku 4.5 $0.00001 $0.00029

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

Security

Grade C, and why

configure-bigquery scanned grade C with 1 finding 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.

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

- Windows: `%APPDATA%\gcloud\application_default_credentials.json`
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

commands/configure-bigquery.md · 65 lines

What it actually says

Configure BigQuery Authentication

Set up Google Cloud authentication to enable patent search across 100M+ worldwide patents.

Instructions

  1. Verify Google Cloud SDK is installed
  2. Run BigQuery authentication setup
  3. Authorize browser OAuth flow
  4. Verify credentials are saved
  5. Test BigQuery connection

Command

cd ${CLAUDE_PLUGIN_ROOT}
python scripts/setup_bigquery_auth.py

Or using gcloud directly:

gcloud auth application-default login

What This Does

  • Opens browser for Google account authorization
  • Saves credentials to:
    • Windows: %APPDATA%\gcloud\application_default_credentials.json
    • Mac/Linux: ~/.config/gcloud/application_default_credentials.json
  • Verifies access to patents-public-data dataset
  • Tests connection with sample query

Requirements

  • Google account (free)
  • Google Cloud project (free tier: 1TB queries/month)
  • Internet connection

Verification

After setup, test with:

python scripts/test_bigquery.py

Should return sample patent results.

Environment Variable

Set your project ID:

export GOOGLE_CLOUD_PROJECT=your-project-id

Or add to .env file under ${CLAUDE_PLUGIN_ROOT}.

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. 9d ago First seen · 65 lines · 14 tokens per session scan C 0e58824146ab

Subscribe to this mod's changes

configure-bigquery is a command published in the GitHub repository RobThePCGuy/Claude-Patent-Creator (179 stars, last pushed 15d ago), licensed MIT. It adds 14 tokens to every session and 289 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.