Agent skill

Uspto Database

by aipoch in aipoch/medical-research-skills

Access USPTO data (Patent Search, PEDS, TSDR, assignments) when you need to query patents/trademarks and retrieve prosecution or status information programmatically.

MITAuto-check passedLegal & Compliance

Install Uspto Database

skills CLI
$ npx skills add aipoch/medical-research-skills --skill uspto-database -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aipoch/medical-research-skills uspto-database --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/scientific-skills/Other/uspto-database .claude/skills/uspto-database && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
uspto-database
GitHub stars
2k
Token cost
~758 tokens
SKILL.md length
245 words
Files
7 (incl. scripts, references)
Skills in repo
567
Repo updated
First seen
Licence
MIT

At a glance

Access USPTO data (Patent Search, PEDS, TSDR, assignments) when you need to query patents/trademarks and retrieve prosecution or status information programmatically.

  • Works in 3 steps: Search: Use scripts/patent_search.py to… → History: Use scripts/peds_client.py to… → Status checks: Use retrieved metadata to…
  • Tasks that involve Intellectual property
  • SKILL.md covers When to Use, Key Features, Dependencies and Example Usage, plus 1 more section
  • Runs Python scripts from its folder; needs USPTO_API_KEY and PATENTSVIEW_API_KEY

What it does

Uspto Database is an agent skill from aipoch/medical-research-skills. Access USPTO data (Patent Search, PEDS, TSDR, assignments) when you need to query patents/trademarks and retrieve prosecution or status information programmatically.

Its SKILL.md is about 760 tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including scripts and reference files (for example `references/api_docs.md`, `scripts/__init__.py` and `scripts/patent_search.py`).

It sits in Legal & Compliance, covering Intellectual property. The repository describes itself as: Hundreds of agent skills for medical research, including protocol design, data analysis, evidence insights, and academic writing. The licence is MIT.

When your agent uses it

  • Tasks that involve Intellectual property

Example prompts

  • “/uspto-database”

Requirements

  • Python 3
  • A credential in USPTO_API_KEY
  • A credential in PATENTSVIEW_API_KEY

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Search: Use scripts/patent_search.py to locate relevant patent numbers/records from a text or fielded query.
  2. History: Use scripts/peds_client.py to retrieve prosecution/examination history (events, dates, and status signals).
  3. Status checks: Use retrieved metadata to assess maintenance-fee/expiration-related status where available.

What it can do on your machine

Read from SKILL.md and the folder at commit 686e09d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 3 files in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • USPTO_API_KEY
    • PATENTSVIEW_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Uspto Database loads about 758 tokens when it runs, and up to ~890 if it reads all its reference files. Until then it costs about 45 tokens; SKILL.md has 245 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~45
When it runs · the whole SKILL.md, loaded when a task matches
~758
With references · SKILL.md plus every file in references/, read only if the agent opens them
~890

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from aipoch/medical-research-skills at commit 686e09d, republished under its MIT licence (© aipoch). 245 words, ~758 tokens.

Download SKILL.mdSave it as .claude/skills/uspto-database/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
uspto-database
description
Access USPTO data (Patent Search, PEDS, TSDR, assignments) when you need to query patents/trademarks and retrieve prosecution or status information programmatically.
license
MIT
author
AIPOCH

Source: https://github.com/aipoch/medical-research-skills

When to Use

  • Find relevant US patents by keyword, inventor, assignee, CPC/IPC class, or date range for prior-art screening.
  • Retrieve patent application/prosecution history (PEDS) to understand office actions, events, and timeline status.
  • Check trademark status and documents via TSDR for clearance, monitoring, or portfolio review.
  • Validate patent lifecycle signals such as maintenance-fee-related status or expiration indicators as part of diligence.
  • Pull assignment/ownership-related information to support chain-of-title checks.

Key Features

  • Patent search client for querying USPTO/PatentsView-style endpoints and returning matching patent identifiers/records.
  • PEDS client for fetching examination history and event data for applications.
  • TSDR access for trademark status and document retrieval.
  • Script-oriented workflow designed for automation (batch queries, pipelines, and integration into internal tools).

