Agent skill

Paper2patent

by 7toCR in 7toCR/paper2patent

Turn an academic paper (PDF, LaTeX, pasted text, thesis chapter or technical disclosure) into a Chinese invention patent application draft — 说明书摘要、摘要附图、权利要求书、说明书、说明书附图 — delivered as DOCX/PDF with…

MITAuto-check passedDocuments & Office

Install Paper2patent

skills CLI
$ npx skills add 7toCR/paper2patent --skill paper2patent -a claude-code

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

GitHub CLI
$ gh skill install 7toCR/paper2patent paper2patent --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/7toCR/paper2patent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/paper2patent .claude/skills/paper2patent && 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
paper2patent
GitHub stars
649
Token cost
~2.5k tokens
SKILL.md length
1,279 words
Files
17 (incl. scripts, references, assets)
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

Turn an academic paper (PDF, LaTeX, pasted text, thesis chapter or technical disclosure) into a Chinese invention patent application draft — 说明书摘要、摘要附图、权利要求书、说明书、说明书附图 — delivered as DOCX/PDF with…

  • Works in 7 steps: Intake → Source fact sheet (internal) → Invention mining and claim plan → …
  • The user wants to 论文转专利
  • SKILL.md covers What good looks like, Workflow, Rules that matter most and Common requests
  • Runs Python scripts from its folder; calls python

What it does

Paper2patent is an agent skill from 7toCR/paper2patent. Turn an academic paper (PDF, LaTeX, pasted text, thesis chapter or technical disclosure) into a Chinese invention patent application draft — 说明书摘要、摘要附图、权利要求书、说明书、说明书附图 — delivered as DOCX/PDF with black-and-white patent drawings, plus a separate drafting-notes file covering novelty/disclosure risk, claim layout and claim-to-paper support. Use whenever the user wants to 论文转专利, 写专利/专利申请书/专利交底书, draft or review 权利要求书, write a 说明书, make 专利附图, or check a patent draft against its source paper, even if they only say…

Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 20 other files, including scripts, reference files and assets (for example `agents/openai.yaml`, `assets/example_patent_content.json` and `references/claims-and-specification-rules.md`).

It sits in Documents & Office, covering Intellectual property, Word documents and LaTeX. It works with LaTeX and Microsoft Word. The repository describes itself as: 📄→💡 Paper2Patent:面向科研成果转化的论文转专利智能模板库,提供 Flash/Pro Prompt、专利附图生成与 Agent Skills,辅助规范生成中国发明专利申请文本。 The licence is MIT.

When your agent uses it

  • The user wants to 论文转专利
  • 写专利/专利申请书/专利交底书
  • Check a patent draft against its source paper
  • Even if they only say 帮我把这篇论文写成专利

Example prompts

  • “帮我把这篇论文写成专利”
  • “/paper2patent”

Requirements

  • Python 3

Workflow steps

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

  1. Intake
  2. Source fact sheet (internal)
  3. Invention mining and claim plan
  4. Draft the five parts
  5. Drawings
  6. Assemble, check, generate
  7. Deliver

What it can do on your machine

Read from SKILL.md and the folder at commit bc20d37. 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

    Ships 5 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    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

Paper2patent loads about 2.5k tokens when it runs, and up to ~19k if it reads all its reference files. Until then it costs about 136 tokens; SKILL.md has 1,279 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~136
When it runs · the whole SKILL.md, loaded when a task matches
~2.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~19k

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); the scripts in this folder are not scanned.

SKILL.md

The full file from 7toCR/paper2patent at commit bc20d37, republished under its MIT licence (© 7toCR). 1,279 words, ~2,450 tokens.

