patent-map

patent-map is a skill for Claude Code from handsomestWei/patent-disclosure-skill. It costs 48 tokens per session (650 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 · 12,373 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 650 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.00650
Opus 5.5 $0.00019 $0.00260
Sonnet 5.5 $0.00010 $0.00130
Haiku 4.5 $0.00005 $0.00065

Measured 27d ago against content hash 031e6176cfcd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 27d ago.

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 · 51 lines

What it actually says

专利地图

用途

把已经解读入库的案例摊成五种图(语义地形),给代理师找相近案子、看申请人重叠和文内引证。本包只读 vault、起本地页。空白点只表示「库里没读到」。

何时用

须用户点名(专利地图 / 案例地图 / /专利地图 / /patent-map)。解读继续只入库。

输入

已有解读入库的 vault(与解读同一份:PATENT_READER_OBSIDIAN_VAULT 或 ~/.patent-disclosure-skill/obsidian_vault.txt)。取数优先扫 Research/Patents/**/*_解读_*.md。若本机 obsidian CLI 可用且库已打开,用 obsidian vaults / base:query 核对,不替代磁盘扫描。

步骤

  1. Read prompts/guardrails.md → intake.md
  2. 确认库路径
  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(见 prompts/guardrails.md 取数)。数据与模型默认目录:{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。

护栏

  • 细则 prompts/guardrails.md。地图脚本只用本包 tools/;解读笔记直接读 vault 文件。

产出物

本机页面 URL(MAP_URL)。索引与模型在 {Documents}/patent-disclosure-skill/patent-map/。本包不设「交付后请确认」。

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. 27d ago Changed · +16 lines 031e6176cfcd
  2. 1mo ago 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 (12,373 stars, last pushed today), licensed MIT. It adds 48 tokens to every session and 650 once invoked, about $0.0002 per session on Opus 5.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

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

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 · 108 tokens

zuiqiang-shifu-v3

A Chinese-language content and marketing advisor combining video-production guidance with marketing-psychology knowledge. It routes requests about social-media content, topics, branding, sales, and audience growth to relevant guidance.

2282199198/zuiqiang-shifu · 210 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