Communitygithub.com

USPTO数据库

用于美国专利商标局(USPTO)官方记录查询的工作流,支持专利搜索、TSDR核对、转让数据检索以及可复现的知识产权研究日志记录。

USPTO数据库 是什么?

此技能专为需要从USPTO系统获取官方美国专利或商标记录的任务而设计。它提供了结构化的工作流来查询专利(包括已授权和预授权公开文献)、商标申请状态、文件封装记录、转让历史以及 PTAB 程序数据。技能优先使用官方USPTO API,如 Open Data Portal、PatentSearch 和 TSDR Data API,并强调从可复现的研究日志和交叉核对中保证数据准确性。它支持 Python 代码片段进行 API 调用,并为每一个查询输出结构化的日志表格,方便审计和文档化。该技能也可在 Cursor 或 Codex 等 AI 编码代理环境中运行,通过环境变量安全地管理 API 密钥。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/affaan-m/everything-claude-code/tree/main/skills/scientific-db-uspto-database

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

USPTO 数据库

当任务需要美国专利商标局(USPTO)系统的官方美国专利或商标记录时,使用此技能。

使用场景

  • 搜索已授权专利或预授权公开文献。
  • 查询专利申请状态、文件封装数据、转让信息或公开审查历史。
  • 查找商标状态、文件或转让历史。
  • 构建可复现的现有技术、专利组合或知识产权全景研究日志。
  • 将USPTO记录与Google Patents、Lens.org、Semantic Scholar等辅助工具或公司专利页面进行比较。

不要使用此技能提供法律建议。将其视为数据收集和记录验证的工作流。

数据源选择

优先使用官方USPTO或USPTO支持的数据源:

  • Open Data Portal(ODP):当前托管迁移后USPTO数据集和API的站点。
  • Patent File Wrapper:公共专利申请书目数据及文件封装记录。
  • PatentSearch API:针对已授权专利和预授权公开数据集的搜索API(基于PatentsView)。
  • TSDR Data API:商标状态和文件检索。
  • Patent and Trademark Assignment Search:所有权转让记录。
  • ODP中的PTAB数据:专利审判及上诉委员会程序记录。

仅将辅助数据源作为便利索引使用。当结果至关重要时,必须与官方记录交叉核对。

认证与密钥

许多USPTO API流程需要API密钥。将密钥存储在环境变量或密钥管理器中,切勿提交到文件或粘贴到对话记录中。

常用的环境变量名称:

export USPTO_API_KEY="..."
export PATENTSVIEW_API_KEY="..."

对于 PatentSearch,通过 X-Api-Key 请求头发送密钥。对于 TSDR,请遵循当前USPTO API管理器的说明和速率限制指南。

PatentSearch 工作流

在需要针对趋势、发明人、受让人、分类、日期或专利组合切片进行广泛专利和预授权公开文献搜索时,使用 PatentSearch。

工作流:

  1. 从当前的 PatentSearch 参考文档或 Swagger UI 中确定端点。
  2. 构建包含明确过滤条件的 JSON 查询。
  3. 仅请求分析所需的字段。
  4. 确定性排序和分页。
  5. 记录端点、查询体、查询日期、数据时效性说明及结果数量。

Python 请求模板:

import os
import requests

API_KEY = os.environ["PATENTSVIEW_API_KEY"]
BASE = "https://search.patentsview.org/api/v1"

payload = {
    "q": {
        "_and": [
            {"patent_date": {"_gte": "2024-01-01"}},
            {"assignees.assignee_organization": {"_text_any": ["Google", "Alphabet"]}},
        ]
    },
    "f": ["patent_id", "patent_title", "patent_date"],
    "s": [{"patent_date": "desc"}],
    "o": {"per_page": 100, "page": 1},
}

response = requests.post(
    f"{BASE}/patent/",
    headers={"X-Api-Key": API_KEY, "Content-Type": "application/json"},
    json=payload,
    timeout=30,
)
response.raise_for_status()
print(response.json())

在重用查询之前,请核对实时 PatentSearch 文档中当前的端点名称、字段路径、请求参数和API密钥可用性。

商标/TSDR 工作流

当任务需要商标案件状态、文件、图像、所有权历史或审查事件时,使用 TSDR。

工作流:

  1. 标准化序列号或注册号。
  2. 查看当前 TSDR API 说明及所需的API密钥请求头。
  3. 先获取状态,仅在必要时获取文件。
  4. 对于PDF、ZIP和多案件下载,遵守较低的速率限制。
  5. 在输出中记录检索日期和序列/注册标识符。

对于大批量商标拉取,优先使用文档化的批量数据流,而非爬取公开页面。

文件封装与审查历史

