patent-retriever-bigquery_skill

This skill retrieves patents from Google Patent BigQuery by topic and keywords, builds a search plan, and outputs structured JSON.
  • Python

2.5k

GitHub Stars

3

Bundled Files

2 months ago

Catalog Refreshed

3 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill openclaw/skills --skill patent-retriever-bigquery

  • _meta.json485 B
  • requirements.txt70 B
  • SKILL.md8.0 KB

Overview

This skill is a Google Patent BigQuery–based patent retrieval tool that builds topic-driven query plans and returns structured JSON results for analysis. It focuses on collecting patent records (default at least 20) and validating outputs against provided schemas. It does not provide legal opinions or patentability conclusions.

How this skill works

The skill runs an initial seed retrieval from Google Patents data in BigQuery using user keywords, then generates a concept scan and a multi-step query plan. It executes the planned queries to gather patent records and outputs normalized JSON files (concept_scan, query_plan, retriever_raw, retriever_result). It also includes schema validation to ensure each patent entry contains required fields like publication_number and title.

When to use it

  • You need a reproducible, data-driven prior art search across Google Patents.
  • You want structured JSON output for downstream analysis, ML, or reporting.
  • You need to iterate query plans based on initial seed results or concepts.
  • You require BigQuery-scale access to patent metadata and full-text where available.
  • You want validated outputs to integrate with other pipelines or tools.

Best practices

  • Configure Google environment variables before running: GOOGLE_APPLICATION_CREDENTIALS and GOOGLE_CLOUD_PROJECT.
  • Start with a broad seed retrieval (larger limit) to capture diverse concepts for building the query plan.
  • Review concept_scan.json and adjust topic/keywords to refine the plan before large-scale runs.
  • Set a sensible --min-results threshold (default 20) and monitor query coverage to avoid missing niche patents.
  • Validate outputs with provided schemas to catch missing fields early.

Example use cases

  • Prior art collection for technical landscape analysis on an AI-related topic.
  • Generating a labeled seed set for patent classification or clustering experiments.
  • Periodic automated pulls to keep a patent database updated for a specific technology area.
  • Feeding structured patent metadata into ML pipelines for novelty detection or trend analysis.

FAQ

Yes. You must configure GOOGLE_APPLICATION_CREDENTIALS (service account JSON path) and GOOGLE_CLOUD_PROJECT before running any scripts.

Does the tool give legal or patentability advice?

No. It only retrieves and structures patent data. Any legal interpretation must come from qualified professionals.

What minimum fields are guaranteed in results?

retriever_result.json requires at least publication_number and title for each patent, and the default output aims for 20 or more patents.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational