Agent skill

Patent Fetch

by ZimoLiao in ZimoLiao/scholaraio

A skill your agent uses when the user has a patent publication number, patent URL, or patent-search result and wants the PDF fetched into the configured patent inbox.

MITAuto-check passedLegal & Compliance

Install Patent Fetch

skills CLI
$ npx skills add ZimoLiao/scholaraio --skill patent-fetch -a claude-code

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

GitHub CLI
$ gh skill install ZimoLiao/scholaraio patent-fetch --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/ZimoLiao/scholaraio.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/patent-fetch .claude/skills/patent-fetch && 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
patent-fetch
GitHub stars
577
Token cost
~618 tokens
SKILL.md length
129 words
Files
1
Skills in repo
43
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when the user has a patent publication number, patent URL, or patent-search result and wants the PDF fetched into the configured patent inbox.

  • The user has a patent publication number
  • SKILL.md covers 功能, 用法, 输出示例 and 推荐工作流, plus 2 more sections
  • Reaches patents.google.com
  • Patent-search result and wants the PDF fetched into the configured patent inbox

What it does

Patent Fetch is an agent skill from ZimoLiao/scholaraio. Use when the user has a patent publication number, patent URL, or patent-search result and wants the PDF fetched into the configured patent inbox.

Its SKILL.md is about 620 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Legal & Compliance, covering Intellectual property. The repository describes itself as: Scholar All-In-One: A research infrastructure for AI agents. The licence is MIT.

When your agent uses it

  • The user has a patent publication number
  • Patent-search result and wants the PDF fetched into the configured patent inbox

Example prompts

  • “/patent-fetch”

What it can do on your machine

Read from SKILL.md and the folder at commit 777628b. 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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

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

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • patents.google.com

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

  • Credentials

    Names no API keys, tokens, secrets or passwords.

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

Context cost

Patent Fetch loads about 618 tokens when it runs. Until then it costs about 40 tokens; SKILL.md has 129 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~40
When it runs · the whole SKILL.md, loaded when a task matches
~618

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); files beside SKILL.md are not scanned.

SKILL.md

The full file from ZimoLiao/scholaraio at commit 777628b, republished under its MIT licence (© ZimoLiao). 129 words, ~618 tokens.

