ワンクリックで
patent-digest
专利文档智能解析与结构化摘要生成。支持提取基本信息、摘要、权利要求、创新点及技术方案,并输出标准化 Markdown 报告。适用于 OpenClaw、OpenCode、Hermes 等通用 Agent 。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
专利文档智能解析与结构化摘要生成。支持提取基本信息、摘要、权利要求、创新点及技术方案,并输出标准化 Markdown 报告。适用于 OpenClaw、OpenCode、Hermes 等通用 Agent 。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when retrieving arbitration institutional rules (ICC, LCIA, SCC, SIAC, HKIAC, VIAC, МКАС/МАК при ТПП України, UNCITRAL) — fetching current version, verifying redaction applicable to the date of arbitration agreement, constructing URLs for official rule texts
Use when choosing the Polish legal regime for letters, requests, applications, complaints, petitions, public-information requests, KPA filings, PPSA complaints, RODO access requests, registry extracts, court-file access, tax/ZUS/cudzoziemcy/USC procedures, or professional lawyer letters. Prevents mixing UDIP, KPA, PPSA, RODO, registry, special-procedure, and advocate/radca letter regimes.
Use when preparing applications for recognition and enforcement of foreign arbitral awards in Poland, applications for setting aside arbitral awards under KPC art. 1205–1211, or opposing such applications — mapping Article V of the 1958 New York Convention to art. 1214–1215 of the Polish KPC, identifying grounds for refusal, structuring public policy arguments
Use when retrieving arbitration institutional rules (SAKIG przy KIG, Sąd Arbitrażowy Lewiatan, ICC, LCIA, SCC, SIAC, HKIAC, VIAC, UNCITRAL) — fetching current version, verifying redaction applicable to the date of arbitration agreement, constructing URLs for official rule texts
Use when auditing Polish B2B service contract (umowa o świadczenie usług / umowa współpracy / kontrakt B2B / staff augmentation / IT outsourcing) — zakaz konkurencji B2B (art. 353¹ KC, SN II CSK 58/18), klauzule wyłączności vs pozorny stosunek pracy (art. 22 § 1¹ KP), kary umowne (art. 483-484 KC, miarkowanie), IP (prawa autorskie do kodu / dzieła), JDG-specyficzne (Prawo Przedsiębiorców art. 6, CEIDG), obowiązek pierwszeństwa, rejestry (CEIDG, KRS, biała lista VAT)
Use when auditing Polish vehicle sale contract (umowa kupna-sprzedaży pojazdu) — VIN / przebieg, title chain, obciążenia (zastaw rejestrowy, leasing, przewłaszczenie), import / cło, obowiązkowe klauzule, PCC-3, typowe schematy oszustwa (cofnięty licznik, klonowany VIN, pełnomocnictwa-pułapki, parallel imports), rejestry (CEPiK, Mój Pojazd, Rejestr Zastawów, biała lista VAT, historiapojazdu.gov.pl)
| name | patent-digest |
| title | Patent Digest Skill |
| description | 专利文档智能解析与结构化摘要生成。支持提取基本信息、摘要、权利要求、创新点及技术方案,并输出标准化 Markdown 报告。适用于 OpenClaw、OpenCode、Hermes 等通用 Agent 。 |
| author | TaohongMaxwell |
| author_url | https://github.com/TaohongMaxwell/PatentDigest/tree/main/skills/patent-digest |
| license | MIT |
| version | 0.1.0 |
| execution_mode | open |
| jurisdiction | general |
| practice | ip |
| language | zh |
本 Skill 旨在帮助 Agent 对专利文档进行深度解析,提取关键信息并生成结构化的摘要报告。它完全继承了 Dify 工作流的处理逻辑,并通过中间文件持久化和并行执行指南优化了上下文效率与执行速度。
本 Skill 支持两种执行模式,Agent 可根据自身能力选择:
Agent 按顺序执行所有步骤。虽然速度较慢,但对内存和并发要求最低。
为了模拟 Dify 的高效并行处理,建议在执行**第二阶段(关键信息提取)**时,同时启动多个子任务或线程:
01_basic_info.txt)02_abstract_extract.txt)04_claims_extract.txt)06_description_extract.txt)注意:Skill 本身无法强制宿主启动子 Agent,但 Agent 若具备并行调度能力,应优先采用此模式以缩短总耗时。任一并行任务失败不影响其他任务继续执行,失败任务的输出文件写入"未提取到相关信息"即可。
当用户提供多个同一技术领域的专利文件时,请按以下步骤操作:
tmp/patent_A/, tmp/patent_B/),并分别执行上述第一至第四步,生成各自的 report.md。prompts/11_comparison.txt 如果存在),从技术方案、创新点、保护范围等维度进行横向对比。为了节省上下文并提高健壮性,本 Skill 采用**“读取 -> 提取存盘 -> 读盘总结 -> 合并”**的流程。
tmp/patent_digest_<timestamp>/ 文件夹。pdf-document-handler)或安装相关环境。tmp/full_text.txt。调用以下 Prompt,并将结果写入临时文件夹对应的 .md 或 .txt 文件中,而不是直接输出在对话框中:
| 步骤 | Prompt 模板 | 输入变量 | 输出格式 | 输出文件路径 | 对应 Dify 节点 |
|---|---|---|---|---|---|
| 1 | 01_basic_info.txt | {{patent_text}} (读取 full_text.txt) | json_object | tmp/basic_info.md | 基本信息 |
| 2 | 02_abstract_extract.txt | {{patent_text}} (读取 full_text.txt) | 纯文本 | tmp/raw_abstract.txt | 摘要提取 |
| 3 | 04_claims_extract.txt | {{patent_text}} (读取 full_text.txt) | 纯文本 | tmp/raw_claims.txt | 权利要求提取 |
| 4 | 06_description_extract.txt | {{patent_text}} (读取 full_text.txt) | 纯文本 | tmp/description.txt | 说明书提取 |
从临时文件中读取上一步的结果,进行处理并再次存盘:
| 步骤 | Prompt 模板 | 输入来源 | 输出格式 | 输出文件路径 | 对应 Dify 节点 |
|---|---|---|---|---|---|
| 5 | 03_abstract_summary.txt | {{raw_abstract}} (读取 tmp/raw_abstract.txt) | 纯文本 | tmp/abstract_summary.txt | 摘要总结 |
| 6 | 05_claims_summary.txt | {{raw_claims}} (读取 tmp/raw_claims.txt) | 纯文本 | tmp/claims_summary.txt | 权利要求总结 |
| 7 | 07_innovation_summary.txt | {{description}} (读取 tmp/description.txt) | markdown | tmp/innovation_summary.md | 创新点总结 |
| 8 | 08_technical_solution.txt | {{description}} (读取 tmp/description.txt) | 纯文本 | tmp/technical_solution.txt | 技术方案概括 |
| 9 | 09_keywords.txt | {{description}} (读取 tmp/description.txt) | key-value 列表 | tmp/keywords.txt | 关键词提取 |
调用 prompts/10_final_merge.txt。Agent 需从临时文件夹读取对应文件,填入以下占位符:
| 占位符 | 来源文件 |
|---|---|
{{basic_info}} | tmp/basic_info.md |
{{abstract_summary}} | tmp/abstract_summary.txt |
{{keywords}} | tmp/keywords.txt |
{{claims_summary}} | tmp/claims_summary.txt |
{{innovation_summary}} | tmp/innovation_summary.md |
{{technical_solution}} | tmp/technical_solution.txt |
填入后生成最终的 report.md。
skills/patent-digest/
├── SKILL.md # 本说明文件
└── prompts/
├── 01_basic_info.txt
├── 02_abstract_extract.txt
├── 03_abstract_summary.txt
├── 04_claims_extract.txt
├── 05_claims_summary.txt
├── 06_description_extract.txt
├── 07_innovation_summary.txt
├── 08_technical_solution.txt
├── 09_keywords.txt
├── 10_final_merge.txt
└── 11_comparison.txt # 多专利对比分析模板(可选)