mini-wiki: Skill for Claude Code

.agents/skills/patent-disclosure-skill/SKILL.md

patent-disclosure-skill is a skill for Claude Code from trsoliu/mini-wiki. It costs 106 tokens per session (3,475 once invoked), scanned A, original, MIT.

A China-patent skill for finding possible inventions in project documents and preparing technical disclosure documents, or explaining existing patents in simple language with an Obsidian knowledge graph. A technical disclosure is a document that describes an invention for patent review.

In plain words
What is it for?
Use it to identify patent ideas, compare them with existing technology, draft or revise disclosure documents, or turn a patent PDF or publication number into plain-language notes and linked Obsidian pages.
Why use it?
It helps turn complex project or patent material into structured documents that are easier to review, compare, and understand.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents).

This is trsoliu/mini-wiki's own configuration. It tells Claude Code how to work on mini-wiki 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 mini-wiki configures →

Reuse

Borrowing it

Nothing to install: this file belongs to trsoliu/mini-wiki. 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/trsoliu/mini-wiki/main/.agents/skills/patent-disclosure-skill/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/trsoliu/mini-wiki

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-disclosure-skill

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/trsoliu/mini-wiki/patent-disclosure-skill"><img src="https://agentmods.dev/badge/skills/trsoliu/mini-wiki/patent-disclosure-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,475 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00106 $0.03475
Opus 5 $0.00053 $0.01737
Sonnet 5 $0.00021 $0.00695
Haiku 4.5 $0.00011 $0.00347

Measured 11d ago against content hash 6323b7ea177f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

patent-disclosure-skill 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 11d ago.

The scan reads SKILL.md. This mod also ships 9 executable files (tests/test_cnipa_epub_chain.py, tests/test_cnipa_epub_crawler.py, tests/test_desc_paragraphs.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.

.agents/skills/patent-disclosure-skill/SKILL.md · 148 lines

How it starts

The opening of the file, as written. The whole thing — 148 lines — stays where its author put it; the contents beside it link to each section on GitHub.

中国专利 · 交底书编写与通俗解读

本技能支持两种用法;分步指令在 prompts/,执行前须 Read 对应文件。

模式 何时用 主入口
A · 交底书编写 从项目材料挖专利点 → 查新 → 成稿 .md/.docx → 迭代 下文「交底书主流程」
B · 专利通俗解读 已有公开号 / PDF / 全文,原文抽象难读,要通俗叙事 + 图谱 下文「专利通俗解读」+ patent_plain_reader.md

提供专利号或专利全文/PDF且意图为「读懂」时 → 优先模式 B默认跑交底书 Step 1–8。

环境与约定

  • 语言:默认与用户语种一致;专利与法律术语用行业常用表述。
  • 交底书图示(Step 7)3.2/3.4 用 fenced mermaid;见工具表与 tools/README.md
  • 解读 + Obsidian强烈推荐配置库(PATENT_READER_OBSIDIAN_VAULT),以完整体验索引、Canvas 知识图谱、术语网、关系图配色与公开线索旁注;无库可降级 outputs/patent_reader/。入库时自动 bootstrap(CSS / Bases / 关系图),勿再引导用户手动装 CSS。用户侧 Obsidian 安装与可选社区插件见 docs/obsidian-setup-guide.md

触发条件

  • 交底书:专利挖掘、专利点、技术交底书、交底书、查新、现有技术对比;/patent-disclosure-skill/交底书 等。
  • 通俗解读:专利解读、读专利、看懂专利、反向专利、专利翻译成通俗;/patent-read/读专利;或用户给出公开号 / 专利 PDF / 全文且目标为理解而非写交底书。
  • 交底书迭代(意图识别):在已有交底书上补材料、改章节、纠错等——无需固定「迭代」一词,也不必先问是否迭代。Read iteration_context.md,再 merger.md(扩合并)或 correction_handler.md(纠错);另存 {案件名}_{YYYYMMDDHHmmss}.md/.docx不覆盖旧稿(除非用户明确要求)。禁止迭代意图成立时默认回到 Step 3–4 重挖专利点。对话中已有交底书路径/附件时优先按迭代处理。

工具与数据来源

按任务选用;工具名以当前 Agent 环境为准。扫描含 .docx/.pptx 时,Step 2 阅读前须先 docx_to_md.py / pptx_to_md.pypip install -r requirements.txt)。

