Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

patent-retriever-bigquery专利检索器 bigquery

Agent Skill

patent-retriever-bigquery 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

11,120

周安装

468

GitHub Stars

公开资料未说明

下载量

3,894
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:patent-retriever-bigquery(专利检索器 bigquery)
来源仓库:https://github.com/yangyuwen-bri/patent-retriever-bigquery
安装命令:
openclaw skills install patent-retriever-bigquery
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install patent-retriever-bigquery

简介

基于 Google Patents BigQuery 的生产级专利检索工具。

  • 适用于大规模专利数据分析与可视化需求。
  • 支持自然语言查询和多语言结果返回。patent-retriever-bigquery 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 需配置 GCP 账户和 API 访问权限。
  • 注意数据更新延迟,建议核对最新公开信息。

SKILL.md

name
zeelin-patent-retriever
description
|
Triggers
patent search, prior art, google patents, bigquery patent, 专利检索, 专利查新, 技术情报.
homepage
https://github.com/yangyuwen-bri/patent-retriever-bigquery
user-invocable
true
emoji
🔎
tags
metadata
openclaw
homepage
https://github.com/yangyuwen-bri/patent-retriever-bigquery
requires
bins
env

ZeeLin Patent Retriever

Team ZeeLin skill for Google Patents retrieval via BigQuery. This skill performs patent retrieval and structured output generation only. It does not provide legal conclusions.

30-Second Quickstart Card

Purpose:

  • Fetch, deduplicate, and structure patent evidence from Google Patents BigQuery for downstream analysis.

Required env:

  • GOOGLE_APPLICATION_CREDENTIALS
  • GOOGLE_CLOUD_PROJECT

Run this:

python3 -m pip install -r requirements.txt
RUN_ID="quick_$(date +%Y%m%d_%H%M%S)"; RUN_DIR="results/${RUN_ID}"; mkdir -p "$RUN_DIR"
python3 scripts/patent_search.py --keywords "ai sentiment analysis" --limit 80 --output "$RUN_DIR/seed_raw.json"
python3 scripts/build_query_plan.py --topic "Public Opinion + AI" --keywords "public opinion ai sentiment" --task-id "$RUN_ID" --seed-raw "$RUN_DIR/seed_raw.json" --concept-output "$RUN_DIR/concept_scan.json" --plan-output "$RUN_DIR/query_plan.json"
python3 scripts/patent_search_plan.py --plan "$RUN_DIR/query_plan.json" --output-raw "$RUN_DIR/retriever_raw.json" --output-retriever "$RUN_DIR/retriever_result.json" --min-results 20

Expected outputs:

  • $RUN_DIR/concept_scan.json
  • $RUN_DIR/query_plan.json
  • $RUN_DIR/retriever_raw.json
  • $RUN_DIR/retriever_result.json

If it fails:

  • Missing env vars: configure Google credentials first.
  • Too few results: keep filters and increase limits/expansion rounds before relaxing constraints.

1. Execution Rules

  1. Use the three-stage flow by default: seed -> build_plan -> execute_plan.
  2. Default minimum result count is 20 unless the user explicitly requests another value.
  3. If the user specifies hard constraints (year, country, assignee, inventor, IPC/CPC), they must be applied in query_plan.json (filters) before execution.
  4. Before execution, echo planned filters. After execution, echo effective filters, result size, and output file paths.

2. Pre-Run Checks

Required environment variables:

  • GOOGLE_APPLICATION_CREDENTIALS
  • GOOGLE_CLOUD_PROJECT

Install dependencies:

python3 -m pip install -r requirements.txt

Optional environment check:

python3 - <<'PY'
import os
required = ["GOOGLE_APPLICATION_CREDENTIALS", "GOOGLE_CLOUD_PROJECT"]
missing = [k for k in required if not os.getenv(k)]
print({"ok": not missing, "missing": missing})
PY

3. Capability Boundary and Parameter Sources

3.1 Supported filter dimensions

  • Text: keywords_all / keywords_any / keywords_anchor_any / keywords_not
  • Taxonomy: ipc_prefix_any / cpc_prefix_any
  • Entities: assignee_any / inventor_any
  • Geography: country_in
  • Date ranges: pub_date_from / pub_date_to / filing_date_from / filing_date_to

Field source: query_plan.json (schema: schemas/query_plan.schema.json).

3.2 Default behavior for missing inputs

  • min_results: default 20
  • Country unspecified: default US,CN,WO,EP,JP,KR
  • Date range unspecified: default years_back=8
  • Keywords missing: ask for clarification and do not run