Download SKILL.mdSave it as .claude/skills/patent-fetch/SKILL.md (or your agent's skills folder).
name
patent-fetch
description
Use when the user has a patent publication number, patent URL, or patent-search result and wants the PDF fetched into the configured patent inbox.

patent-fetch — 专利 PDF 下载

优先通过 USPTO PPUBS 官方导出接口下载美国专利 PDF,并在必要时回退到 Google Patents 页面抓取,自动保存到 configured patent inbox(fresh 默认 data/spool/inbox-patent/),供后续 pipeline ingest 入库。旧版 data/inbox-patent/ 先用 scholaraio migrate upgrade --migration-id <id> --confirm 迁移。

常与 patent-search 配合使用:先用 patent-search 发现专利,再用 patent-fetch 或 --fetch 参数下载 PDF。

功能

  • 专利 ID 直输:只需输入专利公开号(如 US20240176406A1),优先走 USPTO 官方导出
  • 完整 URL 支持:也支持直接传入完整的专利页面链接
  • 官方下载优先:美国专利优先走 PPUBS 导出,避免 Google 页面抓取不稳定
  • 自动去重:如果目标文件已存在,跳过下载
  • 仅用于发现下载:不入库,下载后需手动执行 scholaraio pipeline ingest 走专利入库流程

用法

通过专利 ID 下载
bash
scholaraio patent-fetch US20240176406A1
通过完整 URL 下载
bash
scholaraio patent-fetch "https://patents.google.com/patent/US20240176406A1"
与 patent-search 联动
bash
# 方式一:搜索后根据提示手动下载
scholaraio patent-search "neural network" --count 5
# 输出中每条结果会显示:下载: scholaraio patent-fetch <公开号>

# 方式二:搜索时自动下载所有结果 PDF
scholaraio patent-search "neural network" --count 5 --fetch

输出示例

已下载: /path/to/data/spool/inbox-patent/US20240176406A1.pdf (1679017 bytes)
已保存到: /path/to/data/spool/inbox-patent/US20240176406A1.pdf

如果文件已存在:

文件已存在: /path/to/data/spool/inbox-patent/US20240176406A1.pdf
已保存到: /path/to/data/spool/inbox-patent/US20240176406A1.pdf

如果页面没有 PDF 链接:

未在该页面找到 PDF 下载链接

推荐工作流

手动下载流程
bash
# 1. 搜索专利
scholaraio patent-search "quantum computing" --count 10

# 2. 根据公开号下载目标专利 PDF
scholaraio patent-fetch US20230123456A1

# 3. 走正常专利入库流程(自动按公开号去重、标记 patent 类型)
scholaraio pipeline ingest

# 4. 本地检索
scholaraio search "voltage overshoot"
自动下载流程
bash
# 1. 搜索并自动下载前 5 条结果的 PDF
scholaraio patent-search "quantum computing" --count 5 --fetch

# 2. 直接入库
scholaraio pipeline ingest

故障排除

页面请求超时或下载失败

  • 美国专利默认优先走 USPTO PPUBS 官方导出,通常不需要额外代理
  • 若已回退到 Google Patents,某些网络环境下可能需要配置 HTTP 代理

未在该页面找到 PDF 下载链接

  • 该专利可能尚未上传 PDF(如非常新的 WO 专利)
  • 尝试在浏览器中打开页面确认是否有 PDF 下载入口
  • 部分非美国专利或特殊文档类型可能需要换源(如 EPO)

下载失败

  • 检查 configured patent inbox(fresh 默认 data/spool/inbox-patent/)是否有写入权限
  • 确认磁盘空间充足

相关功能

  • scholaraio patent-search — USPTO 专利搜索(发现专利公开号,支持 --fetch 自动下载)
  • scholaraio pipeline ingest — 将 inbox-patent 中的 PDF 入库
  • scholaraio search / scholaraio vsearch — 本地知识库检索

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

Files

Just SKILL.md in .claude/skills/patent-fetch of ZimoLiao/scholaraio.

Open the folder on GitHubat commit 777628b

Compare with similar skills

Patent Fetch 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.

Patent Fetch compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Patent Fetch this skillZimoLiao/scholaraio577—~618Automated safety check: PassMIT
Paper to Chinese Patent DrafterYuan1z0825/nature-skills47k1 repos~1.1kAutomated safety check: PassApache-2.0
Paper To Cn Patentsnipp-zha/Paper-to-patent-Skill1071 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
Replica BrandJakeschincariol/replica-skill1.4k—~1.1kAutomated safety check: PassMIT

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.

    47k 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.

    107 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
  • Replica Brand

    Jakeschincariol/replica-skill

    Names and rebrands an app clone so it is the user's own: name candidates with the trademark, domain, store and handle checks to run, a new palette checked for contrast, a logo brief, a voice guide…

    1.4k GitHub stars~1.1k tokensUpdated 8 days 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

More from ZimoLiao/scholaraio

All 43 skills in this repo
  • Document

    ZimoLiao/scholaraio

    A skill your agent uses when the user wants to create or inspect DOCX, PPTX, or XLSX files, generate a downloadable Office deliverable, or verify its structure and layout warnings with scholaraio…

    577 GitHub stars~674 tokensUpdated 16 days ago
    Auto-check passed
  • Academic Writing

    ZimoLiao/scholaraio

    A skill your agent uses when the user needs help choosing or organizing an academic-writing workflow by deliverable, stage, or format, including review articles, guided reading, paper sections, PPT…

    577 GitHub stars~827 tokensUpdated 16 days ago
    Auto-check passed
  • Arxiv

    ZimoLiao/scholaraio

    A skill your agent uses when the user wants to browse arXiv preprints, search arXiv directly, fetch a PDF by arXiv ID or URL, or send a preprint into the ScholarAIO ingest pipeline.

    577 GitHub stars~799 tokensUpdated 16 days ago
    Auto-check passed
  • Bioinformatics

    ZimoLiao/scholaraio

    A skill your agent uses when working on bioinformatics workflows such as alignment, variant calling, phylogenetics, or protein-structure analysis, especially across BLAST, minimap2, samtools…

    577 GitHub stars~1.4k tokensUpdated 16 days ago
    Auto-check passed
  • Citation Check

    ZimoLiao/scholaraio

    A skill your agent uses when the user wants to verify citations in AI-generated or human-written text against the local knowledge base and catch hallucinated, wrong, or missing references.

    577 GitHub stars~454 tokensUpdated 16 days ago
    Auto-check passed
  • Draw

    ZimoLiao/scholaraio

    A skill your agent uses when the user wants diagrams, flowcharts, architecture visuals, data relationships, timelines, concept maps, Mermaid, Graphviz, drawio, or polished paper figures generated…

    577 GitHub stars~1.3k tokensUpdated 16 days ago
    Auto-check: notes

Questions about Patent Fetch

What does Patent Fetch do?

A skill your agent uses when the user has a patent publication number, patent URL, or patent-search result and wants the PDF fetched into the configured patent inbox. Patent Fetch is an agent skill from ZimoLiao/scholaraio. Use when the user has a patent publication number, patent URL, or patent-search result and wants the PDF fetched into the configured patent inbox.

When should I use Patent Fetch?

Patent Fetch fits situations like: the user has a patent publication number; patent-search result and wants the PDF fetched into the configured patent inbox.

How do I install Patent Fetch in Claude Code?

Run `npx skills add ZimoLiao/scholaraio --skill patent-fetch -a claude-code`. Or copy the skill folder (.claude/skills/patent-fetch in ZimoLiao/scholaraio) into .claude/skills/patent-fetch in your project. Claude Code loads it when a task matches its description.

How do I install Patent Fetch in Codex?

Run `npx skills add ZimoLiao/scholaraio --skill patent-fetch -a codex`. Or copy the skill folder (.claude/skills/patent-fetch in ZimoLiao/scholaraio) into .agents/skills/patent-fetch in your project. Codex loads it when a task matches its description.

Can I use Patent Fetch 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 ZimoLiao/scholaraio --skill patent-fetch -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/patent-fetch, .gemini/skills/patent-fetch, .github/skills/patent-fetch and .opencode/skills/patent-fetch in your project.

What does Patent Fetch need to run?

SKILL.md names no scripts, command-line tools or credentials: Patent Fetch is instructions for the agent only.

Does Patent Fetch access the network?

SKILL.md names 1 domain. In commands or code: patents.google.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Patent Fetch 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. Review the folder before installing.

What licence does Patent Fetch use?

Patent Fetch is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Patent Fetch use?

About 618 tokens (SKILL.md is roughly 2.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Patent Fetch?

Skills that share tags, products or a category with Patent Fetch: Paper to Chinese Patent Drafter (Yuan1z0825/nature-skills, 47k stars), Paper To Cn Patent (snipp-zha/Paper-to-patent-Skill, 107 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 Patent Fetch?

ZimoLiao (a GitHub user) maintains it in ZimoLiao/scholaraio, which has 577 GitHub stars. The repository holds 43 skills in this directory. The repository was last updated on September 25, 2026.

Source: ZimoLiao/scholaraio on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.