Automated summary
This skill covers the Chinese patent workflow: mining patentable points, drafting a disclosure document (invention, utility model or design), reading a patent in plain language, and preparing a response to office actions.
Strengths
- Modular routing by patent type: utility models and designs get their own working files instead of being forced through the invention flow.
- Handles figures from the drafting stage onwards: mermaid for invention, line art or CAD for utility models, view selection for designs, plus an optional drawing-assist module.
- Reader mode accepts a publication number or PDF and produces a plain-language note rather than jumping straight into drafting.
- The policy-watch (mode C) and office-action (mode D) modules are off by default and require explicit human review before any skill edit or filing.
Limitations
- Scoped to Chinese (CNIPA) practice; it does not cover EPO or USPTO procedures.
- Optional capabilities — STEP/CAD parsing, line-art generation, vector search — require source files or extra setup and are not guaranteed to run.
- Generated line art is explicitly an aid draft, not a filing document, so human review is still required.
Use it when turning a technical project into a Chinese patent disclosure, or when explaining an existing patent to a non-specialist audience.
Avoid it for non-Chinese patents, or when you need a legal opinion on validity or infringement, which the skill does not deliver.
Security analysis
CautionThe skill is a large but conventional document-generation workflow: it reads project files, drafts Chinese patent disclosures, optionally renders diagrams, crawls patent databases, and can index office-action cases via an optional embedding API. Nothing destructive, exfiltrating, or obfuscated appears in SKILL.md. Risk is moderate because Bash plus web crawling plus an external embedding service are all in scope, so listing warrants a caution label and, ideally, confirmation that the bundled Python tools match what is described.
- •Declares Bash alongside Read/Write/Edit; the skill routes into local Python tooling (mermaid_render.py, cad_scan.py, step_to_views.py, docx_to_md.py, cnipa_epub_search.py, sqlite-vec embed/ingest) — powerful but scoped automation, not obfuscated.
- •Mode C 'evolution' and Mode D 'OA' scrape CNIPA/other official sites and crawl the web; crawling behavior and rate handling are not described in SKILL.md, so outbound network activity is expected but unaudited here.
- •Mode D optionally sends patent text / office-action content to a third-party embedding API (智谱 embedding-3) for vector storage — potential outbound transfer of possibly confidential client material; gated behind explicit trigger and skippable ('skip-vector'), which mitigates but does not eliminate the concern.
- •Writes polished artifacts (md + docx) and Obsidian vault notes into the user's workspace; no deletion, no credential access, no curl|sh, no base64 payloads, and no safety-disabling language observed.
- •Skill explicitly requires human review before modifying itself (Mode C) — a positive control, not a risk.
Examples
/patent-disclosure-skill Voici le dossier de conception de notre nouveau mécanisme de fixation rapide dans ./projet — aide-moi à identifier les points brevetables, fais une recherche d'antériorité et rédige un mémoire de divulgation d'invention./patent-read CN112345678A — explique-moi ce brevet en langage simple, avec un schéma des composants et de leurs relations./审查答复 Analyse la notification d'examen dans ./OA/2024-通知书.pdf et prépare un projet de réponse argumentée, en réutilisant les cas similaires déjà indexés.name: patent-disclosure-skill description: "中国专利技能:专利点挖掘与交底书(发明/实用/外观)编写,通俗解读专利,嗅探政策动向,辅助审查答复。| China patents skill: mine patent points and draft disclosures (invention / utility model / design), plain-language reading, policy sniffing, assisted office-action response." version: "3.4.1" user-invocable: true argument-hint: "[可选:项目路径 / 专利号或 PDF / 政策动向嗅探或技能进化 / 审查答复或案例入库]" allowed-tools: Read, Write, Edit, Grep, Glob, WebSearch, Bash
中国专利技能 · 交底编写 · 通俗解读 · 政策/审查动向嗅探 · 审查答复
本技能单包模块化:分步指令在 prompts/,执行前须 Read 对应文件。SKILL.md 只做路由。
| 模式 | 何时用 | 主入口 |
|------|--------|--------|
| A · 交底书编写 | 挖专利点 → 查新 → 成稿 → 迭代 | prompts/disclosure/(类型子目录见下) |
| B · 专利通俗解读 | 公开号 / PDF / 全文 → 通俗笔记 + 图谱 | prompts/reader/patent_plain_reader.md |
| C · 技能进化旁路 | 政策/审查动向嗅探 → 带时间戳清单 → 人审后才改技能 | prompts/evolution/(默认关,须显式触发) |
| D · 审查答复辅助 | 案例脱敏入库;通知书 → 标签+向量检索 → 答复草稿 | prompts/oa/(默认关;须人审) |
提供专利号或专利全文/PDF且意图为「读懂」时 → 优先模式 B,不默认跑交底书 Step 1–8。
禁止因写交底/读专利自动进入模式 C/D。
目录约定(薄路由)
prompts/disclosure/ # 交底公共流程
invention/ # 发明:挖点 / builder / template
utility_model/ # 实用新型:挖点 / builder / template(单独 md,勿套用发明 mermaid 主线)
design/ # 外观设计:挖点 / builder / template(单独 md)
prompts/reader/ # 通俗解读 + type_hooks
prompts/shared/ # 写读共用:Structure / Appearance 填表 + figure_plan + 外观/实用辅助线稿
prompts/evolution/ # 模式 C:政策/审查动向嗅探 · 进化清单(旁路,默认关)
prompts/oa/ # 模式 D:审查答复 / 案例入库(旁路,默认关)
references/schemas/ # structure / appearance / figure_plan / formula_plan / lineart / evolution / oa_case
references/formulas/ # 发明公式推荐范式(paradigms.yaml,可外挂扩展)
tools/crawl/ # 国知局等爬取
tools/shared/ # docx/mermaid/专利类型/可选 STEP / 可选辅助线稿门禁
tools/patent_reader/ # 解读工具:shared/ | extract/ | analyze/ | vault/
tools/oa/ # 模式 D:config / embed / sqlite-vec / ingest / search
outputs/evolution/ # 模式 C 清单默认落盘(gitignore)
docs/evolution/ # 仅用户确认「沉淀」后可复制提交
docs/oa/ # 模式 D:embedding 配置模板种子(运行时在系统文档目录)
环境与约定
- 语言:默认与用户语种一致;专利与法律术语用行业常用表述。
- 专利类型:未显式指定时交底默认发明;材料更偏实用/外观时在汇总或预览阶段反问(见
disclosure/intake.md)。 - 交底书图示:
- 发明:3.2 / 3.4 用 fenced mermaid →
tools/shared/mermaid_render.py;见tools/README.md。 - 实用新型:先
figure_plan.yaml排序入文图(优先线稿/CAD;总装+局部写relates_to)+ 部件/关系表(见utility_model/disclosure_builder.md)。 - 外观:先
figure_plan.yaml选视图(实拍/线稿均可;多视写relates_to;场景图默认低优先)(见design/disclosure_builder.md)。
- 发明:3.2 / 3.4 用 fenced mermaid →
- STEP / CAD(可选,默认关):Step 2 用
cad_scan.py分类;遇.step/.stp先反问再装requirements-step.txt并step_to_views.py --enable-step-parse;仅有原生 CAD 则回复末尾提示导出 STEP。见project_scan.md「CAD / STEP」。 - 外观辅助线稿(可选,默认关):有产品图时可反问;用户 是 后按
shared/design_lineart_assist.md(先 YAML 描述 + 多视联读,再参考图出线稿);无图禁止;非申报终稿;不画部件序号。 - 实用结构辅助线稿(可选,默认关):有结构图且缺干净线稿时可反问;用户 是 后按
shared/structure_lineart_assist.md(对齐structure_schema.parts;轮廓与序号分层,推荐 overlay;禁止自创件号);无图禁止;非申报终稿。勿与外观design_lineart_*混用。 - 解读 + Obsidian:强烈推荐配置库;见
docs/obsidian-setup-guide.md。 - 技能进化 / 动向嗅探(可选,默认关):显式触发后走模式 C(政策/审查动向嗅探 → 清单);清单含 观点↔信源 URL 表;未人审确认前不改技能正文。
- 审查答复(可选,默认关):显式触发后走模式 D;向量模型可选(可
skip-vector,中途再 enable + 重建);推荐智谱embedding-3;标签检索始终可用,向量超时则回退。
触发条件
- 交底书:专利挖掘、交底书、查新、实用新型、外观设计等;
/patent-disclosure-skill、/交底书。 - 通俗解读:读专利、公开号 / PDF 且目标为理解;
/patent-read、/读专利。 - 交底书迭代:已有交底上补材料/纠错 →
disclosure/iteration_context.md→merger/correction_handler;另存时间戳稿。 - 技能进化旁路:技能进化、政策/审查动向嗅探、政策雷达、审查政策更新、自进化、
/patent-evolve、/技能进化→ 仅此时进入模式 C。 - 审查答复 / 案例入库:审查意见、意见陈述、OA、补正通知书、案例入库、
/oa、/审查答复→ 仅此时进入模式 D。
工具与数据来源
| 任务 | 建议方式 |
|------|----------|
| 加载分步指令 | Read → prompts/disclosure|reader|shared|evolution/…(完整子路径) |
| Word / PPT → Markdown | tools/shared/docx_to_md.py / pptx_to_md.py |
| CAD 扫描 / STEP→多视图(可选,默认关) | tools/shared/cad_scan.py;用户确认后 step_to_views.py --enable-step-parse |
| 外观辅助线稿(可选,默认关) | prompts/shared/design_lineart_assist.md;门禁 design_lineart_gate.py(须参考图,禁止纯文生图) |
| 实用结构辅助线稿(可选,默认关) | prompts/shared/structure_lineart_assist.md;门禁 structure_lineart_gate.py(须参考图 + Structure;序号优先 overlay) |
| 联网查新 | Read disclosure/prior_art_search.md。优先 tools/crawl/cnipa_epub_search.py --type …(与 intake 类型一致);abstract 必用;异常再 WebSearch。类型映射见 references/patent_type_search.yaml |
| 交底定稿 | 发明:tools/shared/mermaid_render.py → md+docx;实用/外观:按各类型 builder |
| 专利通俗解读 | Read reader/patent_plain_reader.md;实用/外观另 Read reader/type_hooks.md + shared/fill_* |
| 解读取 PDF / 入库 | tools/patent_reader/extract/fetch_patent_pdf.py;…/vault/write_patent_obsidian_note.py 等(见 tools/patent_reader/README.md) |
| 政策/审查动向嗅探 | Read evolution/intake.md → research.md(WebSearch + 官网抓取)→ emit_backlog.md;确认后 apply_after_confirm.md |
| 审查答复 / 案例库 | Read oa/intake.md;PDF 用 oa/pdf_text.py / search_cases.py --pdf / ingest_case.py --pdf;入库 oa/ingest_case.md;答复 oa/respond_office_action.md;配置 oa/config.py |
Prompt 文件映射
交底书(公共 + 类型特化)
| 步骤 | 文件 | 用途 |
|------|------|------|
| Step 1 | prompts/disclosure/intake.md | 边界;默认发明;可反问实用/外观 |
| Step 2 | prompts/disclosure/project_scan.md | 项目扫描(Office + 可选 CAD/STEP;三类示例加扫) |
| Step 3–4 | 发明 disclosure/invention/patent_points_analyzer.md;实用 utility_model/patent_points.md;外观 design/patent_points.md | 挖点(分文件,勿混用) |
| 填表(实用/外观) | prompts/shared/fill_structure_schema.md / fill_appearance_schema.md | 图→schema + figure_plan.yaml |
| 外观辅助线稿 | prompts/shared/design_lineart_assist.md | 可选;默认关;描述→参考图线稿(无件号) |
| 实用结构辅助线稿 | prompts/shared/structure_lineart_assist.md | 可选;默认关;轮廓→按 parts 叠序号 |
| Step 5 | prompts/disclosure/prior_art_search.md | 查新(--type) |
| Step 6 | prompts/disclosure/disclosure_preview.md | 摘要预览(按类型裁剪) |
| Step 7 | 对应类型目录 disclosure_builder.md + template_reference.md | 成文(分文件;发明含公式时先 formula_plan.yaml) |
| Step 8 | prompts/disclosure/disclosure_self_check.md | 内部自检(含 §8.4 / §8.5) |
| 迭代 | disclosure/iteration_context.md / merger.md / correction_handler.md | 另存 |
专利通俗解读
| 步骤 | 文件 |
|------|------|
| 主流程 | prompts/reader/patent_plain_reader.md |
| 类型挂钩 | prompts/reader/type_hooks.md |
| 写笔记 | reader/obsidian_ofm_companion.md + references/patent_obsidian_format.md |
| 自检 / 插件引导 | reader/patent_reader_self_check.md / obsidian_plugin_guide.md |
| 取 PDF | tools/patent_reader/extract/fetch_patent_pdf.py |
| 入库 | tools/patent_reader/vault/write_patent_obsidian_note.py |
技能进化旁路 · 政策/审查动向嗅探(模式 C)
| 步骤 | 文件 |
|------|------|
| 总则 | prompts/evolution/guardrails.md |
| 录入 | prompts/evolution/intake.md |
| 检索/抓取 | prompts/evolution/research.md |
| 出清单 | prompts/evolution/emit_backlog.md |
| 确认后改技能 | prompts/evolution/apply_after_confirm.md(须人审) |
| 交底交付低频提示 | prompts/evolution/soft_nudge.md(可选一句,不入正文) |
| 合同 | references/schemas/evolution_backlog.schema.yaml |
审查答复(模式 D)
| 步骤 | 文件 |
|------|------|
| 总则 | prompts/oa/guardrails.md |
| 录入 | prompts/oa/intake.md |
| 向量对话配置 | prompts/oa/configure_embedding.md(问答 → set/secrets → selftest) |
| 脱敏入库 | prompts/oa/ingest_case.md + tools/oa/ingest_case.py(支持 --pdf) |
| 答复草稿 | prompts/oa/respond_office_action.md + tools/oa/search_cases.py --pdf |
| PDF 抽取 | tools/oa/pdf_text.py(pymupdf;优先路径,禁止让用户手贴) |
| 案例模板 | prompts/oa/case_note_template.md |
| 合同 / 配置 | references/schemas/oa_case.schema.yaml;运行时 {Documents}/…/oa/embedding.config.yaml(仓库模板 docs/oa/) |
模式 A · 交底书主流程
Readdisclosure/intake.md→ Step 1(默认发明)Readdisclosure/project_scan.md→ Step 2- 按类型
Readinvention|utility_model|design挖点;实用/外观先/并行Readshared/fill_* Readdisclosure/prior_art_search.md→ Step 5(--type对齐)Readdisclosure/disclosure_preview.md→ Step 6(可跳过;此处可类型反问)Read同类型disclosure_builder+template_reference→ Step 7(禁止用发明 builder 写实用/外观)Readdisclosure/disclosure_self_check.md→ Step 8
禁止:交底书正文出现「自检清单」章节。
模式 B · 专利通俗解读
Readreader/patent_plain_reader.md(门禁 / fetch / extract / 线索 / 入库)- 若实用新型或外观:
Readreader/type_hooks.md+ 对应shared/fill_* Readofm + 自检;入库后可选插件引导;≥2 篇反问关联
与模式 A 互斥:解读不跑交底 Step 1–8。
模式 C · 技能进化旁路 · 政策/审查动向嗅探(默认关)
Readevolution/guardrails.md→intake.mdReadevolution/research.md:WebSearch + 打开国知局等官网正文;默认近 12 个月Readevolution/emit_backlog.md:写入outputs/evolution/EVOL-YYYYMMDD-HHMM.md- 主表必为「观点 ↔ 信源 URL」(一行一观点,附准确
https://链接) - 证据 C(自媒体等)不得单独支撑「改技能」建议
- 主表必为「观点 ↔ 信源 URL」(一行一观点,附准确
- 展示人审闸门;等待「全部采纳 / 采纳 E… / 全部搁置 / 沉淀到 docs/evolution/」
- 仅确认采纳后 →
Readapply_after_confirm.md→ 最小改动 prompts,并写.status.md
交底定稿交付后的可选一句提示见 evolution/soft_nudge.md(低频;不等于自动进入本模式)。
与 A/B 互斥:进化旁路不写交底书、不做专利解读成稿。
模式 D · 审查答复辅助(默认关)
Readoa/guardrails.md→intake.md- 首次 / 改向量:
Readoa/configure_embedding.md→ 对话问清(可跳过 / 预设 / 自定义 URL+模型+Key)→config.py set … --api-key …(默认 selftest)→ 需重建则人确认后rebuild_vectors.py --confirm - 入库:
ingest_case.py(支持--pdf);笔记进oa/cases/history/(或 pending/drafts);自动刷新_OA索引/ Canvas / Bases;无向量时仍写笔记 + 元数据 - 答复:
search_cases.py --pdf …(标签优先过滤;向量可用则 Top-K,失败/超时回退标签,展示retrieval_mode+ diff)→ 策略勾选 → 草稿 → 人审 - 仅刷新 Obs:
python tools/oa/refresh_vault.py
依赖:pip install -r tools/oa/requirements-oa.txt。
与 A/B/C 互斥:不写交底书主流程;草稿须复核后递交。
迭代模式(交底书 · 摘要)
- 补材料 / 扩展:
iteration_context→merger→ 新时间戳稿(实用/外观若改图或主题须同步figure_plan) - 纠错:
iteration_context→correction_handler→ 新时间戳稿(同上)
Agent 自用工作流检查清单
□ 已区分模式 A / B / C / D / 迭代,未混跑
□ 交底未指定类型时已默认发明;材料偏实用/外观已按需反问
□ Step 3–4 / Step 7 已 Read 对应类型子目录 md(非发明套用实用/外观)
□ 查新 cnipa 已带与案件一致的 --type;abstract 必用
□ 发明含公式:已写 formula_plan(范式∈references/formulas)且可算数值例;禁装饰音;已 check_formula_plan 或等价自检
□ 实用/外观已走 schema 填表(shared)并写出 figure_plan(含必要 relates_to),未看图直接长文;成文只嵌清单入文图
□ Step 2/补材料已 cad_scan:遇 STEP 先反问再装依赖;仅原生 CAD 则回复末尾提示导出 STEP;未确认不开 step_to_views
□ 外观若开启辅助线稿:有用户「是」、有参考图、经 design_lineart_gate;未纯文生图;辅助条默认不入正文
□ 实用若开启结构辅助线稿:有用户「是」、有参考图+Structure、经 structure_lineart_gate;件号对齐 parts;优先 overlay;未自创件号;辅助条默认不入正文
□ 迭代改材料/主题时已重评 figure_plan(含图际关联)
□ 解读实用/外观:公开号种类码或 patent_type.py / fetch 状态已判别类型,并 Read type_hooks + 共用 schema(用户未口头声明也可)
□ 模式 C:已显式触发;清单含观点↔URL 主表;未确认前未改技能;确认后才 apply
□ 交底定稿交付:已按 evolution/soft_nudge 判断是否加低频一句(未每次必出、未写入正文)
□ 模式 D:已显式触发;向量可选已反问(可跳过);PDF 已自动抽取;入库已脱敏;检索展示 retrieval_mode;向量失败已回退标签;需重建时已人确认;草稿已人审提示
□ 路径使用 prompts/disclosure|reader|shared|evolution|oa 与 tools/crawl|shared|oa|patent_reader/{extract,analyze,vault,shared}
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/chinese-patent-disclosures-analysis-msshyva7/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/chinese-patent-disclosures-analysis-msshyva7' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/chinese-patent-disclosures-analysis-msshyva7/download' --output '.skill-downloads/chinese-patent-disclosures-analysis-msshyva7/SKILL.md.part' && mv '.skill-downloads/chinese-patent-disclosures-analysis-msshyva7/SKILL.md.part' '.skill-downloads/chinese-patent-disclosures-analysis-msshyva7/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Tools declared by the author (check availability in your agent): Read, Write, Edit, Grep, Glob, WebSearch, Bash
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/chinese-patent-disclosures-analysis-msshyva7/SKILL.md' && test -s '.skill-downloads/chinese-patent-disclosures-analysis-msshyva7/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/patent-disclosure-skill' && cp -R '.skill-downloads/chinese-patent-disclosures-analysis-msshyva7' '.claude/skills/patent-disclosure-skill'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/chinese-patent-disclosures-analysis-msshyva7'openskills read 'chinese-patent-disclosures-analysis-msshyva7'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/chinese-patent-disclosures-analysis-msshyva7/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
Supabase Docs Authoring
Documentation
Write, edit, and review Supabase documentation content including guides, tutorials, reference docs, and partials. Follow style guides and MDX/TOML validation rules.
Create Architecture Decision Record
Documentation
Create a new Architecture Decision Record with sequential numbering, register it in the AgentDB graph, and link related ADRs.
Plan update with deep research
Documentation
Updates a plan document by launching parallel subagents to analyze a topic across all compiler passes, then consolidates findings into the plan doc.