patent-aid: Skill for Claude Code

.claude/skills/patent-fetcher/SKILL.md

patent-fetcher is a skill for Claude Code from KumnXi/patent-aid. It costs 55 tokens per session (826 once invoked), scanned A, original, MIT.

A tool for finding and downloading full-text patents in the electric-power field, then storing them in a reference patent library.

In plain words
What is it for?
Use it to fetch a known patent, search topics such as smart grids or renewable energy, download selected PDFs, or collect several patents for a topic.
Why use it?
It reduces the manual work of searching for relevant patents and collecting their claims and descriptions for later reference.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

This is KumnXi/patent-aid's own configuration. It tells Claude Code how to work on patent-aid itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything patent-aid configures →

Part of the patent-aid plugin — 6 skills, 1 hook, 3 MCP servers shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to KumnXi/patent-aid. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/KumnXi/patent-aid/main/.claude/skills/patent-fetcher/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/KumnXi/patent-aid

Made for: Claude Code.

Or install patent-aid, the plugin that ships this one along with the rest of its 6 skills, 1 hook, 3 MCP servers.

Wrote 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.

agentmods badge for patent-fetcher

README.md
[![agentmods](https://agentmods.dev/badge/skills/kumnxi/patent-aid/patent-fetcher/github.svg)](https://agentmods.dev/skills/kumnxi/patent-aid/patent-fetcher)
Your own site
<a href="https://agentmods.dev/skills/kumnxi/patent-aid/patent-fetcher"><img src="https://agentmods.dev/badge/skills/kumnxi/patent-aid/patent-fetcher/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for patent-fetcher

Your own site · 80×15
<a href="https://agentmods.dev/skills/kumnxi/patent-aid/patent-fetcher"><img src="https://agentmods.dev/badge/skills/kumnxi/patent-aid/patent-fetcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 826 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.00826
Opus 5 $0.00028 $0.00413
Sonnet 5 $0.00011 $0.00165
Haiku 4.5 $0.00006 $0.00083

Measured 12d ago against content hash 4a178ed62e19, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

patent-fetcher 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 12d 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.

.claude/skills/patent-fetcher/SKILL.md · 102 lines

What it actually says

专利获取器

获取电力领域专利全文,用于充实参考专利库(data/reference_patents/)。

数据源现状:项目主爬取通道已转向 Google Patentssrc/api/google_patents.py,需 Clash 代理) 和 Firecrawl 备用通道src/api/firecrawl.py),批量抓取走 scripts/fast_crawl.py / scripts/ipc_discovery.py。本 skill 基于 Patenthub API(src/api/patenthub.py), 仅在 Patenthub 可用时有效,免费额度有限(202 状态码 = 超限)。

使用方式

获取指定专利

/patent-fetcher CN202XXXXXXXXX

直接获取指定专利号的完整内容(权利要求+说明书)

搜索并获取

/patent-fetcher 搜索 虚拟电厂

搜索相关专利并选择性获取

批量获取

/patent-fetcher 批量 分布式光伏 10

批量获取指定主题的前N个专利

筛选规则

默认只获取授权且有效的专利,检索式自动添加:

AND type:发明授权 AND legalStatus:有效专利

这样可以:

  • 避免获取公开但未授权的专利(可能被驳回)
  • 避免获取已失效的专利
  • 确保参考专利的质量

PDF下载

免费账户有10次PDF下载限额,建议优先下载最有价值的专利。

/patent-fetcher pdf CN117977607B

可用搜索关键词

电力系统

  • 电力系统、配电网、输电线路、变电站、负荷

新能源

  • 分布式光伏、风电场、储能系统、虚拟电厂、新能源并网

智能电网

  • 配电自动化、微电网、需求响应、主动配电网、电力物联网

继电保护

  • 继电保护、差动保护、距离保护、故障定位、重合闸

电力自动化

  • 调度自动化、变电站自动化、SCADA、电力监控

获取流程

  1. 搜索:调用搜索API获取专利列表
  2. 筛选:根据相关性和质量筛选专利
  3. 获取详情:获取权利要求和说明书全文
  4. 保存:保存到参考专利库对应目录
  5. 更新索引:更新index.json

保存位置

专利保存到 data/reference_patents/ 目录下:

  • power_system/ — 电力系统
  • renewable/ — 新能源
  • smart_grid/ — 智能电网
  • protection/ — 继电保护
  • automation/ — 电力自动化

学习要点提取

获取专利后,自动提取以下学习要点:

  • 创新点分析
  • 权利要求结构特点
  • 技术效果描述方式
  • 专业术语使用
  • 可借鉴的句式

API配置

Token存储在 config/api_config.json

Changes

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.

  1. 12d ago First seen · 102 lines · 55 tokens per session scan A 4a178ed62e19

Subscribe to this mod's changes

patent-fetcher is a skill published in the GitHub repository KumnXi/patent-aid (2 stars, last pushed 19d ago), licensed MIT. It adds 55 tokens to every session and 826 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

patent-disclosure-skill

A Chinese patent-work assistant for finding invention ideas, writing patent disclosures, explaining patents in plain language, tracking policy changes, and preparing responses to examiner notices.

handsomestWei/patent-disclosure-skill · 176 tokens

patent-search

A search tool for published Chinese patent records, using fields such as inventor, applicant, classification number, and title.

handsomestWei/patent-disclosure-skill · 46 tokens

patent-docket

A workflow coordinator for patent case files, from an inventor's technical disclosure to patent application documents. A patent docket is the tracked record of a patent matter, including its stage, questions, drafts, and handoffs.

handsomestWei/patent-disclosure-skill · 93 tokens

patent-application

A patent-application document workflow that turns supplied invention materials into claims, a description, an abstract, and black-and-white drawings. It can also produce Markdown and Word files.

handsomestWei/patent-disclosure-skill · 95 tokens

patent-disclosure

A guided workflow for finding patentable ideas, doing a limited prior-art search, and drafting a Chinese patent disclosure document. A disclosure document describes an invention for later patent drafting.

handsomestWei/patent-disclosure-skill · 40 tokens

patent-oa

An assistant for preparing replies to patent office examination opinions in China. It can use stored past cases and practice manuals to help shape a draft, which must be reviewed before filing.

handsomestWei/patent-disclosure-skill · 43 tokens