mcpField
N
nature-paper-to-patent

nature-paper-to-patent

github.com/yuan1z0825Documents51.2k12.8k installsUpdated 1d ago
Repository

About nature-paper-to-patent

nature-paper-to-patent is a skill for turning paper materials into Chinese patent documents, intended for inventors and patent professionals. It uses source IDs, evidence mapping, and staged checks to guide drafting, with document-generation and validation steps.

Key features

  1. 01Route workflows by task type
  2. 02Assign IDs to source material
  3. 03Map claim features to sources
  4. 04Generate Chinese patent documents
  5. 05Validate and build patent packages

Use cases

  1. 01Draft an application from a paper
  2. 02Analyze paper-to-patent correspondence
  3. 03Create or revise a technical disclosure

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/yuan1z0825/nature-skills --skill nature-paper-to-patent

After installing, type/nature-paper-to-patentin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

manifest.yaml
README_EN.md
README.md
requirements.txt
agents/
openai.yaml
evals/
evals.json
references/
cn-patent-drafting-guide.md
corpus-derived-patterns.md
corpus-pair-audit.md
draft-schema.md
patent-figure-guide.md
references/disclosure/
correction_handler.md
disclosure_builder.md
disclosure_preview.md
disclosure_self_check.md
intake.md
iteration_context.md
merger.md
patent_points_analyzer.md
patent-disclosure-skill-MIT-LICENSE.txt
prior_art_search.md
project_scan.md
template_reference.md
tooling.md
scripts/
audit_claims.py
build_patent_package.py
scripts/disclosure/
cnipa_epub_crawler.py
cnipa_epub_parse.py
cnipa_epub_search.py
docx_to_md.py

Details

From the project README

Paper to Chinese Patent

Use this file as the router for the patent-drafting workflow. Do not draft the application directly from the paper abstract or contribution list.

1. Load the workflow

Read manifest.yaml, then read every file under always_load.

Detect these axes from the user's files and request:

  • source_format: selectable PDF, scanned PDF, pasted text, or mixed project;
  • task_mode: full draft, claim set, disclosure analysis, technical disclosure, disclosure iteration, or paper-patent audit;
  • invention_type: algorithm/software, apparatus/system, process/material, or mixed.

State the detected values in one short line. Load only the matching fragments declared in the manifest. Load detailed references only when their condition applies.

2. Preserve source grounding

Create stable source IDs before drafting:

  • P001... for paper text blocks;
  • E001... for equations;
  • F001... for source figures;
  • C001... for source-code or supplementary evidence.

Every material feature in a formal claim must map to one or more source IDs. Use only explicit, inherent, needs-confirmation, or unsupported as support states. Exclude unsupported features from formal claims.

Never infer inventorship, ownership, unpublished implementation details, publication dates, prior-art conclusions, or legal sufficiency. Use [TO CONFIRM: specific question] outside formal claims when facts are missing.

3. Draft through stage gates

For full-draft, claim-set, disclosure-analysis, and paper-patent-audit, complete the stages in static/core/workflow.md in order. Persist the intermediate artifacts specified there. Do not move to formal claims until the source map, terminology ledger, inventories, evidence ledger, and invention concept pass their gates.

For technical-disclosure, follow the ordered prompt references in static/fragments/task/technical-disclosure.md. For disclosure-iteration, follow static/fragments/task/disclosure-iteration.md and preserve the prior draft instead of restarting the formal application workflow.

For a full application, draft claims first, then align the specification, figures, embodiments, and abstract to the claim terminology and step order.

4. Produce Chinese formal documents

Agent-facing analysis may use the user's preferred language. Produce formal Chinese patent deliverables in Chinese when the task is a formal application package:

  • 权利要求书;
  • 说明书;
  • 说明书摘要;
  • 摘要附图;
  • figure labels and descriptions.

For technical-disclosure and disclosure-iteration, produce the Chinese technical disclosure (技术交底书) as timestamped Markdown plus matching DOCX, with Mermaid system/process diagrams rendered through scripts/disclosure/.

For algorithmic inventions, retain source-supported core formulas, define every symbol, explain each formula's technical operation, and render formulas as native editable Office Math in DOCX. Do not use plain LaTeX strings as the visible formula.

Generate the main flowchart from the ordered steps of the principal method claim. Its final node must name the concrete domain output, such as a defect detection result, target pose, state estimate, or control instruction. Reuse the same main figure as the abstract figure and a specification figure.

5. Validate before delivery

For formal application packages, populate the structured draft described in references/draft-schema.md, then run:

python scripts/validate_patent_draft.py draft.json
python scripts/build_patent_package.py draft.json --output-dir outputs --prefix patent

Resolve all validation ERROR findings. Review every WARNING against the source. Label the result incomplete draft when a required quality threshold in static/core/output-contract.md is not met.

For technical disclosures, run the internal checks in references/disclosure/disclosure_self_check.md, render Mermaid/Word outputs with scripts/disclosure/mermaid_render.py, and resolve formula, parameter, prior-art URL, and chapter-consistency issues before delivery.

The generated package is a drafting aid for inventor and patent-professional review, not a patentability opinion, infringement opinion, or filing guarantee.

Comments

Markdown supported