3.3 Year-to-date mapping rules

  • Single year (e.g. 2021) => from=20210101, to=20211231
  • Year range (e.g. 2021-2023) => from=20210101, to=20231231
  • Relative window (e.g. “last N years”) => use --years-back N

4. Standard Flow (Command Templates)

Create a run directory first:

RUN_ID="run_$(date +%Y%m%d_%H%M%S)"
RUN_DIR="results/${RUN_ID}"
mkdir -p "$RUN_DIR"

Step 1: Seed retrieval

python3 scripts/patent_search.py \
  --keywords "<keywords>" \
  --limit 80 \
  --output "$RUN_DIR/seed_raw.json"

Step 2: Build query plan

python3 scripts/build_query_plan.py \
  --topic "<topic>" \
  --keywords "<keywords>" \
  --task-id "$RUN_ID" \
  --years-back 8 \
  --country-in "US,CN,WO,EP,JP,KR" \
  --seed-raw "$RUN_DIR/seed_raw.json" \
  --concept-output "$RUN_DIR/concept_scan.json" \
  --plan-output "$RUN_DIR/query_plan.json"

Step 3: Apply explicit user constraints (critical)

When the user explicitly requests country/year/assignee filters, patch query_plan.json before execution.

python3 - <<'PY'
import json
import os
from pathlib import Path

plan_path = Path(os.environ["RUN_DIR"]) / "query_plan.json"
plan = json.loads(plan_path.read_text(encoding="utf-8"))

# Example override: 2021-2023 + US + keyword constraints
for r in plan.get("query_rounds", []):
    f = r.setdefault("filters", {})
    f["country_in"] = ["US"]
    f["pub_date_from"] = 20210101
    f["pub_date_to"] = 20231231
    f.setdefault("keywords_any", [])
    f["keywords_any"] = list(dict.fromkeys(f["keywords_any"] + ["sentiment", "public opinion", "risk"]))

plan_path.write_text(json.dumps(plan, ensure_ascii=False, indent=2), encoding="utf-8")
print({"updated": str(plan_path)})
PY

Step 4: Execute planned retrieval

python3 scripts/patent_search_plan.py \
  --plan "$RUN_DIR/query_plan.json" \
  --output-raw "$RUN_DIR/retriever_raw.json" \
  --output-retriever "$RUN_DIR/retriever_result.json" \
  --min-results 20

Step 5: Validate outputs

python3 scripts/schema_check.py --input "$RUN_DIR/concept_scan.json" --schema schemas/concept_scan.schema.json
python3 scripts/schema_check.py --input "$RUN_DIR/query_plan.json" --schema schemas/query_plan.schema.json
python3 scripts/schema_check.py --input "$RUN_DIR/retriever_result.json" --schema schemas/retriever_result.schema.json

5. Natural Language to Parameter Mapping Examples

Example A:

  • User input: Find US patents on AI public-opinion early warning from 2021 to 2023, at least 30 results
  • Mapping:

- topic="AI public opinion early warning" - keywords="ai public opinion early warning sentiment" - Plan override: country_in=["US"], pub_date_from=20210101, pub_date_to=20231231 - Execution arg: --min-results 30

Example B:

  • User input: Search multimodal emotion recognition patents in CN/JP/KR over the last 5 years, focus on Tencent and ByteDance
  • Mapping:

- --years-back 5 - country_in=["CN","JP","KR"] - assignee_any=["Tencent","ByteDance"]

6. Post-Execution Response Template (required)

Retrieval completed.
Effective filters:
- Countries: ...
- Publication date range: ...
- Filing date range: ...
- Keywords (any/all/not): ...
- Assignee/Inventor filters: ...

Results:
- Patent count: ...
- Country distribution: ...
- Latest publication date: ...

Files:
- concept_scan: ...
- query_plan: ...
- retriever_raw: ...
- retriever_result: ...

7. Common Failures and Recovery

  • Missing environment variables: instruct user to configure Google credentials first.
  • Insufficient retrieval volume:

1. Keep constraints, increase per-round limits. 2. Increase expansion rounds. 3. If still insufficient, ask whether to relax country/date constraints.

  • Cost risk: prioritize narrower date windows and country scopes before broad scans.

8. Output Contract

Required output files:

  • concept_scan.json
  • query_plan.json
  • retriever_raw.json
  • retriever_result.json

retriever_result.json minimum requirements:

  • patents count >= min_results (default 20)
  • each item includes publication_number and title

9. References

  • Methodology: references/methodology.md
  • Quick examples: examples/quickstart.md

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

77.7%
按下载量换算3,026

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills