patent-pipeline

Drafts complete patent applications from invention descriptions to jurisdiction-formatted filing documents.

Updated Jul 9, 2026
One-click install
npx skills add https://github.com/Lingjie-wang/autoRL --skill patent-pipeline-lingjie-wang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: patent-pipeline
Source: https://github.com/Lingjie-wang/autoRL/tree/main/Auto-claude-code-research-in-sleep/skills/patent-pipeline
Command: npx skills add https://github.com/Lingjie-wang/autoRL --skill patent-pipeline-lingjie-wang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Turning a raw invention idea into a properly structured, jurisdiction-compliant patent application requires prior art research, claims drafting, specification writing, and format expertise that most inventors and researchers lack. ## Core Features & Use Cases - End-to-End Drafting Pipeline: Chains prior art search, novelty assessment, invention structuring, claims drafting, specification writing, examiner-style review, and jurisdiction formatting into one orchestrated workflow. - Multi-Jurisdiction Support: Generates filing documents formatted for CNIPA (CN), USPTO (US), and EPO (EP), including invention patents and CN utility models. - Checkpointed Human Review: Pauses at each phase for explicit user confirmation and persists progress to PATENT_STATE.json so long drafting sessions can resume after interruption. - Use Case: A researcher finishes an idea-discovery phase and wants to protect the resulting method; the pipeline extracts the patentable aspects, drafts claims and specification, runs two rounds of examiner-style review, and outputs CN/US/EP formatted documents for attorney review. ## Quick Start Run the patent pipeline with a description of your invention and target jurisdiction, for example: draft a patent for my invention described in INVENTION_BRIEF.md targeting CN.

Frequently Asked Questions about patent-pipeline

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I draft a patent application from an invention description?

Provide an invention description or fill in INVENTION_BRIEF.md, then run the pipeline with your target jurisdiction. It performs prior art search, novelty checking, claims drafting, specification writing, and review, pausing at each checkpoint for your confirmation.

What patent jurisdictions and types does the pipeline support?

It supports CN (CNIPA), US (USPTO), and EP (EPO) jurisdictions, or ALL to generate all three formats. Patent types include invention patents and CN-only utility models, which are restricted to apparatus claims.

Can I resume an interrupted patent drafting session?

Yes. The pipeline writes PATENT_STATE.json after every phase. If the state is in_progress and less than 24 hours old, it resumes from the saved phase; otherwise it starts fresh.

Does the patent pipeline produce final filing-ready documents?

No. It produces drafts intended for attorney review, not final filing documents. The output includes jurisdiction-formatted claims, specifications, and abstracts, but a patent attorney should review before filing.

What happens if the external review model is unavailable?

If the Codex MCP reviewer is unavailable due to a missing API key, the pipeline skips the external cross-model review and notes it in the output. The pipeline continues without failing.