Token导航 LogoToken导航TokenDH.com
前端设计只读github未标认证来源可访问clear审计提醒

patent-diagram-generator专利图生成器

Agent Skill

patent-diagram-generator 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,452

周安装

141

GitHub Stars

96

下载量

1,105
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:patent-diagram-generator(专利图生成器)
来源仓库:https://github.com/robthepcguy/claude-patent-creator
仓库路径:skills/patent-diagram-generator
安装命令:
npx skills add https://github.com/robthepcguy/claude-patent-creator --skill patent-diagram-generator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/robthepcguy/claude-patent-creator --skill patent-diagram-generator

简介

用于处理 GitHub 仓库、Issue 和 Pull Request 信息。

  • 适合围绕代码变更或协作事项进行整理分析。
  • 通过 GitHub 安装,适用于多种 AI 宿主平台。
  • 使用前需确认仓库访问权限和操作边界。patent-diagram-generator 属于前端设计类 Skill,可作为该场景下的辅助能力补充。
  • 注意维护状态及是否涉及敏感代码或数据。

SKILL.md

Patent Diagram Generator Skill

Create patent-style technical diagrams including flowcharts, block diagrams, and system architectures using Graphviz.

When to Use

Invoke this skill when users ask to:

  • Create flowcharts for method claims
  • Generate block diagrams for system claims
  • Draw system architecture diagrams
  • Create technical illustrations for patents
  • Add reference numbers to diagrams
  • Generate patent figures

What This Skill Does

  1. Flowchart Generation:

- Method step flowcharts - Decision trees - Process flows with branches - Patent-style step numbering

  1. Block Diagram Creation:

- System component diagrams - Hardware architecture diagrams - Software module diagrams - Component interconnections

  1. Custom Diagram Rendering:

- Render Graphviz DOT code - Support multiple formats (SVG, PNG, PDF) - Multiple layout engines (dot, neato, fdp, circo, twopi)

  1. Patent-Style Formatting:

- Add reference numbers (10, 20, 30, etc.) - Use clear labels and connections - Professional formatting for USPTO filing

Required Dependencies

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

How to Use

When this skill is invoked:

  1. Load diagram generator: import sys sys.path.insert(0, os.path.join(os.environ.get('CLAUDE_PLUGIN_ROOT', '.'), 'python')) from python.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)

Diagram Templates

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

Shape Types

Flowchart Shapes

  • ellipse: Start/End points
  • box: Process steps
  • diamond: Decision points
  • parallelogram: Input/Output operations
  • cylinder: Database/Storage

Block Diagram Types

  • input: Input devices/sensors
  • output: Output devices/displays
  • process: Processing units
  • storage: Memory/storage
  • decision: Control logic
  • default: General components

Layout Engines

  • dot: Hierarchical (top-down/left-right)
  • neato: Spring model layout
  • fdp: Force-directed layout
  • circo: Circular layout
  • twopi: Radial layout

Output Formats

  • svg: Scalable Vector Graphics (best for editing)
  • png: Raster image (good for viewing)
  • pdf: Portable Document Format (USPTO compatible)

Patent-Style Reference Numbers

Convention:

  • Main components: 10, 20, 30, 40,...
  • Sub-components: 12, 14, 16 (under 10)
  • Elements: 22, 24, 26 (under 20)

Example labeling:

"Input Sensor (10)"
"  - Detector Element (12)"
"  - Signal Processor (14)"
"Central Unit (20)"
"  - CPU Core (22)"
"  - Cache (24)"

Presentation Format

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): Reference Numbers: - Input Module (10) - Processing Unit (20) - Output Interface (30)

Common Use Cases

  1. Method Claims → Flowcharts

- Show sequential steps - Include decision branches - Number steps (S1, S2, S3...)

  1. System Claims → Block Diagrams

- Show components and connections - Use reference numbers - Indicate data flow directions

  1. Architecture Diagrams → Custom DOT

- Complex system layouts - Multiple interconnections - Hierarchical structures

Error Handling

If Graphviz is not installed:

  1. Check installation: dot -V
  2. Install for your OS (see above)
  3. Verify Python package: pip show graphviz
  4. Test generation: python scripts/test_diagrams.py

Tools Available

  • Bash: To run Python diagram generation
  • Write: To save DOT code or diagrams
  • Read: To load existing diagrams or templates

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

28.39%
按下载量换算314

OpenCode

21.67%
按下载量换算239

windsurf

17.67%
按下载量换算195

trae

10.86%
按下载量换算120

droid

6.93%
按下载量换算77

Codex

3.34%
按下载量换算37

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills