uspto-database
What it does
This skill guides the AI agent in using US Patent and Trademark Office data sources. It is for inventors, lawyers, analysts and researchers who need patent or trademark facts.
When to use it
- ✓When you want to find patents about a topic, company or inventor.
- ✓When you need the legal status or history of a trademark.
- ✓When you are checking prior art before filing a patent.
Skill link
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/scientific/uspto-database/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Can you search US patents about battery cooling filed by Tesla in the last two years?”
5 new skills a week. 1 minute to read.
How it works
The agent queries official USPTO data services by keyword, owner, number or date, and summarizes what it finds.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
USPTO Database
Overview
USPTO provides specialized APIs for patent and trademark data. Search patents by keywords/inventors/assignees, retrieve examination history via PEDS, track assignments, analyze citations and office actions, access TSDR for trademarks, for IP analysis and prior art searches.
When to Use This Skill
This skill should be used when:
- Patent Search: Finding patents by keywords, inventors, assignees, classifications, or dates
- Patent Details: Retrieving full patent data including claims, abstracts, citations
- Trademark Search: Looking up trademarks by serial or registration number
- Trademark Status: Checking trademark status, ownership, and prosecution history
- Examination History: Accessing patent prosecution data from PEDS (Patent Examination Data System)
- Office Actions: Retrieving office action text, citations, and rejections
- Assignments: Tracking patent/trademark ownership transfers
- Citations: Analyzing patent citations (forward and backward)
- Litigation: Accessing patent litigation records
- Portfolio Analysis: Analyzing patent/trademark portfolios for companies or inventors
USPTO API Ecosystem
The USPTO provides multiple specialized APIs for different data needs:
Core APIs
PatentSearch API - Modern ElasticSearch-based patent search (replaced legacy PatentsView in May 2025)
- Search patents by keywords, inventors, assignees, classifications, dates
- Access to patent data through June 30, 2025
- 45 requests/minute rate limit
- Base URL:
https://search.patentsview.org/api/v1/
PEDS (Patent Examination Data System) - Patent examination history
- Application status and transaction history from 1981-present
- Office action dates and examination events
- Use
uspto-opendata-pythonPython library - Replaced: PAIR Bulk Data (PBD) - decommissioned
TSDR (Trademark Status & Document Retrieval) - Trademark data
- Trademark status, ownership, prosecution history
- Search by serial or registration number
- Base URL:
https://tsdrapi.uspto.gov/ts/cd/
Additional APIs
- Patent Assignment Search - Ownership records and transfers
- Trademark Assignment Search - Trademark ownership changes
- Enriched Citation API - Patent citation analysis
- Office Action Text Retrieval - Full text of office actions
- Office Action Citations - Citations from office actions
- Office Action Rejection - Rejection reasons and types
- PTAB API - Patent Trial and Appeal Board proceedings
- Patent Litigation Cases - Federal district court litigation data
- Cancer Moonshot Data Set - Cancer-related patents
Quick Start
API Key Registration
All USPTO APIs require an API key. Register at: https://account.uspto.gov/api-manager/
Set the API key as an environment variable:
export USPTO_API_KEY="your_api_key_here"
Helper Scripts
This skill includes Python scripts for common operations:
scripts/patent_search.py- PatentSearch API client for searching patentsscripts/peds_client.py- PEDS client for examination historyscripts/trademark_client.py- TSDR client for trademark data
Task 1: Searching Patents
Using the PatentSearch API
The PatentSearch API uses a JSON query language with various operators for flexible searching.
Basic Patent Search Examples
Search by keywords in abstract:
from scripts.patent_search import PatentSearchClient
client = PatentSearchClient()
# Search for machine learning patents
results = client.search_patents({
"patent_abstract": {"_text_all": ["machine", "learning"]}
})
for patent in results['patents']:
print(f"{patent['patent_number']}: {patent['patent_title']}")
Search by inventor:
results = client.search_by_inventor("John Smith")
Search by assignee/company:
results = client.search_by_assignee("Google")
Search by date range:
results = client.search_by_date_range("2024-01-01", "2024-12-31")
Search by CPC classification:
results = client.search_by_classification("H04N") # Video/image tech
Advanced Patent Search
Combine multiple criteria with logical operators:
results = client.advanced_search(
keywords=["artificial", "intelligence"],
assignee="Microsoft",
start_date="2023-01-01",
end_date="2024-12-31",
cpc_code
FAQ
Is this official government data?
Yes. The skill uses USPTO data services, which are provided by the US Patent and Trademark Office.
Can it check a trademark status?
Yes. The skill covers trademark lookups by serial or registration number.
Does it give legal advice?
No. The results are facts to review, and a patent attorney should confirm any legal decisions.
Details
Original description by the author
Access USPTO APIs for patent/trademark searches, examination history (PEDS), assignments, citations, office actions, TSDR, for IP analysis and prior art searches.
Popularity
- GitHub stars
- 33k
- Ranking position
- #9041
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
owasp-security
33kTeaches your agent OWASP security guidance for web apps, APIs, mobile, containers and AI agents, so it can spot common weaknesses and suggest fixes.
agent-management
33kLets your agent create, list, hibernate, wake, rename and delete AI agents using the AI Maestro command line, managing each agent's lifecycle.
agent-messaging
33kLets your agent send, receive and reply to signed messages between AI agents, using the Agent Messaging Protocol, mostly on your own machine.
docs-search
33kLets your agent search auto-generated code documentation for function signatures, class definitions and comments, so it checks the real API before changing code.
Similar skills
graincrawl
394kLets your agent search your saved Granola meeting notes and transcripts, check how fresh they are, and count them over a period.
notcrawl
394kLets your agent search a saved copy of your Notion workspace, look up pages and databases, and export pages to Markdown files.
knowledge-entities
394kHelps your agent identify people, companies, and projects, then write sourced profile pages for them in your Knowledge vault.