🎯

patent-diagram-generator

🎯Skill

from robthepcguy/claude-patent-creator

VibeIndex|
What it does

patent-diagram-generator skill from robthepcguy/claude-patent-creator

patent-diagram-generator

Installation

pip installInstall Python package
pip install git+https://github.com/RobThePCGuy/Claude-Patent-Creator.git && patent-creator setup
git cloneClone repository
git clone https://github.com/RobThePCGuy/Claude-Patent-Creator.git
PythonRun Python server
python -m venv venv
pip installInstall Python package
pip install -e .
Add MarketplaceAdd marketplace to Claude Code
/plugin marketplace add C:\Users\<YOUR_USER>\Desktop\Projects

+ 2 more commands

πŸ“– Extracted from docs: robthepcguy/claude-patent-creator
5
-
Last UpdatedDec 2, 2025

Skill Details

SKILL.md

Overview

# Claude Patent Creator

[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)

[![Python 3.9+](https://img.shields.io/badge/python-3.9+-blue.svg)](https://www.python.org/downloads/)

[![MCP Server](https://img.shields.io/badge/MCP-FastMCP-purple.svg)](https://github.com/jlowin/fastmcp)

[![PyTorch](https://img.shields.io/badge/PyTorch-2.9+-red.svg)](https://pytorch.org/)

USPTO patent creation and analysis system with dual-mode architecture: MCP server for programmatic access + Claude Code plugin with skills, autonomous agents, and slash commands. Features hybrid RAG search (FAISS+BM25+reranking) over MPEP/USC/CFR, BigQuery access to 76M+ patents, automated compliance checking, prior art search, and diagram generation.

Project Status

This project is a work in progress and is not fully functional.

Contributions, issues, and pull requests are welcome. Feel free to explore, experiment, or build upon the code. No guarantees of stability or completeness are provided.

---

Features

Dual-Mode Architecture

| Mode | Use Case | Components | Access Method |

|------|----------|------------|---------------|

| MCP Server | Programmatic API access | 20 MCP tools | Any MCP client (Claude Code, Claude Desktop, etc.) |

| Claude Code Plugin | Interactive workflows | 15 skills + 10 agents + slash commands + hooks | Claude Code IDE |

Core Capabilities

Search & Retrieval (20 MCP Tools)

  • MPEP/USC/CFR Search - Hybrid RAG (FAISS vector + BM25 lexical + cross-encoder reranking) across 500MB of USPTO regulations
  • Patent Search - BigQuery access to 76M+ worldwide patents with full-text search and CPC classification
  • USPTO API Integration - Real-time patent data retrieval and recent filings
  • Prior Art Discovery - Automated novelty and freedom-to-operate analysis

Automated Analysis

  • Claims Review - 35 USC 112(b) compliance: definiteness, antecedent basis, indefinite terms, claim structure
  • Specification Review - 35 USC 112(a) adequacy: written description, enablement, best mode
  • Formalities Check - MPEP 608 compliance: abstract length, title format, drawings, required sections

Content Generation

  • Diagram Generator - Patent-style technical diagrams using Graphviz (block diagrams, flowcharts, system architectures)
  • Patent Creation - Guided workflow for drafting complete USPTO-ready applications

Claude Code Plugin Features

  • 15 Skills - Specialized expertise modules (setup, development, index management, troubleshooting, testing, patent review, search, diagrams, prior art)
  • 10 Autonomous Agents - Long-running workflows (patent-creator, prior-art-searcher, mpep-expert, patent-drafter, etc.)
  • Slash Commands - Quick-access workflows (/create-patent, /search-prior-art, /review-claims, /full-review, etc.)
  • Hooks System - Custom event-driven automation

---

Technology Stack

```

Architecture:

FastMCP (MCP Server Framework)

+-- 20 MCP Tools (search, analysis, generation)

+-- Claude Code Plugin (skills, agents, commands, hooks)

RAG Pipeline:

FAISS Vector Search (BGE-base-en-v1.5, 768-dim embeddings)

+ BM25 Lexical Search (rank-bm25)

+ Cross-Encoder Reranking (MS-MARCO MiniLM-L-6-v2)

+ HyDE Query Expansion (optional, API-based)

Data Sources:

- MPEP (Manual of Patent Examining Procedure)

- 35 USC (Patent Statutes)

- 37 CFR (Patent Regulations)

- Subsequent Publications (USPTO updates)

- BigQuery patents-public-data (76M+ patents)

ML Stack:

PyTorch 2.9+ (CUDA 12.8 for GPU acceleration)

Sentence Transformers 5.1+

HuggingFace Transformers 4.57+

FAISS 1.12+ (CPU/GPU)

Validation & Monitoring:

Pydantic v2 (type safety + input validation)

Structured logging (JSON/human formats)

Performance tracking (@track_performance)

Health check system

```

---

Installation

Option 1: One-Line Install (Recommended)

```bash

# Installs package, detects GPU, downloads MPEP, builds index, regi