gitwtfhub

wtf is codex-visio-replica-workflow?

uigiuf/codex-visio-replica-workflow — explained in plain English

Analysis updated 2026-05-18

47PowerShellAudience · developerComplexity · 3/5Setup · moderate

TL;DR

A Codex skill that turns a photo or screenshot of a diagram into an editable Microsoft Visio file using PowerShell automation.

Mindmap

mindmap
  root((repo))
    What it does
      Image to Visio diagram
      JSON layout plan
      Visio COM automation
    Tech stack
      PowerShell
      Codex
      Visio COM
    Use cases
      Recreate diagrams
      Flowcharts
      Architecture diagrams
    Audience
      Developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Convert a screenshot or whiteboard photo of a diagram into an editable Visio file

REASON 2

Recreate an architecture diagram or flowchart programmatically instead of redrawing it by hand

REASON 3

Check your environment is set up correctly before running the conversion

What's in the stack?

PowerShellCodexVisio COM

How it stacks up

uigiuf/codex-visio-replica-workflowzaxardery8011-design/soplintwpeace-hch/wpegpt-analyzer
Stars473936
LanguagePowerShellPowerShellPowerShell
Setup difficultymoderatemoderatehard
Complexity3/53/54/5
Audiencedeveloperdeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 30min

Windows-only, requires an existing Microsoft Visio installation.

License is not stated in the available content.

Wtf does this do

This is a skill for Codex, an AI coding assistant from OpenAI, that takes a reference image of a diagram and recreates it as an editable Microsoft Visio file. The kinds of diagrams it handles include screenshots, whiteboard photos, architecture diagrams, flowcharts, and business process diagrams. The output is a .vsdx file, which is Visio's standard format and can be opened and modified in Microsoft Visio like any diagram you built by hand. The workflow works by having Codex analyze the reference image and produce a structured JSON plan describing the shapes, connections, labels, and layout. A PowerShell script then reads that plan and uses Visio's built-in automation interface to assemble the diagram programmatically. A second script checks whether Visio is installed and the environment is set up correctly before you begin. Installation means copying the skill folder into Codex's skills directory on your machine, then restarting Codex. The skill is designed for Windows only because it depends on PowerShell and Visio's COM automation layer, which are Windows-specific. No Visio license is included, you need an existing Visio installation. The README is brief and does not cover what diagram complexity the skill handles well or what its limitations are.

Yoink these prompts

Prompt 1
Use this skill to turn this whiteboard photo into an editable .vsdx Visio file.
Prompt 2
Convert this architecture diagram screenshot into a Visio diagram I can edit.
Prompt 3
Check whether my Windows machine has Visio set up correctly for this skill.

Frequently asked questions

wtf is codex-visio-replica-workflow?

A Codex skill that turns a photo or screenshot of a diagram into an editable Microsoft Visio file using PowerShell automation.

What language is codex-visio-replica-workflow written in?

Mainly PowerShell. The stack also includes PowerShell, Codex, Visio COM.

What license does codex-visio-replica-workflow use?

License is not stated in the available content.

How hard is codex-visio-replica-workflow to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is codex-visio-replica-workflow for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.