常见任务与建议方式

任务 建议方式
加载分步指令 Read${CLAUDE_SKILL_DIR}/prompts/*.md
读代码、设计文档、PDF、图片 文件读取;大仓库先检索再精读
Word / PPT → Markdown docx_to_md.py / pptx_to_md.py(见上)
联网查新(交底书 Step 5) Read prior_art_search.md。优先 cnipa_epub_search.py:先归纳 2~8 语义块,每次工具调用仅一词,自行按 pub_number 合并 EPUB_HITS_JSON;需 tools/requirements-cnipa.txt + Playwright Chromium。abstract 必用。异常或无果再 WebSearch
交底书定稿(.md + .docx 3.2/3.4 用 mermaid;mermaid_render.py → PNG 并默认出 docx。见 tools/README.md
交底书落盘 建议 ./outputs/{案件标识}/;文件名 {案件名}_{YYYYMMDDHHmmss}(§7.3 第 5 点,含首次与迭代)
迭代对话留档 案件目录追加 交底书修订对话记录.mditeration_dialog_log.py
专利通俗解读 Read patent_plain_reader.md check_obsidian_env.py强烈推荐有库;未检测到则询问并用 --set;用户明确不要库才跳过)。仅公开号时用 fetch_patent_pdf.py(源表 references/patent_pdf_sources.yaml禁止会话内现写下载脚本)→ extract → 叙事/权要可视化 → 公开线索由 Agent 读 URL 写 summarywrite_patent_obsidian_note(入库自动 bootstrap;线索脚本抓取仅 --fetch-clues-fallback)。交付后可选社区插件引导;库内 ≥2 篇须反问关联,同意后 link_patent_notes.py

Read the full file on GitHub · 148 lines

Files

What ships with it

60 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. 11d ago First seen · 148 lines · 106 tokens per session scan A 6323b7ea177f

Subscribe to this mod's changes

patent-disclosure-skill is a skill published in the GitHub repository trsoliu/mini-wiki (116 stars, last pushed 3d ago), licensed MIT. It adds 106 tokens to every session and 3,475 once invoked, about $0.0005 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-30.

Related

Other skills, from other repositories

specification-writing

A workflow for writing complete patent specifications from patent claims and an invention disclosure. It adapts the document to a chosen jurisdiction, such as the US, Europe, or China.

wanshuiyin/Auto-claude-code-research-in-sleep · 49 tokens

regulatory-research-fallback

Fallback workflow for regulatory research when web extraction tools fail on government PDFs.

HKUDS/OpenSpace · 20 tokens

x-scorecard

OpenSSF Scorecard for assessing open source project security. Check security best practices and compliance. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 57 tokens

gesellschaftsrechtliche-satzungen-agb

Für Gesellschaftsrechtliche Satzungen AGB Abgrenzung: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Prüfprodukt mit Risiko und nächstem Schritt. Fachgebiet: AGB-Recht-Prüfer. Route: gesellschaftsrechtliche-satzungen-agb.

Klotzkette/claude-fuer-deutsches-recht · 69 tokens

memstack-business-gdpr

Use this skill when the user says 'GDPR', 'data protection', 'privacy compliance', 'DPA', 'DSAR', 'data subject request', 'cookie consent', 'privacy audit', 'CCPA', or asks 'do I need GDPR for this repo'. Scans the repository to detect what personal data is collected, classifies sensitivity, determines whether GDPR…

cwinvestments/memstack · 121 tokens

nda-review

Use when the user uploads or pastes a non-disclosure agreement and asks for review, redline, risk assessment, or a recommendation on whether to sign. Identifies missing standard protections, one-sided or unusual provisions, and operational issues; produces a structured report with severity ratings and citations to…

LegalQuants/lq-ai · 79 tokens