paper2patent: Skill for Claude Code

.claude/skills/paper2patent/SKILL.md

paper2patent is a skill for Claude Code, Codex from 7toCR/paper2patent. It costs 163 tokens per session (2,320 once invoked), scanned A, original, MIT.

A workflow for converting an academic paper into complete Chinese invention-patent materials, such as claims, a specification, an abstract, drawing descriptions, and usually Word or PDF files. It requires the patent text to stay faithful to the supplied paper.

In plain words
What is it for?
Use it to draft, review, or package patent applications from papers, including their claims, descriptions, abstracts, and drawing specifications.
Why use it?
It structures the conversion from research findings to patent documents and prevents invented features, data, scenarios, or effects from entering the draft.

Skill for Claude CodeCodex

Written for Claude Code and Codex: installed under .claude/, but also agents/openai.yaml present.

This is 7toCR/paper2patent's own configuration. It tells Claude Code and Codex how to work on paper2patent itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything paper2patent configures →

Reuse

Borrowing it

Nothing to install: this file belongs to 7toCR/paper2patent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/7toCR/paper2patent/main/.claude/skills/paper2patent/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/7toCR/paper2patent

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for paper2patent

README.md
[![agentmods](https://agentmods.dev/badge/skills/7tocr/paper2patent/paper2patent/github.svg)](https://agentmods.dev/skills/7tocr/paper2patent/paper2patent)
Your own site
<a href="https://agentmods.dev/skills/7tocr/paper2patent/paper2patent"><img src="https://agentmods.dev/badge/skills/7tocr/paper2patent/paper2patent/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for paper2patent

Your own site · 80×15
<a href="https://agentmods.dev/skills/7tocr/paper2patent/paper2patent"><img src="https://agentmods.dev/badge/skills/7tocr/paper2patent/paper2patent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 163 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,320 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high System Prompt Leakage · line 23
    Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.
    Fix: Remove any instructions that reveal, print, or output system prompts or internal rules. System instructions should never be exposed to end users.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00163 $0.02320
Opus 5.5 $0.00065 $0.00928
Sonnet 5.5 $0.00033 $0.00464
Haiku 4.5 $0.00016 $0.00232

Measured 22d ago against content hash 1634be409a60, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

paper2patent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 22d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/check_patent_draft.py, scripts/export_patent_pdf.py, scripts/generate_patent_docx.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

.claude/skills/paper2patent/SKILL.md · 86 lines

How it starts

The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.

Read the full file on GitHub · 86 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 22d ago Changed · +41 lines · +99 tokens per session 1634be409a60
  2. 1mo ago First seen · 45 lines · 64 tokens per session scan A 761e1245723e

Subscribe to this mod's changes

paper2patent is a skill published in the GitHub repository 7toCR/paper2patent (690 stars, last pushed 17d ago), licensed MIT. It adds 163 tokens to every session and 2,320 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.