Dependencies

  • Python >=3.9
  • requests >=2.31.0
  • uspto-opendata-python >=0.3.0

Example Usage

python
# Example: search patents by abstract text and print results
# Prerequisite: set required API keys in environment variables as expected by your scripts/clients.
# For example (names may vary by implementation):
#   export USPTO_API_KEY="..."
#   export PATENTSVIEW_API_KEY="..."

from scripts.patent_search import PatentSearchClient

def main():
    client = PatentSearchClient()

    # Query example: search for patents whose abstract contains "AI"
    query = {"_text_all": {"patent_abstract": "AI"}}

    results = client.search_patents(query)
    print(results)

if __name__ == "__main__":
    main()

Implementation Details

  • Workflow

    1. Search: Use scripts/patent_search.py to locate relevant patent numbers/records from a text or fielded query.
    2. History: Use scripts/peds_client.py to retrieve prosecution/examination history (events, dates, and status signals).
    3. Status checks: Use retrieved metadata to assess maintenance-fee/expiration-related status where available.
  • Query model

    • Patent search is driven by a JSON query object (e.g., full-text constraints such as "_text_all" over fields like patent_abstract).
    • Returned results are intended to be fed into downstream steps (e.g., PEDS lookups by application/patent identifiers).
  • Authentication

    • API keys for USPTO and/or PatentsView are required and should be provided via environment variables or configuration used by the clients.
  • Networking

    • HTTP requests are performed via requests; ensure timeouts/retries are configured in the underlying clients if running large batches.

© aipoch, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files (scripts, references) in scientific-skills/Other/uspto-database of aipoch/medical-research-skills.

  • SKILL.md
  • references/api_docs.md
  • scripts/__init__.py
  • scripts/patent_search.py
  • scripts/peds_client.py
  • skill.yaml
  • uspto-database_audit_result_v1.json

Open the folder on GitHubat commit 686e09d

Compare with similar skills

Uspto Database next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Uspto Database compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Uspto Database this skillaipoch/medical-research-skills2k—~758Automated safety check: PassMIT
Paper to Chinese Patent DrafterYuan1z0825/nature-skills46k1 repos~1.1kAutomated safety check: PassApache-2.0
Paper To Cn Patentsnipp-zha/Paper-to-patent-Skill1051 repos~959Automated safety check: PassNone
Patent Examinegfodor/legal-skills393—~4.8kAutomated safety check: PassGPL-3.0
Patent Auditgfodor/legal-skills393—~2.9kAutomated safety check: PassGPL-3.0
Patent Workaroundgfodor/legal-skills393—~5.7kAutomated safety check: PassGPL-3.0

Similar skills

  • Paper to Chinese Patent Drafter

    Yuan1z0825/nature-skills

    Drafts Chinese invention patent applications and technical disclosures from research papers or inventor materials, tying each claim feature to source evidence.

    46k GitHub starsUsed in 1 repo~1.1k tokens
    Legal & ComplianceAuto-check passed
  • Paper To Cn Patent

    snipp-zha/Paper-to-patent-Skill

    Convert scientific papers, theses, technical reports, source code, figures, or research manuscripts into evidence-grounded Chinese invention patent drafts.

    105 GitHub starsUsed in 1 repo~959 tokens
    Legal & ComplianceAuto-check passed
  • Patent Examine

    gfodor/legal-skills

    Iteratively examine and revise a draft U.S. An agent skill from gfodor/legal-skills.

    393 GitHub stars~4.8k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • Patent Audit

    gfodor/legal-skills

    Audit a draft U.S. An agent skill from gfodor/legal-skills.

    393 GitHub stars~2.9k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • Patent Workaround

    gfodor/legal-skills

    Adversarially pressure-test a draft or pending U.S. An agent skill from gfodor/legal-skills.

    393 GitHub stars~5.7k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • Design Information Prep

    SeanJ1ang/design-judge-skills

    Extract evidence-grounded project facts from user-provided design attachments, identify missing information, and prepare the exact written fields required by supported design-award entry forms.

    712 GitHub stars~1.8k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check: notes

More from aipoch/medical-research-skills

