Patent Drafter — Patent Specification Drafting Pipeline
Converts an invention's technical idea into a systematic patent specification set.
Execution Mode
Agent Team — 5 agents communicate directly via SendMessage and cross-verify each other's work.
Agent Composition
| Agent |
File |
Role |
Type |
| prior-art-researcher |
.claude/agents/prior-art-researcher.md |
Prior art search, novelty/inventive step analysis |
general-purpose |
| claim-drafter |
.claude/agents/claim-drafter.md |
Independent/dependent claim drafting, claim scope design |
general-purpose |
| specification-writer |
.claude/agents/specification-writer.md |
Detailed description of invention, embodiment writing |
general-purpose |
| drawing-designer |
.claude/agents/drawing-designer.md |
Drawing composition, reference numeral descriptions |
general-purpose |
| patent-reviewer |
.claude/agents/patent-reviewer.md |
Consistency cross-verification, description deficiency check |
general-purpose |
Workflow
Phase 1: Preparation (Performed Directly by Orchestrator)
- Extract from user input:
- Title of Invention: Technical title
- Technical Field: The field to which the invention belongs
- Invention Overview: Core technical concept, components, operating principles
- Problem to be Solved: Problems with existing technology and the problem to be solved
- Existing Materials (optional): Invention report, technical documents, prototype information
- Create the
_workspace/ directory in the project root
- Organize the input and save to
_workspace/00_input.md
- Determine the execution mode based on the requested scope
Phase 2: Team Assembly and Execution
| Order |
Task |
Owner |
Dependencies |
Output |
| 1 |
Prior Art Search |
prior-art-researcher |
None |
_workspace/01_prior_art_report.md |
| 2 |
Claim Drafting |
claim-drafter |
Task 1 |
_workspace/02_claims.md |
| 3a |
Specification Writing |
specification-writer |
Tasks 1, 2 |
_workspace/03_specification.md |
| 3b |
Drawing Design |
drawing-designer |
Task 2 |
_workspace/04_drawings.md |
| 4 |
Patent Review |
patent-reviewer |
Tasks 1, 2, 3a, 3b |
_workspace/05_review_report.md |
Tasks 3a (Specification) and 3b (Drawing) are executed in parallel. Both depend on claims, so they can start simultaneously after Task 2 is complete. However, both sides communicate for reference numeral coordination.
Inter-agent Communication Flow:
- prior-art-researcher completes -> Delivers differentiation points and design-around direction to claim-drafter
- claim-drafter completes -> Delivers elements and terms to specification-writer, structure to drawing-designer
- specification-writer <-> drawing-designer: Mutual coordination of reference numeral system
- patent-reviewer cross-verifies all deliverables. If Red must-fix items found, requests revision from relevant agent (up to 2 times)
Phase 3: Integration and Final Deliverables
- Review all files in
_workspace/
- Verify that all Red must-fix items from the review report have been addressed
- Report the final summary to the user:
- Prior Art Search Report —
01_prior_art_report.md
- Claim Set —
02_claims.md
- Detailed Description of Invention —
03_specification.md
- Drawing Description —
04_drawings.md
- Review Report —
05_review_report.md
Modes by Request Scope
| User Request Pattern |
Execution Mode |
Agents Deployed |
| "Write the full patent specification" |
Full Pipeline |
All 5 agents |
| "Just search prior art" |
Search Mode |
prior-art-researcher only |
| "Just draft claims" |
Claims Mode |
claim-drafter + reviewer |
| "Write spec from these claims" (existing claims) |
Specification Mode |
specification-writer + drawing-designer + reviewer |
| "Review this specification" |
Review Mode |
patent-reviewer only |
Data Transfer Protocol
| Strategy |
Method |
Purpose |
| File-based |
_workspace/ directory |
Storing and sharing main deliverables |
| Message-based |
SendMessage |
Real-time delivery of key info, numeral coordination, revision requests |
File naming convention: {order}_{agent}_{deliverable}.{extension}
Error Handling
| Error Type |
Strategy |
| Web search failure |
Prior art researcher works based on general knowledge, notes "DB search not performed" |
| Insufficient invention info |
Request additional info from user, draft with minimum information |
| Agent failure |
Retry once -> if failed, proceed without that deliverable, note omission in review report |
| Red items found in review |
Request revision from relevant agent -> rework -> re-verify (up to 2 times) |
| Reference numeral mismatch |
drawing-designer and specification-writer mutually coordinate |
Test Scenarios
Normal Flow
Prompt: "Write a patent specification for an IoT-based smart flowerpot automatic watering system. It measures with a soil moisture sensor and AI adjusts the watering amount based on plant type."
Expected Results:
- Prior Art Search: 5+ prior patents related to IoT watering systems and smart flowerpots
- Claims: Apparatus independent claim + method independent claim + 5+ dependent claims
- Specification: Complete structure from technical field through embodiments
- Drawings: System block diagram + detailed structure diagram + flowchart
- Review: All consistency matrix items verified
Partial Flow
Prompt: "Just search prior art for this invention idea"
Expected Results:
- Switches to search mode (prior-art-researcher only)
- Prior art list + in-depth analysis + novelty/inventive step assessment
Error Flow
Prompt: "Write a patent specification, the idea is new battery technology"
Expected Results:
- Full pipeline execution, additional questions due to insufficient invention details
- When drafting with minimum info, many items marked "inventor verification needed"
- Review report includes "recommend rewriting after supplementing detailed information"
Agent Extension Skills
| Agent |
Extension Skill |
Purpose |
| claim-drafter, patent-reviewer |
claim-drafting-patterns |
Claim drafting patterns, claim scope design strategy |
| prior-art-researcher |
prior-art-search-strategy |
Prior art search strategy, novelty/inventive step analysis framework |
1---2name: patent-drafter3description: A full patent specification drafting pipeline. An agent team collaborates to generate prior art search, claims, specification, and drawing descriptions in a single pass. Use this skill for contexts such as 'write a patent specification', 'patent application', 'invention patent', 'draft claims', 'prior art search', 'patent draft', 'patent specification draft', 'convert invention report to patent', 'turn an idea into a patent', and other patent specification drafting tasks. Note: Actual patent office filing, patent examination responses (opinion statements/amendments), patent litigation, and international filing (PCT/Paris Convention) practice are outside the scope of this skill.4---56# Patent Drafter — Patent Specification Drafting Pipeline78Converts an invention's technical idea into a systematic patent specification set.910## Execution Mode1112**Agent Team** — 5 agents communicate directly via SendMessage and cross-verify each other's work.1314## Agent Composition1516| Agent | File | Role | Type |17|-------|------|------|------|18| prior-art-researcher | `.claude/agents/prior-art-researcher.md` | Prior art search, novelty/inventive step analysis | general-purpose |19| claim-drafter | `.claude/agents/claim-drafter.md` | Independent/dependent claim drafting, claim scope design | general-purpose |20| specification-writer | `.claude/agents/specification-writer.md` | Detailed description of invention, embodiment writing | general-purpose |21| drawing-designer | `.claude/agents/drawing-designer.md` | Drawing composition, reference numeral descriptions | general-purpose |22| patent-reviewer | `.claude/agents/patent-reviewer.md` | Consistency cross-verification, description deficiency check | general-purpose |2324## Workflow2526### Phase 1: Preparation (Performed Directly by Orchestrator)27281. Extract from user input:29 - **Title of Invention**: Technical title30 - **Technical Field**: The field to which the invention belongs31 - **Invention Overview**: Core technical concept, components, operating principles32 - **Problem to be Solved**: Problems with existing technology and the problem to be solved33 - **Existing Materials** (optional): Invention report, technical documents, prototype information342. Create the `_workspace/` directory in the project root353. Organize the input and save to `_workspace/00_input.md`364. Determine the **execution mode** based on the requested scope3738### Phase 2: Team Assembly and Execution3940| Order | Task | Owner | Dependencies | Output |41|-------|------|-------|-------------|--------|42| 1 | Prior Art Search | prior-art-researcher | None | `_workspace/01_prior_art_report.md` |43| 2 | Claim Drafting | claim-drafter | Task 1 | `_workspace/02_claims.md` |44| 3a | Specification Writing | specification-writer | Tasks 1, 2 | `_workspace/03_specification.md` |45| 3b | Drawing Design | drawing-designer | Task 2 | `_workspace/04_drawings.md` |46| 4 | Patent Review | patent-reviewer | Tasks 1, 2, 3a, 3b | `_workspace/05_review_report.md` |4748Tasks 3a (Specification) and 3b (Drawing) are executed **in parallel**. Both depend on claims, so they can start simultaneously after Task 2 is complete. However, both sides communicate for reference numeral coordination.4950**Inter-agent Communication Flow:**51- prior-art-researcher completes -> Delivers differentiation points and design-around direction to claim-drafter52- claim-drafter completes -> Delivers elements and terms to specification-writer, structure to drawing-designer53- specification-writer <-> drawing-designer: Mutual coordination of reference numeral system54- patent-reviewer cross-verifies all deliverables. If Red must-fix items found, requests revision from relevant agent (up to 2 times)5556### Phase 3: Integration and Final Deliverables57581. Review all files in `_workspace/`592. Verify that all Red must-fix items from the review report have been addressed603. Report the final summary to the user:61 - Prior Art Search Report — `01_prior_art_report.md`62 - Claim Set — `02_claims.md`63 - Detailed Description of Invention — `03_specification.md`64 - Drawing Description — `04_drawings.md`65 - Review Report — `05_review_report.md`6667## Modes by Request Scope6869| User Request Pattern | Execution Mode | Agents Deployed |70|---------------------|----------------|-----------------|71| "Write the full patent specification" | **Full Pipeline** | All 5 agents |72| "Just search prior art" | **Search Mode** | prior-art-researcher only |73| "Just draft claims" | **Claims Mode** | claim-drafter + reviewer |74| "Write spec from these claims" (existing claims) | **Specification Mode** | specification-writer + drawing-designer + reviewer |75| "Review this specification" | **Review Mode** | patent-reviewer only |7677## Data Transfer Protocol7879| Strategy | Method | Purpose |80|----------|--------|---------|81| File-based | `_workspace/` directory | Storing and sharing main deliverables |82| Message-based | SendMessage | Real-time delivery of key info, numeral coordination, revision requests |8384File naming convention: `{order}_{agent}_{deliverable}.{extension}`8586## Error Handling8788| Error Type | Strategy |89|-----------|----------|90| Web search failure | Prior art researcher works based on general knowledge, notes "DB search not performed" |91| Insufficient invention info | Request additional info from user, draft with minimum information |92| Agent failure | Retry once -> if failed, proceed without that deliverable, note omission in review report |93| Red items found in review | Request revision from relevant agent -> rework -> re-verify (up to 2 times) |94| Reference numeral mismatch | drawing-designer and specification-writer mutually coordinate |9596## Test Scenarios9798### Normal Flow99**Prompt**: "Write a patent specification for an IoT-based smart flowerpot automatic watering system. It measures with a soil moisture sensor and AI adjusts the watering amount based on plant type."100**Expected Results**:101- Prior Art Search: 5+ prior patents related to IoT watering systems and smart flowerpots102- Claims: Apparatus independent claim + method independent claim + 5+ dependent claims103- Specification: Complete structure from technical field through embodiments104- Drawings: System block diagram + detailed structure diagram + flowchart105- Review: All consistency matrix items verified106107### Partial Flow108**Prompt**: "Just search prior art for this invention idea"109**Expected Results**:110- Switches to search mode (prior-art-researcher only)111- Prior art list + in-depth analysis + novelty/inventive step assessment112113### Error Flow114**Prompt**: "Write a patent specification, the idea is new battery technology"115**Expected Results**:116- Full pipeline execution, additional questions due to insufficient invention details117- When drafting with minimum info, many items marked "inventor verification needed"118- Review report includes "recommend rewriting after supplementing detailed information"119120## Agent Extension Skills121122| Agent | Extension Skill | Purpose |123|-------|----------------|---------|124| claim-drafter, patent-reviewer | `claim-drafting-patterns` | Claim drafting patterns, claim scope design strategy |125| prior-art-researcher | `prior-art-search-strategy` | Prior art search strategy, novelty/inventive step analysis framework |