patent-distill

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

A workflow for combining patent application documents into a consistent writing style and extracting a separate protection strategy for each case. It uses local source files, prompts, scripts, and validation reports.

In plain words
What is it for?
Use it to process patent disclosures, applications, and published full texts into style samples, application sections, case observations, and playbooks. It is for organizing and analyzing supplied patent material, not downloading missing documents.
Why use it?
It keeps writing style separate from legal strategy and stops the process when the required full documents are unavailable. Validation helps catch incomplete or incorrectly structured outputs.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to process patent disclosures, applications, and published full texts into style samples, application sections, case observations, and playbooks. It is for organizing and analyzing supplied patent material, not downloading missing documents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/handsomestwei/patent-disclosure-skill/patent-distill
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 · 13,929 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-distill
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-distill

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/handsomestwei/patent-disclosure-skill/patent-distill"><img src="https://agentmods.dev/badge/skills/handsomestwei/patent-disclosure-skill/patent-distill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 725 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.00043 $0.00725
Opus 5.5 $0.00017 $0.00290
Sonnet 5.5 $0.00009 $0.00145
Haiku 4.5 $0.00004 $0.00072

Measured 2d ago against content hash e605709b0c67, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

patent-distill 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 2d ago.

The scan reads SKILL.md. This mod also ships 10 executable files (tests/__init__.py, tests/test_distill.py, tools/classify_distill.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-distill/SKILL.md · 45 lines

What it actually says

专利蒸馏

用途

申请文件合并成一份文风。每个案件单独一份策略观察和 playbook.yaml。文风只学怎么写。思路只学这一案怎么切保护点。

何时用

专利蒸馏、蒸文风、蒸思路、/专利蒸馏、/patent-distill。

输入

工作区内的交底书、申请文件或公开全文。脚本判断文书角色和专利类型。申请文件合并文风;思路按案件拆开。只有公开号、没有文件则停。金奖示例与下载入口见 examples/README.md,使用前先把全文下载到本地。

步骤

  1. Read prompts/guardrails.md → prompts/intake.md
  2. tools/classify_distill.py 读入文件并建档。退出码 3 时只补问 DISTILL_ASK 那一项,带上回答重跑
  3. 有 DISTILL_STYLE 则 Read prompts/style_distill.md,写批次根目录的 style.md、sections/application.md、samples.md
  4. 每一行 DISTILL_CASE Read prompts/strategy_distill.md,只写该案的 策略观察.md 与 playbook.yaml
  5. tools/validate_distill.py --dir <批次目录>,见到 DISTILL_OK 再交付
  6. 对话末块按 prompts/delivery_confirm.md。文风样本超过 4 份时,只在这段总结里提示参考上限,输入阶段照常全部合并。经根路由「组合路由」进入时不单独收尾,把档案目录交给写作包
python skills/patent-distill/tools/classify_distill.py 交底.md 申请.md
python skills/patent-distill/tools/validate_distill.py --dir outputs/patent-distill/<档案id>

枚举以 references/contract.yaml 为准。机读前缀:DISTILL_ROLE: / DISTILL_TYPE: / DISTILL_TRACKS: / DISTILL_ASK: / DISTILL_DIR: / DISTILL_PROFILE: / DISTILL_OK: / DISTILL_ERROR:。

护栏

  • 细则 prompts/guardrails.md。脚本只用本包 tools/。
  • 不代下载全文。playbook.yaml 不抄样本事实。观察档保持 draft。

产出物

outputs/patent-distill/{批次}/:batch.yaml;有申请文件时根目录是合并文风。cases/{案件}/ 各有一份思路档案。对话末块标题 交付后请确认。

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. 2d ago Changed e605709b0c67
  2. 3d ago First seen · 45 lines · 43 tokens per session scan A 55238ffbacd4

Subscribe to this mod's changes

patent-distill is a skill published in the GitHub repository handsomestWei/patent-disclosure-skill (13,929 stars, last pushed yesterday), licensed MIT. It adds 43 tokens to every session and 725 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-11-27.

Related

patent-distill compared with skills from other repositories

patent-distill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
patent-distillhandsomestWei/patent-disclosure-skillSkill14kyesterdayMITA43Claude Code
clawhub-content-rights-correspondenceopenclaw/clawhubSkill9.6kyesterdayMITA30Codex
clawhub-ban-appealsopenclaw/clawhubSkill9.6kyesterdayMITA44Claude Code, Codex
compliance-checkerAffitor/affiliate-skillsSkill8211mo agoMITA87Claude Code, Codex
iflytek-contract-intelligence-reviewiflytek/iFly-SkillsSkill2175d agoApache-2.0A116Claude Code, Codex
yuwen-publish-precheckyuwen-cool/yuwen-publish-precheckSkill8251mo agoMITA206Claude Code, Codex
competitive-intelligenceyogsoth-ai/de-anthropocentric-research-engineSkill5361mo agoApache-2.0A34Claude Code, Codex