对于申请状态、交易历史和审查文件:

  • 从 ODP Patent File Wrapper 搜索开始。
  • 尽可能使用精确标识符:申请号、公开号、专利号或当事人名称。
  • 记录该记录是已授权专利、预授权公开文献还是待审申请。
  • 在引用前,请将文件日期和状态与记录详情页面进行交叉核对。

转让工作流

对于专利或商标所有权:

  1. 通过专利号/申请号/注册号、转让人、受让人或在可能时使用卷/帧号搜索官方转让数据。
  2. 记录转让条文、执行日期、登记日期及当事方。
  3. 区分转让记录与当前所有权法律结论。
  4. 如果所有权问题至关重要,请将结果标记为需要律师或主题专家审核。

可复现的输出

每次 USPTO 研究过程都应包含一个日志表格:

| 数据源 | 搜索日期 | 标识符/查询 | 过滤器 | 结果数 | 备注 |
| --- | --- | --- | --- | ---: | --- |
| PatentSearch | 2026-05-11 | `assignee=Alphabet AND date>=2024` | patent endpoint | 118 | 运行前已核对API文档 |
| TSDR | 2026-05-11 | `serial=90000000` | status only | 1 | API密钥流程,未批量拉取文件 |

在最终报告中,请区分:

  • 官方记录事实
  • 推断分析
  • 辅助数据源的便利匹配
  • 未解决的差距或需要法律审查的记录

检查清单

  • 是否优先使用了官方USPTO或USPTO支持的数据源?
  • 运行代码前是否核对了当前端点和字段名称?
  • API密钥是否已从文件、shell历史记录和输出日志中移除?
  • 查询日志是否包含搜索日期和确切的请求结构?
  • 是否遵守了速率限制?
  • 是否避免了法律结论,或已明确上报?
  • 辅助数据源是否已标注为“辅助”?

参考资料

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

accessibility

Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA. Use when building or auditing UI that must meet WCAG 2.2 Level AA, or when reviewing a change for keyboard, contrast, or screen-reader support.

affaan-m/claude-api

Anthropic Claude API patterns for Python and TypeScript. Covers Messages API, streaming, tool use, vision, extended thinking, batches, prompt caching, and Claude Agent SDK. Use when building applications with the Claude API or Anthropic SDKs.

affaan-m/everything-claude-code

End-to-end marketing campaign planning and execution. Covers audience research, positioning, campaign angle definition, landing page copy, email sequences, social posts, ad copy, short-form video scripts, and content calendars. Use as the orchestration layer for multi-channel product launches. Use when planning or executing a multi-channel product launch, or producing landing page, email, social, or ad copy.

affaan-m/everything-claude-code

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/everything-claude-code-conventions

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use when the user asks to build web components, pages, or applications and the visual direction matters as much as the code quality.

affaan-m/gget

gget CLI and Python workflow for quick genomic database queries, sequence lookup, BLAST-style searches, enrichment checks, and reproducible bioinformatics evidence logs.

affaan-m/literature-review

Systematic literature-review workflow for academic, biomedical, technical, and scientific topics, including search planning, source screening, synthesis, citation checks, and evidence logging.

affaan-m/motion-ui

Production-ready UI motion system for React/Next.js. Use when implementing animations, transitions, or motion patterns.

affaan-m/project-guidelines-example

Example project-specific skill template based on a real production application.

affaan-m/pubmed-database

Direct PubMed and NCBI E-utilities search workflows for biomedical literature, MeSH queries, PMID lookup, citation retrieval, and API-backed literature monitoring.

affaan-m/scholar-evaluation

Structured scholarly-work evaluation for papers, proposals, literature reviews, methods sections, evidence quality, citation support, and research-writing feedback.

affaan-m/uspto-database

USPTO patent and trademark data workflow for official record lookup, PatentSearch queries, TSDR checks, assignment data, and reproducible IP research logs.

agent-architecture-audit

Full-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack.

agent-eval

Head-to-head comparison of coding agents (Claude Code, Aider, Codex, etc.) on custom tasks with pass rate, cost, time, and consistency metrics. Use when choosing between coding agents, or when a change to an agent setup needs measured pass rate, cost, and time rather than an impression.

agent-harness-construction

Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates. Use when defining or revising an agent

agentic-engineering

Operate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing. Use when planning or executing engineering work that agents will carry out end to end.

agentic-os

Build persistent multi-agent operating systems on Claude Code. Covers kernel architecture, specialist agents, slash commands, file-based memory, scheduled automation, and state management without external databases. Use when building a persistent multi-agent system on Claude Code with its own memory, commands, and scheduling.

agent-introspection-debugging

Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.

agent-payment-x402

Add x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Supports Base through agentwallet-sdk and X Layer through OKX Payments / OKX Agent Payments Protocol. Use when an agent must pay for something itself and needs per-task budgets, spending controls, and a non-custodial wallet.

相关技能