bigquery-patent-search
Fast, cloud-based patent searching across 100 million+ worldwide patents using Google BigQuery - keyword search, CPC…
Create patent-style technical diagrams including flowcharts, block diagrams, and system architectures using Graphviz with reference numbering
$ npx -y skills add RobThePCGuy/Claude-Patent-Creator --skill patent-diagram-generator --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/patent-diagram-generatorContext preview
The summary Claude sees to decide when to auto-load this skill.
Create patent-style technical diagrams including flowcharts, block diagrams, and system architectures using Graphviz with reference numbering
name: patent-diagram-generator description: Create patent-style technical diagrams including flowcharts, block diagrams, and system architectures using Graphviz with reference numbering tools: Bash, Read, Write model: sonnet
Create patent-style technical diagrams including flowcharts, block diagrams, and system architectures using Graphviz.
Invoke this skill when users ask to:
1. **Flowchart Generation**:
2. **Block Diagram Creation**:
3. **Custom Diagram Rendering**:
4. **Patent-Style Formatting**:
This skill requires Graphviz to be installed:
**Windows**:
choco install graphviz
**Linux**:
sudo apt install graphviz
**Mac**:
brew install graphviz
**Python Package**:
pip install graphviz
When this skill is invoked:
1. **Load diagram generator**:
import os
import sys
sys.path.insert(0, os.environ.get('CLAUDE_PLUGIN_ROOT', '.'))
from mcp_server.diagram_generator import PatentDiagramGenerator
generator = PatentDiagramGenerator()2. **Create flowchart** from steps:
steps = [
{"id": "start", "label": "Start", "shape": "ellipse", "next": ["step1"]},
{"id": "step1", "label": "Initialize System", "shape": "box", "next": ["decision"]},
{"id": "decision", "label": "Is Valid?", "shape": "diamond", "next": ["step2", "error"]},
{"id": "step2", "label": "Process Data", "shape": "box", "next": ["end"]},
{"id": "error", "label": "Handle Error", "shape": "box", "next": ["end"]},
{"id": "end", "label": "End", "shape": "ellipse", "next": []}
]
diagram_path = generator.create_flowchart(
steps=steps,
filename="method_flowchart",
output_format="svg"
)3. **Create block diagram**:
blocks = [
{"id": "input", "label": "Input\\nSensor", "type": "input"},
{"id": "cpu", "label": "Central\\nProcessor", "type": "process"},
{"id": "memory", "label": "Memory\\nStorage", "type": "storage"},
{"id": "output", "label": "Output\\nDisplay", "type": "output"}
]
connections = [
["input", "cpu", "raw data"],
["cpu", "memory", "store"],
["memory", "cpu", "retrieve"],
["cpu", "output", "processed data"]
]
diagram_path = generator.create_block_diagram(
blocks=blocks,
connections=connections,
filename="system_diagram",
output_format="svg"
)4. **Render custom DOT code**:
dot_code = """
digraph PatentSystem {
rankdir=LR;
node [shape=box, style=rounded];
Input [label="User Input\\n(10)"];
Processor [label="Processing Unit\\n(20)"];
Output [label="Display\\n(30)"];
Input -> Processor [label="data"];
Processor -> Output [label="result"];
}
"""
diagram_path = generator.render_dot_diagram(
dot_code=dot_code,
filename="custom_diagram",
output_format="svg",
engine="dot"
)5. **Add reference numbers**:
# After creating a diagram, add patent-style reference numbers
reference_map = {
"Input Sensor": 10,
"Central Processor": 20,
"Memory Storage": 30,
"Output Display": 40
}
annotated_path = generator.add_reference_numbers(
svg_path=diagram_path,
reference_map=reference_map
)Get common templates:
templates = generator.get_diagram_templates() # Available templates: # - simple_flowchart: Basic process flow # - system_block: System architecture # - method_steps: Sequential method # - component_hierarchy: Hierarchical structure
Convention:
Example labeling:
"Input Sensor (10)" " - Detector Element (12)" " - Signal Processor (14)" "Central Unit (20)" " - CPU Core (22)" " - Cache (24)"
When creating diagrams:
1. **Describe what will be generated**: "Creating a flowchart for the authentication method with 5 steps..."
2. **Generate the diagram**: Run Python code to create SVG/PNG/PDF
3. **Show file location**: "Diagram created: ${CLAUDE_PLUGIN_ROOT}/python\diagrams\method_flowchart.svg"
4. **List reference numbers** (if added):
An AI-powered patent creation and analysis system for Claude Code. I built this because I needed to file a patent myself. I used AI to build the system, used the system to file the patent, and it worked. Now it's open source so anyone can use it.
Fast, cloud-based patent searching across 100 million+ worldwide patents using Google BigQuery - keyword search, CPC…
Guides through adding new features, MCP tools, analyzers, and extending the patent creator system.
RAG search across EPC provisions, EPO Guidelines for Examination, and PCT rules for European and international patent law research
Automated analysis of patent applications for EPO compliance with Art. 84 EPC (claims clarity/support), Art. 83 EPC (sufficiency…
Search European patents using EPO OPS API (full-text, legal status, families) and BigQuery (100M+ patents, EP filter) for prior…
Manages MPEP index lifecycle including downloads, building, maintenance, and optimization.