Download SKILL.mdSave it as .claude/skills/paper2patent/SKILL.md (or your agent's skills folder). This skill also uses 16 other files; get the full folder from GitHub.
name
paper2patent
description
Turn an academic paper (PDF, LaTeX, pasted text, thesis chapter or technical disclosure) into a Chinese invention patent application draft — 说明书摘要、摘要附图、权利要求书、说明书、说明书附图 — delivered as DOCX/PDF with black-and-white patent drawings, plus a separate drafting-notes file covering novelty/disclosure risk, claim layout and claim-to-paper support. Use whenever the user wants to 论文转专利, 写专利/专利申请书/专利交底书, draft or review 权利要求书, write a 说明书, make 专利附图, or check a patent draft against its source paper, even if they only say "帮我把这篇论文写成专利".

Paper2Patent

Convert a paper into a Chinese invention patent application draft that a patent attorney (专利代理师) can review and file with minimal rework. The output is a draft, not legal advice; say so once in the delivery message.

What good looks like

A strong draft does four things the paper itself does not:

  1. Claims that define a protectable scope. Claim 1 contains exactly the features needed to solve the technical problem (the distinguishing features over the closest prior art) and nothing paper-specific that a competitor could trivially design around. Specific values, model names and optional modules move to dependent claims and embodiments.
  2. A specification that enables and supports. A skilled person can reproduce the invention from the 具体实施方式 alone, and every claim term is explained there. For AI inventions this means the model's modules/layers/connections, training steps and parameters, and how inputs and outputs map to the application scene (专利审查指南, 2026-01-01 revision).
  3. Technical character. The solution is framed as technical means solving a technical problem with a technical effect, so it is not rejected as 智力活动的规则和方法 (专利法第25条).
  4. Complete fidelity. Every technical feature is traceable to the paper. Patent-style generalisation is allowed where the paper supports it; invention is not. Missing information becomes an explicit 【待补充:…】 placeholder, never a guess — added matter cannot be supported later and misrepresents the inventors' work.

Workflow

1. Intake
  • Pick the mode: direct (default: draft everything, mark gaps), human-in-loop (confirm disclosure status, invention points and claim plan with the user before drafting), text-only (no files), claims-only, or review (check an existing draft against the paper).
  • Read the whole paper: every section, equation, figure, caption, table and appendix. For a PDF, render the pages that contain the method figures and look at them; for text-only input, work from the figure descriptions and captions. The drawings must follow the paper's actual structure. See references/input-requirements.md for PDF handling and the minimum input.
  • Establish the disclosure status (arXiv? accepted/published? public code? talk?) and dates. This decides whether the patent can still be novel. Read references/patentability-and-disclosure.md — every time, because the answer changes what you tell the user.
2. Source fact sheet (internal)

Before drafting, list the technical facts you will rely on, each with its location (§3.2, Eq. (4), Fig. 2, Table 3, Appendix B). Separate: (a) the paper's own contributions, (b) prior art the paper describes (related work, baselines), (c) experimental settings and results. This list is the backbone for fidelity, for support_map, and for the 背景技术 section. Do not show it to the user unless asked.

3. Invention mining and claim plan

Identify the closest prior art (usually the strongest baseline or the method the paper improves on), the distinguishing features, the technical problem they solve and the technical effect they produce. Then plan the claim tree before writing any claim: triage every candidate claim-1 feature (necessary / embodiment choice / interface detail), give each separable mechanism its own dependent claim (one fallback position per claim, never merged to save numbering), check that every branch of a generalised claim 1 is supported in the description, add the standard carrier claims, and record all of this in notes.claim_plan. Do not simply transcribe the paper's pipeline into claim 1. Read references/claims-drafting.md.

4. Draft the five parts

Follow references/patent-drafting-standard.md for the structure, content and language of each part, including the paper-to-patent mapping (what to keep, transform, or drop). Write in Simplified Chinese patent register: 本发明/本实施例, never 本文/我们/论文/作者. Keep technical clarifications (what a constraint or state actually means) in the text; move drafting remarks to the notes.

Then run the sufficiency audit (patent-drafting-standard.md §7): for every feature of claim 1 and the main dependent claims, check that the description states its data format, decision rule, failure handling and parameters. What the paper gives goes into the text; what it does not give goes into notes.sufficiency as a gap — never filled in by you. This audit is what produces a useful handover list; a draft that looks complete but hides its gaps is worse than one that names them.

5. Drawings

Design each figure as an explicit graph of nodes and edges taken from the paper's figures and method text. If the method checks, revises, retries or iterates, draw that loop (decision node + return edge) in the flowchart that illustrates claim 1, not just the success path. Read references/drawing-generation.md. A typical AI-method set: method flowchart (图1, also the 摘要附图), model/data-flow diagram redrawn from the paper's main figure, apparatus block diagram with reference numerals, electronic-device diagram.

Show full SKILL.md (537 more words)Show less
6. Assemble, check, generate

Write the structured JSON described in references/document-generation.md (see assets/example_patent_content.json for a complete example). Then run, from the folder holding the JSON (<skill> = this skill's directory):

bash
python <skill>/scripts/check_patent_draft.py patent.json
python <skill>/scripts/generate_patent_drawings.py patent.json -o out --update-json
python <skill>/scripts/generate_patent_docx.py patent.json -o out/<名称>_专利申请文件.docx --require-drawings
python <skill>/scripts/export_patent_pdf.py out/<名称>_专利申请文件.docx -o out/<名称>_专利申请文件.pdf --preview-dir out/preview
  • Fix every ERROR from the checker and judge every WARN; rerun until clean. The checker catches the formal defects (single period, uncertain words, dependency rules, antecedent basis, 300-character abstract, figure numbering, reference numerals) that are easy to miss when re-reading your own text, and warns about scope problems (code field names or negative limitations in claims, an over-long or enumeration-heavy claim 1, a revision loop that no drawing shows, drafting remarks in the description).
  • Look at every generated drawing PNG and at the preview pages before delivering. Fix the JSON and regenerate if anything is cramped, wrong or unsupported.
  • The DOCX step also writes <名称>_专利申请文件_撰写说明.docx: it opens with the handover checklist (every 【待补充】, notes.handover, plus ownership, disclosure date and prior-art search), followed by disclosure risk, claim plan, support map, drawing sources and check results. Keep all non-application content there, not in the application file.

Scripts need Python 3.9+. Pillow and a Chinese font are needed for drawings (the script refuses to render boxes-for-characters); LibreOffice for the PDF. If something is missing, install it or report the limitation — do not hand over drawings that show empty boxes.

7. Deliver

Give the user the files and a short message: the invention points claim 1 rests on, the claim structure (e.g. "方法1–6 + 装置7 + 设备8 + 介质9"), where the handover checklist is (first section of the 撰写说明) and its most important items, the disclosure/novelty assessment, and a reminder that a patent attorney should review the draft and run a prior-art search before filing. Do not paste the checklist or your analysis.

Rules that matter most

  • Fidelity beats completeness. No invented modules, parameters, datasets, hardware, scenarios, effects or numbers. Generalise only along lines the paper itself supports (alternatives it mentions, ablations, a generic description of a component).
  • Claims are definite: no 等、约、可以、例如、优选、不限于 and the like; one final 句号 per claim; dependent claims cite only earlier claims; terms introduced before "所述" is used.
  • Captions under drawings are just "图1", "图2"; titles go in 附图说明. No figure number, title, colour or shading inside an image.
  • The application text contains the technical disclosure only. Keep evidence boundaries the paper states; move remarks about the drafting, the paper or missing files into notes, and requests for material into notes.handover.
  • Be honest about what the draft is: it organises and discloses the paper's invention; it does not add inventive substance, and it says nothing about the chance of grant.
  • Keep one invention name (≤25 characters, no brand or model names) consistent across the abstract, claims and 说明书.
  • Never store the user's paper, drafts or personal data in repository files.

Common requests

RequestWhat to do
把这篇论文写成专利 / 生成专利申请书 Word、PDFFull workflow, direct mode
先帮我梳理发明点再写human-in-loop: report disclosure status, invention points and claim plan; draft after confirmation
只写权利要求书Steps 1–3, claims-drafting.md, run the checker on a JSON containing only claims
根据说明书画专利附图drawing-generation.md; nodes and edges only from the text and paper figures
检查这份专利草稿 / 是否忠实原文review: run the checker on the draft, then audit each claim feature against the paper using quality-checklist.md
论文已经发表了还能申请吗Answer from patentability-and-disclosure.md; recommend confirming with a patent attorney

© 7toCR, MIT. 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 16 other files (scripts, references, assets) in skills/paper2patent of 7toCR/paper2patent.

  • SKILL.md
  • agents/openai.yaml
  • assets/example_patent_content.json
  • references/claims-and-specification-rules.md
  • references/claims-drafting.md
  • references/document-generation.md
  • references/drawing-generation.md
  • references/input-requirements.md
  • references/patent-drafting-standard.md
  • references/patentability-and-disclosure.md
  • references/quality-checklist.md
  • references/text-conversion-workflow.md
  • scripts/check_patent_draft.py
  • scripts/export_patent_pdf.py
  • scripts/generate_patent_docx.py
  • scripts/generate_patent_drawings.py
  • scripts/patent_common.py

Open the folder on GitHubat commit bc20d37

Compare with similar skills

Paper2patent 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.

Paper2patent compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Paper2patent this skill7toCR/paper2patent649—~2.5kAutomated safety check: PassMIT
Thu ThesisLeoYeAI/openclaw-master-skills2.2k—~4kAutomated safety check: PassMIT
MineruNebutra/MinerU-Skill122—~1.4kAutomated safety check: PassMIT
AI Review SkillNeuroDong/Ai-Review626—~2.5kAutomated safety check: PassMIT
MineruNebutra/MinerU-Skill122—~504Automated safety check: PassMIT
Lexoid CLIoidlabs-com/Lexoid109—~2kAutomated safety check: NotesApache-2.0

Similar skills

  • Thu Thesis

    LeoYeAI/openclaw-master-skills

    清华大学毕业论文 Word → PDF 一键格式规范化工具。输入任意 Word (.docx) 格式的清华毕业论文,自动转换为符合清华 thuthesis 官方 LaTeX 模板规范的高质量 PDF。适用于所有清华学位论文(MBA/学硕/专硕),一条命令搞定。功能:自动提取章节结构、中英文摘要、参考文献(自动生成 BibTeX)、图片(含…

    2.2k GitHub stars~4k tokensUpdated 2 mo ago
    Documents & OfficeAuto-check passed
  • Mineru

    Nebutra/MinerU-Skill

    An AI-Native skill for parsing PDF / Office / image files into clean Markdown with MinerU — a fast, zero-config document parser for AI agents.

    122 GitHub stars~1.4k tokensUpdated 14 days ago
    Documents & OfficeAuto-check passed
  • AI Review Skill

    NeuroDong/Ai-Review

    Generates structured AI paper reviews (SoT style) for LaTeX, PDF, and Word manuscripts.

    626 GitHub stars~2.5k tokensUpdated 1 mo ago
    Documents & OfficeAuto-check passed
  • Mineru

    Nebutra/MinerU-Skill

    An AI-Native skill for parsing PDF / Office / image files into Markdown with MinerU — a fast, zero-config document parser for AI agents.

    122 GitHub stars~504 tokensUpdated 14 days ago
    Documents & OfficeAuto-check passed
  • Lexoid CLI

    oidlabs-com/Lexoid

    Parse and convert documents (PDFs, images, web pages, DOCX/XLSX/PPTX, audio) from the terminal using the lexoid CLI.

    109 GitHub stars~2k tokensUpdated yesterday
    Documents & OfficeAuto-check: notes
  • Paper Covert

    GRIND-Lab-Core/night_owl_research_agent

    Converts the final Markdown manuscript from paper-draft / paper-review-loop into a submission package for the target venue — modular LaTeX (one file per section), compiled PDF, and Word .docx.

    106 GitHub stars~2.1k tokensUpdated 5 mo ago
    Documents & OfficeAuto-check: notes

Questions about Paper2patent

What does Paper2patent do?

Turn an academic paper (PDF, LaTeX, pasted text, thesis chapter or technical disclosure) into a Chinese invention patent application draft — 说明书摘要、摘要附图、权利要求书、说明书、说明书附图 — delivered as DOCX/PDF with…. Paper2patent is an agent skill from 7toCR/paper2patent. Turn an academic paper (PDF, LaTeX, pasted text, thesis chapter or technical disclosure) into a Chinese invention patent application draft — 说明书摘要、摘要附图、权利要求书、说明书、说明书附图 — delivered as DOCX/PDF with black-and-white patent drawings, plus a separate drafting-notes file covering novelty/disclosure risk, claim layout and claim-to-paper support.

When should I use Paper2patent?

Paper2patent fits situations like: the user wants to 论文转专利; 写专利/专利申请书/专利交底书; check a patent draft against its source paper; even if they only say 帮我把这篇论文写成专利.

How do I install Paper2patent in Claude Code?

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

How do I install Paper2patent in Codex?

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

Can I use Paper2patent 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 7toCR/paper2patent --skill paper2patent -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/paper2patent, .gemini/skills/paper2patent, .github/skills/paper2patent and .opencode/skills/paper2patent in your project.

What does Paper2patent need to run?

Going by SKILL.md and its folder, Paper2patent needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Paper2patent 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 Paper2patent 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Paper2patent use?

Paper2patent is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Paper2patent use?

About 2.5k tokens (SKILL.md is roughly 9.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 17k tokens, read only when the agent opens those files.

What are the alternatives to Paper2patent?

Skills that share tags, products or a category with Paper2patent: Thu Thesis (LeoYeAI/openclaw-master-skills, 2.2k stars), Mineru (Nebutra/MinerU-Skill, 122 stars), AI Review Skill (NeuroDong/Ai-Review, 626 stars) and Mineru (Nebutra/MinerU-Skill, 122 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Paper2patent?

7toCR (a GitHub user) maintains it in 7toCR/paper2patent, which has 649 GitHub stars. The repository was last updated on October 5, 2026.

Source: 7toCR/paper2patent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.