Paper2Patent

Turns a research paper into a draft Chinese (CNIPA) invention patent with figures and Word/PDF output for attorney review.

776GitHub starsLast updated: Oct 10, 2026MITDiscipline-Specific

Last reviewed by the paperbanana team on Dec 6, 2026

Paper2Patent — screenshot from the official GitHub repository

Install

git clone https://github.com/7toCR/paper2patent.git
cd paper2patent
cp -R skills/paper2patent ~/.claude/skills/
Best for:Chinese university labsCorporate research institutesResearchers commercializing a paperPatent engineers drafting from papers

What is Paper2Patent?

Paper2Patent is a repository for researchers who want to convert a paper into a Chinese invention patent application draft. It bundles two things: ready-to-paste prompt templates (a short "Flash" version and a more detailed "Pro" version, plus a Gemini prompt for patent figures) and a paper2patent Skill that runs the whole job inside an agent tool. The Skill is a proper Agent Skills package, and the README says it works in Codex, Claude, Claude Code, Cursor and Windsurf, with Codex being where the author mainly tested it.

The problem it addresses is a practical one. A paper proves academic contribution, while a patent protects a technical result, and researchers often have to work out from scratch how to lay out the claims, how much the specification must disclose, and what the drawing rules are. The README says the author collected experience from patent engineers at university research teams and corporate research institutes and turned it into templates and tools that produce a draft you can hand to a patent attorney.

It is explicitly built for the Chinese system. The output follows the five-part Chinese application structure and the README cites the Patent Law (2020 amendment), the Implementing Rules (2023 revision) and the Guidelines for Patent Examination (version effective 1 January 2026) as its basis. The project says its output is a draft for attorney review and not legal advice, so it will not help you file in other jurisdictions without rework.

Core capabilities

Five-part application text

Produces the abstract, the abstract drawing selection, the claims, the specification and the specification drawings, the five parts of a Chinese invention patent application.

Claim layout rules

Independent claims carry only the necessary technical features; dependent claims add one mechanism each; method, apparatus, electronic device and storage medium claims are written as a matched set.

Faithful to the paper

Technical content may only come from the paper. Anything the paper does not provide is marked as "to be supplemented" (待补充) instead of being invented.

Black-and-white patent figures

Generates line-art flowcharts and block diagrams with branches, decisions, loops and reference numerals, exported as SVG and PNG. A separate Gemini prompt can also draw reference figures from existing patent text.

Automatic checks and risk notes

Scripts check banned vague words, single full stop per claim, claim dependencies and antecedent basis, abstract length, and figure number versus reference numeral consistency. A drafting note lists disclosure and novelty risks, subject-matter issues for AI and algorithm inventions, and missing materials.

Word and PDF deliverables

Writes the application as DOCX and PDF with each part on its own page, plus a separate drafting-notes DOCX for the applicant and attorney.

What you can use it for

  • Turning a lab paper into a first patent draft

    Give the Skill the paper and let it plan the inventive points and claim layout, confirm the plan, then generate the full application text and figures for your attorney to refine.

  • Checking whether a paper is still patentable

    The README lists questions such as whether a paper already posted to arXiv can still be patented, and the Skill includes a reference on disclosure and novelty to guide the answer.

  • Auditing an existing patent draft

    Ask the Skill to compare a draft against the source paper to find content that was invented rather than taken from the paper.

  • Quick draft in any chat model

    If you do not use an agent tool, paste the Flash or Pro prompt together with the paper into a general chat model to get plain-text five-part output.

How to get started

  1. 1

    Clone the repository and copy the Skill

    Run git clone https://github.com/7toCR/paper2patent.git, then copy skills/paper2patent into your tool's skills folder. For Claude Code the README says it works inside the repo directly (.claude/skills/paper2patent/) or you can copy it to ~/.claude/skills/. Codex users copy it to ~/.codex/skills/.

  2. 2

    Check the environment

    The README lists Python 3.9+; drawing needs Pillow and a Chinese font (set PATENT_CJK_FONT if needed), and PDF export needs LibreOffice.

  3. 3

    Ask in plain language

    For example: use the paper2patent skill to generate a Chinese invention patent application in Word and PDF from this paper. You can ask for the inventive points and claim layout first, and confirm before drafting.

  4. 4

    Review the outputs with your attorney

    Open the application DOCX/PDF, the separate drafting-notes DOCX (missing-material list, disclosure check, novelty risk, claim-to-paper mapping, automatic check results) and the SVG/PNG figures, then pass them to a patent attorney.

How it compares to similar skills

Paper2Patent is narrow on purpose: one document type, one jurisdiction. Pick other skills when you are writing the paper itself or need general academic tooling.

Frequently asked questions

Need publication-quality figures for your paper?

paperbanana turns a text description into methodology diagrams, ML architecture figures, and statistical charts ready for submission.

Generate a figure