Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Uspto Database

ASecurity

Use when querying official US patent or trademark records — granted patents, pre-grant publications, application status, assignments, or trademark status via USPTO systems. Covers the PatentSearch (PatentsView) API v1 with its JSON query DSL and X-Api-Key header, TSDR trademark retrieval, ODP file-wrapper search, and the environment-variable auth conventions.

2 stars
0 votes
0 copies
0 views
Added 9/19/2026
ai-agentspythongobashapidatabase

Works with

api

Security Analysis

A100/100

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add Mixard/fable-pack --skill uspto-database --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Uspto Database?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Uspto Database
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mixard-uspto-database/badge)](https://www.skillsdirectory.com/skills/mixard-uspto-database)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: uspto-database
description: Use when querying official US patent or trademark records — granted patents, pre-grant publications, application status, assignments, or trademark status via USPTO systems. Covers the PatentSearch (PatentsView) API v1 with its JSON query DSL and X-Api-Key header, TSDR trademark retrieval, ODP file-wrapper search, and the environment-variable auth conventions.
---

# USPTO Database

Use this skill when a task needs official United States patent or trademark records. This is a data-gathering and record-verification workflow — do not use it to give legal advice.

## When to Use

- Searching granted patents or pre-grant publications
- Checking patent application status, file-wrapper data, assignments, or prosecution history
- Looking up trademark status, documents, or assignment history
- Building reproducible prior-art, portfolio, or IP-landscape research

## Source Selection

Prefer official USPTO or USPTO-supported surfaces first:

- **Open Data Portal (ODP)** — current home for migrated USPTO datasets and APIs
- **Patent File Wrapper** — public patent application bibliographic and file-wrapper records
- **PatentSearch API** — PatentsView search API for granted patents and pre-grant publications
- **TSDR Data API** — trademark status and document retrieval
- **Patent and Trademark Assignment Search** — ownership transfer records
- **PTAB data in ODP** — Patent Trial and Appeal Board proceedings

Use secondary sources (Google Patents, Lens.org) only as convenience indexes; cross-check the official record when the answer matters.

## Authentication

Many USPTO API flows require an API key. Store keys in environment variables or a secret manager.

```bash
export USPTO_API_KEY="..."
export PATENTSVIEW_API_KEY="..."
```

For PatentSearch, send the key with the `X-Api-Key` header. For TSDR, follow the current USPTO API Manager instructions and rate-limit guidance.

## PatentSearch Workflow

Use PatentSearch for broad patent and pre-grant publication search — trends, inventors, assignees, classifications, dates, or portfolio slices.

**Migration (2026-03-20):** `search.patentsview.org` was retired — the host no longer resolves. PatentsView search moved into the USPTO Open Data Portal at `data.uspto.gov`, which requires an ODP API key. See the transition guide: https://data.uspto.gov/support/transition-guide/patentsview. The JSON query DSL below carried over in shape; confirm the current base URL and endpoint paths in the ODP docs before running.

The query body uses a JSON DSL: `q` is the filter (with operators `_and`, `_or`, `_not`, `_gte`, `_lte`, `_text_any`, `_text_all`, `_text_phrase`), `f` is the returned-field list, `s` is the sort spec, and `o` holds options like `per_page` and `page`.

```python
import os, requests

API_KEY = os.environ["PATENTSVIEW_API_KEY"]
BASE = "https://data.uspto.gov/..."  # resolve the current PatentSearch base path from the ODP transition guide

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())
```

Verify current endpoint names, field paths, and request parameters in the live PatentSearch docs before reusing a query.

## Trademark / TSDR Workflow

Use TSDR when the task needs trademark case status, documents, images, owner history, or prosecution events.

1. Normalize the serial number or registration number.
2. Check the current TSDR API instructions and required API-key header.
3. Fetch status first, then documents only if needed.
4. Respect the lower rate limit for PDF, ZIP, and multi-case downloads.

For large trademark pulls, prefer documented bulk-data flows rather than screen-scraping public pages.

## File Wrapper and Assignments

For application status, transaction history, and prosecution documents, start with ODP Patent File Wrapper search using exact identifiers (application number, publication number, patent number, or party name). Record whether the record is a granted patent, pre-grant publication, or pending application.

For ownership, search official assignment data by patent/application/registration number, assignor, assignee, or reel/frame. Record conveyance text, execution date, recordation date, and parties. Distinguish assignment records from current legal-ownership conclusions; if ownership is material, flag for attorney review.

## References

- USPTO APIs catalog: https://developer.uspto.gov/api-catalog
- USPTO Open Data Portal: https://data.uspto.gov/
- PatentsView-to-ODP transition guide: https://data.uspto.gov/support/transition-guide/patentsview
- TSDR API bulk download FAQ: https://developer.uspto.gov/faq/tsdr-api-bulk-download

Attribution

MixardMixard
View sourceMore from Mixard →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.

1023331 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

686011 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3331 votes

catchup

Recovers prior coding-agent session context by running `catchup <agent> --since-compact`, which extracts a clean summary of a previous Codex, Claude Code, Antigravity, OpenCode, or Pi Agent session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", or asks to recover/summarize a previous session before continuing. Do NOT use for the current conversation, git history, or any non-agent log.

611 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →