patent-map

patent-map is a skill for Claude Code from handsomestWei/patent-disclosure-skill. It costs 48 tokens per session (511 once invoked), scanned A, original, MIT.

A tool for making a visual map of stored patent case notes in an Obsidian vault. Obsidian is a note-taking application that stores linked text files.

In plain words
What is it for?
Starting a local map, reading patent interpretation notes, and displaying them as a visual landscape based on their text.
Why use it?
It turns written patent material into a map that can help someone see groups and relationships across cases.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Starting a local map, reading patent interpretation notes, and displaying them as a visual landscape based on their text.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/handsomestwei/patent-disclosure-skill/patent-map
About the project

中国专利.skill is a Chinese-language agent skill for finding patentable ideas, writing patent disclosure documents, explaining published patents, tracking examination policies, and helping prepare examination responses. It is for developers and researchers working with Chinese invention, utility-model, and design patents, with workflows that can store related research in Obsidian.

handsomestWei/patent-disclosure-skill · 9,222 stars · on GitHub · skillhub.cn

Install

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.

Any agent
npx skills add handsomestWei/patent-disclosure-skill --skill patent-map
Clone the repo
git clone --depth 1 https://github.com/handsomestWei/patent-disclosure-skill

Made for: Claude Code.

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-map

README.md
[![agentmods](https://agentmods.dev/badge/skills/handsomestwei/patent-disclosure-skill/patent-map/github.svg)](https://agentmods.dev/skills/handsomestwei/patent-disclosure-skill/patent-map)
Your own site
<a href="https://agentmods.dev/skills/handsomestwei/patent-disclosure-skill/patent-map"><img src="https://agentmods.dev/badge/skills/handsomestwei/patent-disclosure-skill/patent-map/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-map

Your own site · 80×15
<a href="https://agentmods.dev/skills/handsomestwei/patent-disclosure-skill/patent-map"><img src="https://agentmods.dev/badge/skills/handsomestwei/patent-disclosure-skill/patent-map.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 511 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.00048 $0.00511
Opus 5 $0.00024 $0.00255
Sonnet 5 $0.00010 $0.00102
Haiku 4.5 $0.00005 $0.00051

Measured today against content hash 20e87df7b2d2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

patent-map 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 today.

The scan reads SKILL.md. This mod also ships 30 executable files (tests/test_map.py, tools/__init__.py, tools/embed_layout.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/patent-map/SKILL.md · 35 lines

What it actually says

专利地图

须用户点名(专利地图 / 案例地图 / /专利地图 / /patent-map)。
不要因「读专利 / 写交底」自动进入。解读继续只入库;本包只读 vault、起本地页。

  1. Read prompts/guardrails.mdintake.md
  2. 确认库路径(与解读同一份:PATENT_READER_OBSIDIAN_VAULT~/.patent-disclosure-skill/obsidian_vault.txt
  3. 启动:
python skills/patent-map/tools/serve_map.py

stdout 机读前缀:MAP_URL: / MAP_PORT: / MAP_VAULT: / MAP_SOURCE: / MAP_CACHE: / MAP_MODEL:
端口由系统随机分配(127.0.0.1:0),避免冲突。对话里把 URL 发给用户;不要把服务焊进解读入库。

地形图按解读短文向量摊开。加载名 BAAI/bge-small-zh-v1.5,磁盘只装 Qdrant ONNX(不要 PyTorch)。数据与模型默认目录:{Documents}/patent-disclosure-skill/patent-map/(与 oa 同级)。未装 fastembed 时图仍能开,地形退回 IPC 簇。

可选:

pip install -r skills/patent-map/tools/requirements.txt
python skills/patent-map/tools/ensure_model.py

单独拷走本包时:python tools/serve_map.py

取数:优先扫库目录 Research/Patents/**/*_解读_*.md。若本机 obsidian CLI 可用且库已打开,用 obsidian vaults / base:query 核对,不替代磁盘扫描。

Files

What ships with it

43 files 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.

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. today First seen · 35 lines · 48 tokens per session scan A 20e87df7b2d2

Subscribe to this mod's changes

patent-map is a skill published in the GitHub repository handsomestWei/patent-disclosure-skill (9,222 stars, last pushed yesterday), licensed MIT. It adds 48 tokens to every session and 511 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-09-12.

Related

Other skills, from other repositories

knowledge-base-management

A lifecycle system for managing an Obsidian knowledge base, which is a folder of linked notes. It organizes raw material, AI-maintained wiki pages, and generated views into separate layers.

chubbyguan/chubbyskills · 49 tokens

superpowers-zh

Use when constraining AI coding with Chinese TDD methodology, systematic debugging, code review, and verification workflows. Superpowers-zh: Chinese adaptation of the Superpowers AI-assisted programming skills and methodologies.

znlgis/opengis-skills · 45 tokens

jacky-motion2-0-srt

A workflow for turning a Chinese spoken script and matching SRT subtitle file into a single 16:9 HTML information animation. SRT is a subtitle file that stores text with start and end times; the animation follows those times and adds recorded-screen placeholders when needed.

Jackywxsz/Jacky-motion · 127 tokens

jingtian-style

A Chinese-language rewriting tool based on the first-person, accounting-style prose associated with the essay “My Girlfriend Jing Tian.” It changes how existing material is expressed, not the underlying story.

anhao/jingtian-style · 176 tokens

personal-brand-content

A content-writing assistant for building an expert personal brand or channel across different platforms.

dzhokhov/markdown-agent-vault-ru · 0 tokens

travel-planner

A Chinese-language travel-planning guide for trips, road journeys, family travel, and holidays. It requires the planner to ask for the budget before producing an itinerary and to verify current facts with dated sources.

saudademjj/luopan · 91 tokens