Agent skill

Patent Write

by xstongxue in xstongxue/best-skills

基于用户提供的技术方案、草稿或参考专利,生成、改写与统稿中文发明专利的题目、摘要、背景技术、发明内容、权利要求、附图说明和具体实施方式。用于专利撰写、专利摘要、权利要求、说明书、专利润色、专利仿写、参考专利蒸馏等场景。

Apache-2.0Auto-check passedLegal & Compliance

Install Patent Write

skills CLI
$ npx skills add xstongxue/best-skills --skill patent-write -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install xstongxue/best-skills patent-write --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/xstongxue/best-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/patent-write .claude/skills/patent-write && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
patent-write
GitHub stars
3k
Token cost
~468 tokens
SKILL.md length
79 words
Files
12
Skills in repo
15
Repo updated
First seen
Licence
Apache-2.0

At a glance

基于用户提供的技术方案、草稿或参考专利,生成、改写与统稿中文发明专利的题目、摘要、背景技术、发明内容、权利要求、附图说明和具体实施方式。用于专利撰写、专利摘要、权利要求、说明书、专利润色、专利仿写、参考专利蒸馏等场景。

  • Works in 3 steps: :识别任务类型 → :收集输入 → :执行并输出
  • Tasks that involve Intellectual property
  • SKILL.md covers 使用时机, Step 1:识别任务类型, Step 2:收集输入 and Step 3:执行并输出, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Patent Write is an agent skill from xstongxue/best-skills. 基于用户提供的技术方案、草稿或参考专利,生成、改写与统稿中文发明专利的题目、摘要、背景技术、发明内容、权利要求、附图说明和具体实施方式。用于专利撰写、专利摘要、权利要求、说明书、专利润色、专利仿写、参考专利蒸馏等场景。

Its SKILL.md is about 470 tokens, which your agent loads only when the skill is triggered. The skill folder holds 12 other files (for example `reference/abstract.md`, `reference/background.md` and `reference/claims.md`).

It sits in Legal & Compliance, covering Intellectual property. It works with draw.io. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Intellectual property

Example prompts

  • “/patent-write”

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. :识别任务类型
  2. :收集输入
  3. :执行并输出

What it can do on your machine

Read from SKILL.md and the folder at commit 9aa4e55. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Patent Write loads about 468 tokens when it runs. Until then it costs about 31 tokens; SKILL.md has 79 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~31
When it runs · the whole SKILL.md, loaded when a task matches
~468

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from xstongxue/best-skills at commit 9aa4e55, republished under its Apache-2.0 licence (© xstongxue). 79 words, ~468 tokens.

