Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By caixinyu2017-starv1.1.0See skill READMEIn 1 marketplace
Visio 图重建 Skill (visio-image-rebuilder) — rebuild or restyle editable Microsoft Visio diagrams from reference images and existing .vsdx files, then export deliverables as .vsdx/PNG/SVG/PDF/PPTX. Recreates paper figures and model diagrams as native shapes/text/connectors instead of embedding a flat image, with panel-calibration helpers to avoid drifted or overlapping submodules. Includes a default Chinese technical-bid flowchart mode (SimSun 12pt, fixed style/page box, VSDX-only batch output) and ships PowerShell/COM automation scaffolds plus CJK-safe Unicode-escape guidance.
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
visio, vsdx, paper-figures, image-rebuild, scientific-figures, flowchart, technical-bid, powershell ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
当前版本:v1.0
Codex 科研论文绘图 Skill 是一个面向科研论文配图工作流的 Codex Skill。它用于把参考图片、截图或生成图还原为 Microsoft Visio .vsdx 原生可编辑图形。核心目标不是把图片贴进 Visio,而是让 Codex 通过 Visio 原生形状、文本、连线、分组和样式重建论文配图、模型框架图、流程图和多面板科学图。
适合:
.vsdx。.vsdx 是否误用了整张参考图嵌入。不适合:
最终交付的 .vsdx 应尽量由以下对象构成:
禁止用整张参考图作为最终页面内容来冒充还原。参考图只能作为临时描摹依据;最终文件中不应留下完整的大尺寸参考 PNG/JPG。
.
├── README.md
├── SKILL.md
├── agents/
│ └── openai.yaml
├── references/
│ └── rebuild-guidelines.md
└── scripts/
├── visio_page_tools.ps1
└── visio_rebuild_scaffold.ps1
文件说明:
SKILL.md:Codex Skill 的主入口,包含触发描述、工作流、验收标准和安全规则。agents/openai.yaml:Codex UI 元数据。references/rebuild-guidelines.md:复杂科学图还原准则,包括面板拆解、绘图顺序、风格参数和验证 rubric。scripts/visio_page_tools.ps1:辅助检查脚本,用于备份、导出预览、检查 .vsdx 包结构。scripts/visio_rebuild_scaffold.ps1:Visio 原生绘图脚手架,用于快速编写一比一重建脚本。将本仓库克隆或复制到 Codex skills 目录。
Windows 示例:
git clone https://github.com/pengjunchi0/codex-visio-paper-figure-skill.git "$env:USERPROFILE\.codex\skills\visio-image-rebuilder"
或手动复制整个目录到:
C:\Users\<你的用户名>\.codex\skills\visio-image-rebuilder
目录中必须保留:
SKILL.md
agents/openai.yaml
references/rebuild-guidelines.md
scripts/*.ps1
安装后重启 Codex 或开启新会话,使 skill 被重新发现。
推荐环境:
说明:
.vsdx 包结构检查或有限 XML 修改,但不适合完整一比一重建。示例请求:
使用 visio-image-rebuilder,根据这张参考图片重建 C:\path\model.vsdx,要求最终是 Visio 原生可编辑形状,不要整图嵌入。
把这个 .vsdx 按参考图更换配色,保持布局不变,最终仍然可编辑。
检查这个 .vsdx 是否只是嵌入了整张 PNG,如果是,请改成原生 Visio 形状重建。
Codex 应先确认:
.vsdx 路径。然后执行:
.vsdx。.vsdx 包结构、页面数量、shape 数量和 visio/media。对参考图做结构化拆解:
优先使用 Visio COM 自动化:
DrawRectangleDrawOvalDrawLinePage.ExportShape.CellsU(...)使用统一坐标系统将参考图像素坐标映射到 Visio 页面英寸坐标。scripts/visio_rebuild_scaffold.ps1 已提供基础函数:
RectTLTextTLOvalTLLineTLDotTLVXVY建议默认论文图风格:
Times New Roman。0.9-1.2 pt。0.5-0.8 pt。完成后应检查:
.vsdx 中是否存在大尺寸整图 PNG/JPG。scripts/visio_page_tools.ps1用途:备份、导出预览、检查 .vsdx 包结构、关闭已打开的目标文档。
示例:
powershell -ExecutionPolicy Bypass -File scripts\visio_page_tools.ps1 `
-VsdxPath "C:\path\model.vsdx" `
-Backup `
-InspectPackage
导出预览:
powershell -ExecutionPolicy Bypass -File scripts\visio_page_tools.ps1 `
-VsdxPath "C:\path\model.vsdx" `
-PreviewPath "C:\path\preview.png" `
-ExportPreview
检查输出示例:
Shape count: 845
Media entries: none
Large or raster media entries: 0
scripts/visio_rebuild_scaffold.ps1用途:创建完整重建脚本的起点。
建议做法:
Draw-ReferenceFigure。.vsdx 是否仍为原生形状。示例:
powershell -ExecutionPolicy Bypass -File scripts\visio_rebuild_scaffold.ps1 `
-VsdxPath "C:\path\model.vsdx" `
-PageW 16 `
-PageH 12 `
-RefW 1448 `
-RefH 1086 `
-PreviewPath "C:\path\preview.png"
对于复杂多面板模型图,不要直接从细节开始画。推荐顺序:
对于复杂多面板图,可以先写出与当前参考图对应的面板清单:
Canvas: wide landscape, two main visual bands.
Top band: input/data source -> repeated processing blocks -> central module -> output/result.
Auxiliary path: constraint/loss/feedback box connected by dashed arrow.
Panel A: first submodule, accent color, main internal operators.
Panel B: second submodule, accent color, graph/table/chart elements.
Panel C: third submodule, accent color, aggregation or attention elements.
Panel D: fourth submodule, accent color, normalization or output elements.
Captions: panel captions and global figure caption.
这个清单应作为绘图脚本的实现计划。
一个合格的 Visio 还原结果应满足:
需要避免:
当前目录结构:
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub caixinyu2017-star/xixi --plugin visio-image-rebuilderPlugins from other owners that cover similar ground