Agent skill · mims-harvard

setup-uspto-downloader-remote-tool

Set up, launch, validate, and troubleshoot the USPTO downloader ToolUniverse remote tool and optionally relay it through ToolUniverse Connect. Use when deploying or auditing this implementation.

What it needs

About 4k tokens when loaded.

What this skill does

Set up USPTO downloader as a remote tool Validation status (2026-08-16): boundary/parser tests and live loopback discovery passed; all three current calls reached USPTO and received HTTP 403 for an invalid validation key. No patent content was retrieved, so functional content retrieval, public publication, cross-user isolation, and extraction/load behavior remain blocked by credentials or unmeasured. Authenticated private Platform import and owner testing passed on 2026-08-16; public publication and independent-caller authorization/isolation remain untested. Prerequisites Run from the ToolUniverse repository root on Linux with Python 3.12.3. CPU only; OCR requires bounded temporary RAM/disk. Keep provider data, weights, caches, and credentials outside Git. Bind to loopback. A non-loopback bind requires TOOLUNIVERSEAPITOKEN; never put it in arguments or results. Run the standard-library contract check before downloading large dependencies: ~~~bash python scripts/remotevalidation/setupskillpreflight.py --implementation uspto-downloader ~~~ After exporting provider resources, add --check-provider-env. After the server starts, add --live to verify the exact MCP tool set without running the model. Before sharing, add --check-connect-prereqs; this reports only whether a key is set and never prints its value. Create an isolated environment ~~~bash python3 -m venv .venvs/uspto-downloader . .venvs/uspto-downloader/bin/activate python -m pip install --upgrade pip python -m pip install -e . python -m pip install fastmcp requests pymupdf easyocr python-docx Pillow ~~~ Package/network-dependent commands must be rerun in a clean environment before marking this skill complete. Obtain credentials, data, and model weights Set USPTOAPIKEY only in the provider. Keep OCR caches below caches/uspto-downloader. Only approved USPTO HTTPS hosts are fetched; verify document reuse terms. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills mims-harvard/setup-uspto-downloader-remote-tool

View the source on GitHub

Browse the @skills marketplace