Loading...
Loading...
Full patent drafting pipeline from invention description to jurisdiction-formatted filing documents. Supports CN (CNIPA), US (USPTO), EP (EPO). Supports invention patents and utility models. Use when user says "写专利", "patent pipeline", "专利申请", "draft patent", "写权利要求书", or wants to draft a complete patent application.
npx skill4agent add wanshuiyin/auto-claude-code-research-in-sleep patent-pipeline/prior-art-search → /patent-novelty-check → /invention-structuring → /claims-drafting → /specification-writing → /patent-review → /jurisdiction-format
(search) (verify) (structure) (claims) (description) (examiner) (compile)
├── /figure-description
└── /embodiment-description/idea-discovery/experiment-bridge/auto-review-loop/paper-writing/grant-proposal/patent-pipeline ┌→ /experiment-bridge → /auto-review-loop → /paper-writing (publish track)
/idea-discovery ────┤
├→ /grant-proposal → [get funded] → ... (funding track)
└→ /patent-pipeline → [file patent] (patent track)CNCNUSEPALL/patent-pipeline "invention — US"inventioninventionutility_modelgpt-5.4trueautopatent/markdownmarkdowndocxOverride defaults via arguments:or/patent-pipeline "invention — US, utility model"./patent-pipeline "invention — ALL, language: Chinese"
| Field | Detail |
|---|---|
| Protection | 20 years from filing date |
| Subject matter | Methods, systems, products, compositions, processes |
| Examination | Substantive examination required |
| Inventive step | High (must involve an inventive step / 创造性) |
| Timeline | 2-4 years to grant (CN); 2-3 years (US); 3-5 years (EP) |
| Claims | Method + system + product claims allowed |
| Field | Detail |
|---|---|
| Protection | 10 years from filing date |
| Subject matter | Product shape, structure, or combination thereof only |
| Examination | Formal examination only (no substantive examination) |
| Inventive step | Lower than invention patent |
| Timeline | 6-8 months to grant |
| Claims | Apparatus/device claims only. NO method claims. |
| Restriction | CN jurisdiction only |
patent/PATENT_STATE.json{
"phase": 3,
"jurisdiction": "CN",
"patent_type": "invention",
"language": "Chinese",
"codex_thread_id": "019cfcf4-...",
"invention_title": "...",
"claims_count": 15,
"status": "in_progress",
"timestamp": "2026-04-10T15:00:00"
}status: "completed"status: "in_progress""status": "completed"$ARGUMENTSINVENTION_BRIEF.mdIDEA_REPORT.md/idea-discoveryrefine-logs/FINAL_PROPOSAL.mdNARRATIVE_REPORT.mdpatent/PATENT_STATE.jsonINVENTION_BRIEF.mdpatent/INVENTION_BRIEF.md/prior-art-search/prior-art-search "patent/INVENTION_BRIEF.md"/patent-novelty-check/patent-novelty-check "patent/INVENTION_BRIEF.md"Prior art search complete:
- [X] patent references found
- [Y] non-patent literature references found
- Closest prior art: [reference] -- [why it's closest]
- Novelty assessment: [PATENTABLE / PATENTABLE WITH AMENDMENTS / NOT PATENTABLE]
- Key risk areas: [list]
Ready to proceed with invention structuring?patent/DRAFT_NOTES.mdPATENT_STATE.jsonphase: 1/invention-structuring/invention-structuring "patent/INVENTION_BRIEF.md"patent/INVENTION_DISCLOSURE.md/claims-drafting/claims-drafting "patent/INVENTION_DISCLOSURE.md"patent/CLAIMS.mdInvention structured:
- Core inventive concept: [summary]
- Claim categories: [method, system, etc.]
- Claims drafted: [X] independent + [Y] dependent = [Z] total
- Independent claim 1 (broadest): [first 50 words of claim 1]
- Examiner review score: [X]/10
The claims define the legal scope of protection. Please review before proceeding to specification.PATENT_STATE.jsonphase: 2/specification-writing/specification-writing "patent/CLAIMS.md"/figure-description/embodiment-descriptionSpecification written:
- Title: [title]
- Sections: Technical Field, Background, Summary, Drawings Description, Detailed Description, Abstract
- Embodiments: [X]
- Reference numerals: [Y] components mapped
- Abstract length: [Z] words (limit: [jurisdiction limit])
- Claim support: [all elements covered / X elements missing]
Ready to proceed to review?PATENT_STATE.jsonphase: 3/patent-review/patent-review "patent/"PATENT_STATE.jsonphase: 4/jurisdiction-format/jurisdiction-format "patent/"| Output | Location | Description |
|---|---|---|
| CN: 权利要求书 | | Claims in CNIPA format |
| CN: 说明书 | | Description in CNIPA format |
| CN: 说明书摘要 | | Abstract (CN) |
| US: Claims | | Claims in USPTO format |
| US: Specification | | Description in USPTO format |
| US: Abstract | | Abstract (US) |
| EP: Claims | | Claims in EPO format |
| EP: Description | | Description in EPO format |
| EP: Abstract | | Abstract (EP) |
## Patent Pipeline Complete
### Application Summary
- Title: [invention title]
- Jurisdiction: [CN/US/EP/ALL]
- Patent Type: [Invention / Utility Model]
- Language: [Chinese/English]
- Total Claims: [X] independent + [Y] dependent
### Pipeline Scores
| Phase | Score |
|-------|-------|
| Prior Art Search | [completeness assessment] |
| Novelty Assessment | [PATENTABLE/PATENTABLE WITH AMENDMENTS/NOT PATENTABLE] |
| Examiner Review Round 1 | [X]/10 |
| Examiner Review Round 2 | [Y]/10 |
| Final | [Z]/10 |
### Output Files
[Table of all generated files with paths]
### Next Steps
- [ ] Have a patent attorney review the application
- [ ] Conduct professional prior art search (this tool's search is preliminary)
- [ ] Prepare formal drawings (if user figures need professional rendering)
- [ ] File with the patent office
- [ ] For utility model (CN): formal examination typically takes 6-8 months
- [ ] For invention patent: substantive examination may take 2-4 yearsPATENT_STATE.jsonphase: 5, status: "completed"cat <<'EOF'mcp__codex__codexUser describes invention directly ──→ /patent-pipeline
/idea-discovery produces IDEA_REPORT.md ──→ /patent-pipeline (extract patentable aspects)
/research-refine produces FINAL_PROPOSAL.md ──→ /patent-pipeline (from refined research idea)
/auto-review-loop produces strong results ──→ /patent-pipeline (patent the method)