Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/smcronin/uspto-cli/usptonpx skills add smcronin/uspto-cli --skill usptogit clone --depth 1 https://github.com/smcronin/uspto-cliWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/smcronin/uspto-cli/uspto)<a href="https://agentmods.dev/skills/smcronin/uspto-cli/uspto"><img src="https://agentmods.dev/badge/skills/smcronin/uspto-cli/uspto.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00042 | $0.04117 |
| Opus 5 | $0.00021 | $0.02058 |
| Sonnet 5 | $0.00008 | $0.00823 |
| Haiku 4.5 | $0.00004 | $0.00412 |
Grade A, and why
uspto scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 341 lines — stays where its author put it; the contents beside it link to each section on GitHub.
USPTO CLI
When to Use
Use this skill when the user asks to:
- Search trademarks by wordmark, owner, goods/services, class, design code, attorney, date, or live/dead status
- Retrieve trademark status, owners, prosecution events, assignments, maintenance data, documents, or mark images through TSDR
- Search for patents by keyword, inventor, assignee, CPC class, examiner, or date range
- Look up a specific patent application's metadata, prosecution history, continuity, or assignments
- Download patent documents (PDFs, DOCX, XML) from the file wrapper
- Download a full patent artifact bundle in one command (JSON + XML + PDFs + README)
- Extract structured patent text (claims, citations, abstract, description) from patent XML (grant/pgpub)
- Search or retrieve PTAB trial proceedings, decisions, appeals, or interferences
- Search petition decisions
- Browse or download bulk data products from USPTO
- Look up patent application status codes
- Build a patent family tree or get a one-shot application summary
- Export patent data to CSV, JSON, or NDJSON for analysis
Prerequisites
The uspto binary must be installed and on PATH. Patent ODP and trademark
TSDR are separate systems with separate credentials. Anonymous Trademark
Search needs no key.
Install:
go install github.com/smcronin/uspto-cli/cmd/uspto@latest
# Or update an existing install:
uspto update
API Key Setup:
uspto config set-api-key your-key-here # Save to global config
uspto config set-api-key --from-dotenv .env # Import from .env file
uspto config show # Verify key status
If the user doesn't have a key: create account at https://data.uspto.gov/apis/getting-started, verify via ID.me, copy key from https://data.uspto.gov/myodp.
For trademark case/status/document retrieval, obtain a separate TSDR key from https://account.uspto.gov/api-manager/ and configure it with:
uspto config set-tsdr-api-key your-tsdr-key
uspto config set-tsdr-api-key --from-dotenv .env
uspto config show
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 341 lines · 42 tokens per session scan A 27495c742d66
uspto is a skill published in the GitHub repository smcronin/uspto-cli (39 stars, last pushed 29d ago), licensed MIT. It adds 42 tokens to every session and 4,117 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
jurisd-research
Expert Australian/NZ legal research and AGLC4 citation using the jurisd MCP server. Use when finding cases or legislation (AustLII), looking up a provision offline, formatting or resolving citations, building a pinpoint, tracing who-cites-what, or producing an AGLC4 bibliography. Triggers on case law, legislation…
ip-trademark
Use when a non-lawyer operator needs to protect a brand or creative work — clearing and choosing a name or logo, deciding whether and where to register a trademark, using the trademark and registered symbols correctly, knowing what copyright is automatic, or checking whether they own work a freelancer was paid for.…
Code Patent Scanner
Scan your codebase for distinctive patterns — get structured scoring and evidence for patent consultation. NOT legal advice.
Patent Scanner
Describe your concept and discover what makes it distinctive — structured analysis for patent consultation. NOT legal advice.
Patent Validator
Turn your concept analysis into search queries — research the landscape before consulting an attorney. NOT legal advice.
Code Patent Validator
Turn your code scan findings into search queries — research existing implementations before consulting an attorney. NOT legal advice.