Download SKILL.mdSave it as .claude/skills/patent-write/SKILL.md (or your agent's skills folder). This skill also uses 11 other files; get the full folder from GitHub.
name
patent-write
description
基于用户提供的技术方案、草稿或参考专利,生成、改写与统稿中文发明专利的题目、摘要、背景技术、发明内容、权利要求、附图说明和具体实施方式。用于专利撰写、专利摘要、权利要求、说明书、专利润色、专利仿写、参考专利蒸馏等场景。

中文发明专利撰写

使用时机

  • 用户要写中文发明专利
  • 用户要补写某一章节,如摘要、权利要求、具体实施方式
  • 用户给了参考专利,希望蒸馏写法、结构和表达套路
  • 用户要对现有专利草稿做统稿、收敛或术语一致性检查

Step 1:识别任务类型

用户表述 / 关键词执行文件
完整专利、全文、完整说明书、帮我写整个专利reference/full-patent.md
题目、名称、题目优化、题目收敛reference/title.md
摘要reference/abstract.md
背景技术、现有技术缺陷reference/background.md
发明内容、技术方案、有益效果reference/invention-content.md
权利要求、独立权利要求、从属权利要求reference/claims.md
附图说明、图号reference/figures-desc.md
附图绘制(Draw.io 黑白中文)reference/figures-drawio.md
具体实施方式、实施例reference/implementation.md
统稿、检查、术语一致性、自检reference/review.md
参考专利蒸馏、仿写套路、结构提炼reference/distill.md

Step 2:收集输入

优先收集以下材料,缺什么补什么:

  • 技术方案说明:解决什么问题,核心手段是什么
  • 现有草稿:已有题目、摘要、权利要求、说明书任一部分
  • 参考专利:供蒸馏结构、语言和颗粒度,不直接照抄
  • 附图或流程图:模块图、流程图、架构图、时序图
  • 创新点:相对现有技术的具体区别与效果

若用户要写全文,默认按以下顺序推进:

  1. 先提炼创新点与保护对象
  2. 先搭权利要求骨架
  3. 再写摘要、发明内容
  4. 再展开具体实施方式
  5. 最后做统稿和一致性检查

Step 3:执行并输出

  • 读取对应 reference 的写法规则、结构模板和禁忌
  • 严格围绕用户提供材料写,不补不存在的实验数据、实施结果或硬件参数
  • 同一轮输出尽量给成品,不只给原则
  • 若信息不足以支撑正式专利文本,先列缺失项,再给可落地草稿

通用原则

  • 不编造:材料里没有的模块、步骤、实验数据、性能指标不要写
  • 结构先行:先定保护骨架,再写展开文本
  • 术语统一:同一对象全篇只用一种主称呼
  • 技术对应:背景缺陷、发明目的、技术方案、有益效果要一一对应
  • 少写空话:避免只有功能结果、没有实现路径
  • 先宽后窄:独立权利要求概括核心方案,从属权利要求再细化步骤、条件、模块和公式

从参考专利蒸馏出的高频规律

  • 题目优先落在“方法、系统、设备及介质”这一类常见命名结构
  • 摘要写“公开内容 + 核心步骤 + 技术效果”,不照搬权利要求长串句式
  • 背景技术要写到现有方法的具体缺陷,不能只写行业趋势
  • 发明内容先写目的,再写技术方案,再写有益效果
  • 权利要求 1 负责总流程或核心模块;从属权利要求负责细化子步骤、参数、约束、依赖关系
  • 具体实施方式要和附图、步骤编号、模块名称闭环

© xstongxue, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 11 other files in skills/patent-write of xstongxue/best-skills.

  • SKILL.md
  • reference/abstract.md
  • reference/background.md
  • reference/claims.md
  • reference/distill.md
  • reference/figures-desc.md
  • reference/figures-drawio.md
  • reference/full-patent.md
  • reference/implementation.md
  • reference/invention-content.md
  • reference/review.md
  • reference/title.md

Open the folder on GitHubat commit 9aa4e55

Compare with similar skills

Patent Write next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Patent Write compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Patent Write this skillxstongxue/best-skills3k—~468Automated safety check: PassApache-2.0
Paper to Chinese Patent DrafterYuan1z0825/nature-skills47k1 repos~1.1kAutomated safety check: PassApache-2.0
Paper To Cn Patentsnipp-zha/Paper-to-patent-Skill1061 repos~959Automated safety check: PassNone
Patent Examinegfodor/legal-skills393—~4.8kAutomated safety check: PassGPL-3.0
Patent Auditgfodor/legal-skills393—~2.9kAutomated safety check: PassGPL-3.0
Replica BrandJakeschincariol/replica-skill1.2k—~1.1kAutomated safety check: PassMIT

Similar skills

  • Paper to Chinese Patent Drafter

    Yuan1z0825/nature-skills

    Drafts Chinese invention patent applications and technical disclosures from research papers or inventor materials, tying each claim feature to source evidence.

    47k GitHub starsUsed in 1 repo~1.1k tokens
    Legal & ComplianceAuto-check passed
  • Paper To Cn Patent

    snipp-zha/Paper-to-patent-Skill

    Convert scientific papers, theses, technical reports, source code, figures, or research manuscripts into evidence-grounded Chinese invention patent drafts.

    106 GitHub starsUsed in 1 repo~959 tokens
    Legal & ComplianceAuto-check passed
  • Patent Examine

    gfodor/legal-skills

    Iteratively examine and revise a draft U.S. An agent skill from gfodor/legal-skills.

    393 GitHub stars~4.8k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • Patent Audit

    gfodor/legal-skills

    Audit a draft U.S. An agent skill from gfodor/legal-skills.

    393 GitHub stars~2.9k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • Replica Brand

    Jakeschincariol/replica-skill

    Names and rebrands an app clone so it is the user's own: name candidates with the trademark, domain, store and handle checks to run, a new palette checked for contrast, a logo brief, a voice guide…

    1.2k GitHub stars~1.1k tokensUpdated 6 days ago
    Legal & ComplianceAuto-check passed
  • Patent Workaround

    gfodor/legal-skills

    Adversarially pressure-test a draft or pending U.S. An agent skill from gfodor/legal-skills.

    393 GitHub stars~5.7k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed

More from xstongxue/best-skills

All 15 skills in this repo
  • Create Skill

    xstongxue/best-skills

    Guides users through creating effective Agent Skills for Cursor.

    3k GitHub starsUsed in 1 repo~3.6k tokens
    Auto-check passed
  • Office File Process

    xstongxue/best-skills

    处理 Office 文档的一站式 skill:Word(.doc/.docx/.dotx)、Excel(.xls/.xlsx/.xlsm/.csv)、PowerPoint(.ppt/.pptx/.potx) 的创建、读取、编辑、提取、转换、校验。触发:『读取 word 文档』『提取 excel 内容』『看 ppt 讲了什么』、.doc 老格式打不开、生成/编辑 Word…

    3k GitHub stars~1.8k tokensUpdated 27 days ago
    Auto-check passed
  • Pptgen Drawio

    xstongxue/best-skills

    根据论文或汇报内容生成多页 Draw.io 格式 PPT,支持论文答辩与通用汇报两种模式,自动导出为 .pptx。当用户提到论文答辩 PPT、答辩幻灯片、通用 PPT、汇报 PPT、根据模板生成 PPT、drawio2pptx 时使用。

    3k GitHub stars~2.1k tokensUpdated 27 days ago
    Auto-check passed
  • Wechat Article Writer

    xstongxue/best-skills

    公众号/自媒体全流程。根据用户表述自动匹配:撰写文章、封面图、正文插图、风格提取。支持多种写作风格。当用户提到写公众号、技术博客、公众号封面、正文插图、步骤图、演示图、流程示意、分析写作风格、克隆文风、模仿爆款、提取风格时使用。详见 reference 目录。

    3k GitHub stars~2k tokensUpdated 27 days ago
    Auto-check: notes
  • Drawio Diagram

    xstongxue/best-skills

    为深度学习模型、网络架构、算法流程等生成标准 Draw.io (.drawio) 格式的可视化图表;支持从零生成与风格迁移两种模式。从零生成:模型架构图、流程图、感受野示意图等;风格迁移:参考图 + 内容描述/项目 → 按参考图风格生成新图。确保 XML 格式正确,可直接在 Draw.io 中打开编辑。

    3k GitHub stars~487 tokensUpdated 27 days ago
    Auto-check passed
  • Project Docs

    xstongxue/best-skills

    对任意代码项目生成一套面向新人的循序渐进文档集,输出到 docs/ 目录。含架构、设计思想、语言特性、代码导读、运行时模型、构建、对接、调试、设计规范共 9 篇,支持全部生成 / 只写几篇 / 更新已有文档。当用户提到"生成项目文档"、"新人文档"、"上手文档"、"架构文档"、"代码导读"、"项目理解"、"深入理解项目"、"onboarding…

    3k GitHub stars~720 tokensUpdated 27 days ago
    Auto-check passed

Works with

Questions about Patent Write

What does Patent Write do?

基于用户提供的技术方案、草稿或参考专利,生成、改写与统稿中文发明专利的题目、摘要、背景技术、发明内容、权利要求、附图说明和具体实施方式。用于专利撰写、专利摘要、权利要求、说明书、专利润色、专利仿写、参考专利蒸馏等场景。. Patent Write is an agent skill from xstongxue/best-skills.

When should I use Patent Write?

Patent Write fits situations like: tasks that involve Intellectual property.

How do I install Patent Write in Claude Code?

Run `npx skills add xstongxue/best-skills --skill patent-write -a claude-code`. Or copy the skill folder (skills/patent-write in xstongxue/best-skills) into .claude/skills/patent-write in your project. Claude Code loads it when a task matches its description.

How do I install Patent Write in Codex?

Run `npx skills add xstongxue/best-skills --skill patent-write -a codex`. Or copy the skill folder (skills/patent-write in xstongxue/best-skills) into .agents/skills/patent-write in your project. Codex loads it when a task matches its description.

Can I use Patent Write in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add xstongxue/best-skills --skill patent-write -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/patent-write, .gemini/skills/patent-write, .github/skills/patent-write and .opencode/skills/patent-write in your project.

What does Patent Write need to run?

SKILL.md names no scripts, command-line tools or credentials: Patent Write is instructions for the agent only.

Does Patent Write access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Patent Write safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Patent Write use?

Patent Write is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Patent Write use?

About 468 tokens (SKILL.md is roughly 1.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Patent Write?

Skills that share tags, products or a category with Patent Write: Paper to Chinese Patent Drafter (Yuan1z0825/nature-skills, 47k stars), Paper To Cn Patent (snipp-zha/Paper-to-patent-Skill, 106 stars), Patent Examine (gfodor/legal-skills, 393 stars) and Patent Audit (gfodor/legal-skills, 393 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Patent Write?

xstongxue (a GitHub user) maintains it in xstongxue/best-skills, which has 2,962 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on September 13, 2026.

Source: xstongxue/best-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.