All 567 skills in this repo
  • Academic Poster Generator

    aipoch/medical-research-skills

    Complete workflow for generating academic research posters from PDF literature; use when you need to extract paper content from PDFs and produce a LaTeX-based poster…

    2k GitHub stars~2.2k tokensUpdated 20 days ago
    Auto-check passed
  • Diagnostic Study Quality Assessment Quadas

    aipoch/medical-research-skills

    Analyzes clinical diagnostic accuracy studies for bias using the QUADAS-2 tool.

    2k GitHub stars~1.4k tokensUpdated 20 days ago
    Auto-check passed
  • Exploratory Data Analysis

    aipoch/medical-research-skills

    Perform comprehensive exploratory data analysis on scientific data files across 200+ file formats.

    2k GitHub stars~3.7k tokensUpdated 20 days ago
    Auto-check passed
  • Iso Certification

    aipoch/medical-research-skills

    A toolkit for preparing ISO 13485:2016 certification documentation for medical device QMS.

    2k GitHub stars~1.8k tokensUpdated 20 days ago
    Auto-check passed
  • Journal Skills

    aipoch/medical-research-skills

    Recommends target journals for manuscript submission by analyzing the paper topic/abstract and the journal distribution of similar PubMed literature; use when users ask for journal…

    2k GitHub stars~1.7k tokensUpdated 20 days ago
    Auto-check passed
  • Latex Posters

    aipoch/medical-research-skills

    Creates academic-poster writing packages for LaTeX using beamerposter, tikzposter, or baposter.

    2k GitHub stars~1.3k tokensUpdated 20 days ago
    Auto-check passed

Questions about Uspto Database

What does Uspto Database do?

Access USPTO data (Patent Search, PEDS, TSDR, assignments) when you need to query patents/trademarks and retrieve prosecution or status information programmatically. Uspto Database is an agent skill from aipoch/medical-research-skills. Access USPTO data (Patent Search, PEDS, TSDR, assignments) when you need to query patents/trademarks and retrieve prosecution or status information programmatically.

When should I use Uspto Database?

Uspto Database fits situations like: tasks that involve Intellectual property.

How do I install Uspto Database in Claude Code?

Run `npx skills add aipoch/medical-research-skills --skill uspto-database -a claude-code`. Or copy the skill folder (scientific-skills/Other/uspto-database in aipoch/medical-research-skills) into .claude/skills/uspto-database in your project. Claude Code loads it when a task matches its description.

How do I install Uspto Database in Codex?

Run `npx skills add aipoch/medical-research-skills --skill uspto-database -a codex`. Or copy the skill folder (scientific-skills/Other/uspto-database in aipoch/medical-research-skills) into .agents/skills/uspto-database in your project. Codex loads it when a task matches its description.

Can I use Uspto Database in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aipoch/medical-research-skills --skill uspto-database -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/uspto-database, .gemini/skills/uspto-database, .github/skills/uspto-database and .opencode/skills/uspto-database in your project.

What does Uspto Database need to run?

Going by SKILL.md and its folder, Uspto Database needs Python for the scripts in its folder and credentials named USPTO_API_KEY and PATENTSVIEW_API_KEY. Our summary lists: Python 3; A credential in USPTO_API_KEY; A credential in PATENTSVIEW_API_KEY.

Does Uspto Database access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Uspto Database safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Uspto Database use?

Uspto Database is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Uspto Database use?

About 758 tokens (SKILL.md is roughly 3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 132 tokens, read only when the agent opens those files.

What are the alternatives to Uspto Database?

Skills that share tags, products or a category with Uspto Database: Paper to Chinese Patent Drafter (Yuan1z0825/nature-skills, 46k stars), Paper To Cn Patent (snipp-zha/Paper-to-patent-Skill, 105 stars), Patent Examine (gfodor/legal-skills, 393 stars) and Patent Audit (gfodor/legal-skills, 393 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Uspto Database?

aipoch (a GitHub organization) maintains it in aipoch/medical-research-skills, which has 1,973 GitHub stars. The repository holds 567 skills in this directory. The repository was last updated on September 17, 2026.

Source: aipoch/medical-research-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.