Analysis updated 2026-05-18
Turn a screenshot of a research diagram into editable Office shapes instead of a static picture.
Rebuild slide figures with editable text, arrows, and tables for reuse in your own PowerPoint file.
Verify how closely the generated VBA matches the original image using the render-verify step.
Automate PowerPoint macro execution on macOS or Windows through the included scripts.
| xiao24bei/xiaobei-skill-image-to-vba | autolearnmem/automem | billy-ellis/exr-imageio-poc | |
|---|---|---|---|
| Stars | 32 | 32 | 32 |
| Language | Python | Python | Python |
| Setup difficulty | moderate | hard | moderate |
| Complexity | 3/5 | 5/5 | 3/5 |
| Audience | researcher | researcher | researcher |
Figures from each repo's GitHub metadata at analysis time.
Needs Microsoft Office installed locally to run the render-verify accuracy check, WPS may require manual macro steps.
XiaoBei Skill: Image to VBA is an add-on skill for AI coding agents, specifically designed for the OpenAI Codex workflow. Its purpose is to convert a screenshot or photograph of an academic figure, research diagram, or slide into editable Office objects in PowerPoint, Excel, or Word, rather than embedding the original image as a static picture. The approach prioritizes rebuilding visible structure as editable shapes. Text labels, arrows, boxes, tables, chart legends, and coordinate axes are reconstructed as Office Shapes and VBA macro code that recreates them programmatically. Regions that do not translate well into discrete shapes, such as microscope images, complex 3D renders, or logos, are cropped from the source and kept as small raster inserts, with a note in the output identifying them as such. The skill follows a manifest-driven process: it first lists all detected elements and builds a coordinate model before generating any code. This reduces the chance of missing elements or misaligning arrows. A render-verify step is available when Office is installed locally: the skill runs the generated VBA, exports a screenshot, and compares it to the original to measure reconstruction accuracy. Python utility scripts are included for detecting the local Office environment, converting pixel coordinates to the Office shape coordinate system, checking VBA code for common errors before running it, and comparing source and rendered images side by side. Separate scripts handle automating PowerPoint on macOS via AppleScript and on Windows via COM. The README notes that WPS, a common alternative to Microsoft Office, may not run macros automatically, and manual steps are provided for that case. The repository is released under the Apache 2.0 license. It is not affiliated with Microsoft, WPS, or OpenAI.
An AI coding agent skill that converts screenshots of academic figures into editable PowerPoint, Excel, or Word objects.
Mainly Python. The stack also includes Python, VBA, AppleScript.
Use freely for any purpose, including commercial use, as long as you keep the copyright notice and state changes.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly researcher.
This repo across BitVibe Labs
Verify against the repo before relying on details.