Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
mindmorass avatar

Image To Diagram

  • 32 installs
  • 2 repo stars
  • Updated February 12, 2026
  • mindmorass/reflex

Helps with ai & agent building tasks.

About

image-to-diagram is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

  • image-to-diagram
  • AI & Agent Building
  • AI-coding skill

Image To Diagram by the numbers

  • 32 all-time installs (skills.sh)
  • +1 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #9,101 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/mindmorass/reflex --skill image-to-diagram

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs32
repo stars2
Last updatedFebruary 12, 2026
Repositorymindmorass/reflex

What it does

Helps with ai & agent building tasks.

Files

SKILL.mdMarkdownGitHub ↗

Image to Diagram Conversion

Convert visual diagrams into editable, version-controllable code.

Workflow

Image → Claude Vision → Mermaid/DOT code → Save → Optionally ingest to Qdrant

Supported Input

TypeQuality
Screenshots of diagramsExcellent
Architecture tool exportsExcellent
Clean whiteboard photosGood
Hand-drawn diagramsModerate (clear boxes/arrows help)
Low-contrast/blurry imagesPoor

Output Formats

Mermaid (default)

  • Flowcharts, sequence diagrams, class diagrams, ER diagrams
  • Renders in GitHub, GitLab, Notion, VS Code
  • File extension: .mmd or .mermaid

DOT/Graphviz

  • More layout control
  • Better for complex graphs
  • File extension: .dot or .gv

Conversion Process

1. Analyze the Image

Read the image and identify:

  • Overall structure (hierarchy, flow, network)
  • Components/nodes and their labels
  • Relationships/connections between components
  • Groupings/subgraphs
  • Color coding (convert to styles)

2. Choose Diagram Type

Visual PatternMermaid Type
Boxes with arrows (flow)flowchart TD/LR
Sequence of interactionssequenceDiagram
Classes with relationshipsclassDiagram
Database tableserDiagram
States and transitionsstateDiagram-v2
Timeline/phasesgantt or timeline
Hierarchical groupsflowchart with subgraph

3. Generate Code

Flowchart template:

%% Description of the diagram
%% Source: converted from image

flowchart TD
    subgraph GroupName["Group Label"]
        A[Component A]
        B[Component B]
    end

    A --> B
    B --> C[External]

    %% Styling
    style A fill:#color,stroke:#border,color:#text

Sequence diagram template:

sequenceDiagram
    participant A as Service A
    participant B as Service B

    A->>B: Request
    B-->>A: Response

4. Apply Styling

Map visual colors to Mermaid styles:

%% Color mapping
style NodeName fill:#hexcolor,stroke:#bordercolor,color:#textcolor

%% Common colors
%% Blue: fill:#2563eb,stroke:#3b82f6,color:#fff
%% Green: fill:#059669,stroke:#10b981,color:#fff
%% Red: fill:#dc2626,stroke:#ef4444,color:#fff
%% Orange: fill:#d97706,stroke:#f59e0b,color:#fff
%% Purple: fill:#7c3aed,stroke:#8b5cf6,color:#fff

5. Save and Optionally Ingest

# Save to file
# Write to ~/Desktop/diagram-name.mmd

# Ingest to Qdrant for pattern reuse
/reflex:ingest ~/Desktop/diagram-name.mmd --collection personal_memories

Tips for Best Results

1. Describe intent: "Convert this to Mermaid, it shows a microservices architecture" 2. Specify format: "Use flowchart with subgraphs" or "Make it a sequence diagram" 3. Request styling: "Match the colors from the image" or "Use default styling" 4. Iterate: "Add more detail to the auth flow" or "Simplify the database section"

Example Prompts

"Convert this whiteboard photo to Mermaid"

"Turn this architecture diagram into a flowchart with subgraphs"

"Create a sequence diagram from this interaction flow screenshot"

"Convert to Mermaid, save as microservices-arch.mmd, and ingest to Qdrant"

After Conversion

The diagram can be:

  • Committed to version control
  • Rendered in documentation (GitHub, GitLab, Notion)
  • Ingested to Qdrant for semantic search and pattern reuse
  • Edited and refined as text
  • Used as a template for similar architectures

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.