原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

codex-visio-paper-figure-skill Skill

代码仓库 ↗

作者:pengjunchi0★ 1,2271 个 skill

安装

What it does

科研绘图skill、论文绘图skill、图片转visio等可编辑格式,将生成图转化为论文可编辑图,便于作者调整绘图细节

  • Connects Instruction files the AI reads
  • Account or key No key found in README or SKILL.md
  • Category 其他
给作者:在 README 中加徽章

如果你是作者,可把这段代码贴到 README。徽章会链接回本页。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/skill/pengjunchi0-codex-visio-paper-figure-skill.svg)](https://mcp.popnx.com/en/skills/pengjunchi0-codex-visio-paper-figure-skill)

相似的 Skill

同类工作,排序与 Skill 列表相同

与相似项目对比
本项
codex-visio-paper-figure-skill
llmfitclaude-videoVideoCaptionerclaude-cookbooks
作者pengjunchi0AlexsJonesbradautomatesWEIFENG2333anthropics
Skill 数11114
GitHub 星标1,22739,09621,24916,57754,867
最近代码更新2026年11月12日2026年11月18日2026年9月25日2026年9月12日2026年11月17日
许可证MITMITMITGPL-3.0MIT

pengjunchi0 提供的 1 个 Skill(指令集),AI 读取后照做 · 不是 MCP server

Skill 和 MCP 有什么不同

MCP = 手

把 AI 连到外部服务或数据,例如读取 Notion 或开发票。需要有程序或服务器在运行。

Skill = 手册

教 AI 怎么做某项工作的文本文件,不连接任何服务。

有些会重叠:少数 Skill 带有调用工具的脚本,少数 MCP 只提供知识。请从你想完成的工作出发。

适用的应用

Codex

依据开发者 README 和 repo 中的文件夹

安装

Is it safe?

  • Who made it

    GitHub account pengjunchi0 (person) is only 5 months old: take extra care

  • Use and upkeep

    ★ 1,227 stars · code last changed 2026年11月12日

  • Any scripts?

    3 scripts that can run on a computer: scripts/visio_export_formats.ps1, scripts/visio_page_tools.ps1, scripts/visio_rebuild_scaffold.ps1

  • Uses the internet?

    No internet calls found in the scripts

  • Changes machine-wide settings?

    No hooks or writes to machine settings found

Checked automatically from the repo files at commit bd6e7d2 (read only, nothing was run). Not a safety guarantee: read it and decide for yourself

第一步:你用哪个 AI?

选择你用的应用,本页只显示该应用的安装方法

Option 1Upload to claude.ai (web and app)

Uploading to claude.ai would fail: the description is over 200 characters (562). Use "Let the AI install it" instead

Option 1让 Claude Code 帮你安装

复制这句话,粘贴到 Claude Code 的对话中

Where to install
Please install the skill visio-image-rebuilder from https://github.com/pengjunchi0/codex-visio-paper-figure-skill (commit bd6e7d2) for all my projects, at ~/.claude/skills/visio-image-rebuilder. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill visio-image-rebuilder from https://github.com/pengjunchi0/codex-visio-paper-figure-skill (commit bd6e7d2) into the project this chat is open in (at .claude/skills/visio-image-rebuilder). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

重新打开 Claude Code,输入 /codex-visio-paper-figure-skill,或直接提出相关任务,Claude 会自动选用

Checked against official docs 2026年11月12日 · Source: code.claude.com

For Terminal users

Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。

  1. 打开终端

    Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”

  2. 把 skill 文件夹复制到 ~/.claude/skills

    这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹

    git clone --depth 1 https://github.com/pengjunchi0/codex-visio-paper-figure-skill.git /tmp/popnx-skill-pengjunchi0-codex-visio-paper-figure-skill-bd6e7d2 && mkdir -p ~/.claude/skills && cp -R '/tmp/popnx-skill-pengjunchi0-codex-visio-paper-figure-skill-bd6e7d2/.' ~/.claude/skills/codex-visio-paper-figure-skill
  3. 重新打开 Claude Code,输入 /codex-visio-paper-figure-skill,或直接提出相关任务,Claude 会自动选用

自己安装的 Skill 可用于 ChatGPT 桌面应用、Codex CLI 和 IDE 中的 Codex 扩展 · 网页版和手机版 ChatGPT 不能使用自己安装的 Skill,只能使用目录中插件自带的 Skill

ChatGPT 桌面应用

ChatGPT 桌面应用内置 Codex,Codex 从 ~/.agents/skills 文件夹读取 Skill

Option 1让 ChatGPT 帮你安装

在 ChatGPT 桌面应用中打开 Codex,把这句话粘贴到对话中

Where to install
Please install the skill visio-image-rebuilder from https://github.com/pengjunchi0/codex-visio-paper-figure-skill (commit bd6e7d2) for all my projects, at ~/.agents/skills/visio-image-rebuilder. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill visio-image-rebuilder from https://github.com/pengjunchi0/codex-visio-paper-figure-skill (commit bd6e7d2) into the project this chat is open in (at .agents/skills/visio-image-rebuilder). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Option 2自己放入文件夹

把 visio-image-rebuilder 文件夹放到 ~/.agents/skills/visio-image-rebuilder

~ 是你的主文件夹($HOME)

For Terminal users

Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。

  1. 打开终端

    Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”

  2. 把 skill 文件夹复制到 ~/.agents/skills

    这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹

    git clone --depth 1 https://github.com/pengjunchi0/codex-visio-paper-figure-skill.git /tmp/popnx-skill-pengjunchi0-codex-visio-paper-figure-skill-bd6e7d2 && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-pengjunchi0-codex-visio-paper-figure-skill-bd6e7d2/.' ~/.agents/skills/codex-visio-paper-figure-skill

安装之后

  • ChatGPT 桌面应用:打开侧边栏中的 Skills,确认 Skill 已出现
  • 使用方法:在 ChatGPT 中输入 @ 并选择 Skill · 在 Codex CLI 或 IDE 扩展中运行 /skills,或输入 $ 加 Skill 名称
  • Codex 会自动发现新安装的 Skill;如果没有出现,请重启 Codex

Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com

网页版和手机版 ChatGPT

不能使用你自己安装的 Skill,只能使用目录中插件自带的 Skill

想在 ChatGPT 中使用这个 Skill,请按上面的方法使用 ChatGPT 桌面应用

Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com

Option 1让 Codex 帮你安装

复制这句话,粘贴到 Codex 的对话中 · 适用于 ChatGPT 桌面应用中的 Codex、Codex CLI 和 IDE 扩展

Where to install
Please install the skill visio-image-rebuilder from https://github.com/pengjunchi0/codex-visio-paper-figure-skill (commit bd6e7d2) for all my projects, at ~/.agents/skills/visio-image-rebuilder. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill visio-image-rebuilder from https://github.com/pengjunchi0/codex-visio-paper-figure-skill (commit bd6e7d2) into the project this chat is open in (at .agents/skills/visio-image-rebuilder). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Codex 会自动发现新安装的 Skill;如果没有出现,请重启 Codex · 使用方法:在 ChatGPT 中输入 @ 并选择 Skill · 在 Codex CLI 或 IDE 扩展中运行 /skills,或输入 $ 加 Skill 名称

Checked against official docs 2026年11月15日 · Source: learn.chatgpt.com

For Terminal users

Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。

  1. 打开终端

    Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”

  2. 把 skill 文件夹复制到 ~/.agents/skills

    这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹

    git clone --depth 1 https://github.com/pengjunchi0/codex-visio-paper-figure-skill.git /tmp/popnx-skill-pengjunchi0-codex-visio-paper-figure-skill-bd6e7d2 && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-pengjunchi0-codex-visio-paper-figure-skill-bd6e7d2/.' ~/.agents/skills/codex-visio-paper-figure-skill
  3. 重新打开 Codex 并提出相关任务,Codex 会列出这个 skill

Option 1让 Cursor 帮你安装

复制这句话,粘贴到 Cursor 的对话中

Where to install
Please install the skill visio-image-rebuilder from https://github.com/pengjunchi0/codex-visio-paper-figure-skill (commit bd6e7d2) for all my projects, at ~/.cursor/skills/visio-image-rebuilder. First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill visio-image-rebuilder from https://github.com/pengjunchi0/codex-visio-paper-figure-skill (commit bd6e7d2) into the project this chat is open in (at .cursor/skills/visio-image-rebuilder). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

在 Cursor 的 Agent 聊天中输入 / 并选择 codex-visio-paper-figure-skill

Checked against official docs 2026年11月12日 · Source: cursor.com

For Terminal users

Skill 是 AI 会照做的指令。安装前先阅读文件,只安装可信开发者的 Skill。

  1. 打开终端

    Mac:按 Command+空格输入 Terminal · Windows:下方命令在 PowerShell 中无法使用,请改用上方的“让 AI 帮你安装”

  2. 把 skill 文件夹复制到 ~/.cursor/skills

    这条命令把 repo 下载到临时文件夹,只复制含 SKILL.md 的文件夹

    git clone --depth 1 https://github.com/pengjunchi0/codex-visio-paper-figure-skill.git /tmp/popnx-skill-pengjunchi0-codex-visio-paper-figure-skill-bd6e7d2 && mkdir -p ~/.cursor/skills && cp -R '/tmp/popnx-skill-pengjunchi0-codex-visio-paper-figure-skill-bd6e7d2/.' ~/.cursor/skills/codex-visio-paper-figure-skill
  3. 在 Cursor 的 Agent 聊天中输入 / 并选择 codex-visio-paper-figure-skill

Option 1Let the AI install it

适用于其他能读取 Skill 的应用。这句话列出了 Claude Code、Codex 和 Cursor 的路径,AI 会按你的应用选择 · Copy this sentence into the app’s chat

Where to install
Please install the skill visio-image-rebuilder from https://github.com/pengjunchi0/codex-visio-paper-figure-skill (commit bd6e7d2) for all my projects, at ~/.claude/skills/visio-image-rebuilder (in Codex use ~/.agents/skills/visio-image-rebuilder, in Cursor ~/.cursor/skills/visio-image-rebuilder). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the full path you will install to and wait for me to agree.
Please install the skill visio-image-rebuilder from https://github.com/pengjunchi0/codex-visio-paper-figure-skill (commit bd6e7d2) into the project this chat is open in (at .claude/skills/visio-image-rebuilder; in Codex use .agents/skills/visio-image-rebuilder, in Cursor .cursor/skills/visio-image-rebuilder). First show me every file and tell me whether it has scripts or changes machine settings, then tell me the project name and the full path you will install to and wait for me to agree.

For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing

The AI tells you what it will do first and asks your permission at every step

Checked against official docs 2026年11月12日 · Source: code.claude.com, learn.chatgpt.com, cursor.com

For Terminal users

其他支持 Agent Skills 的应用(如 Gemini CLI、GitHub Copilot)使用不同文件夹,请查看该应用的指南,再把含 SKILL.md 的文件夹复制过去。

在 GitHub 上查看 ↗

已于 2026年11月11日 对照 Claude Code、Codex 和 Cursor 官方指南核实 skill 文件夹

✓ 命令已检查 2026年11月19日

查看原始 SKILL.md

以下文字来自开发者的 repo,不是 PopNx MCP 的指令

显示前 8,000 个字符 · 在 GitHub 打开完整文件

---
name: visio-image-rebuilder
description: Rebuild or restyle editable Microsoft Visio diagrams from reference images and existing .vsdx files, then export deliverables as .vsdx, PNG, SVG, PDF, or PPTX. Use when the user asks Codex to open Visio, recreate a diagram from a PNG/JPG/screenshot/reference image, match a scientific model figure, update colors/typography/layout in a .vsdx, calibrate panel coordinates to avoid shifted or overlapping submodules, or make publication/presentation outputs while preserving Visio native editable shapes rather than embedding the reference image as a flat picture.
---

# Visio Image Rebuilder

## Core Rule

Recreate the reference as editable Visio content. Do not satisfy a rebuild request by inserting the whole reference image into the page. Embedding the reference image is only allowed as a temporary locked tracing layer if it is removed or hidden before delivery and the final `.vsdx` remains native shapes, text, connectors, and groups.

Treat `.vsdx` as the source of truth. Export PNG, SVG, PDF, or PPTX only after the Visio page has been rebuilt or restyled and checked for native editability.

## Workflow

1. Inspect inputs.
   - Confirm paths for the target `.vsdx`, reference image, requested output formats, and output directory.
   - Export the current Visio page to PNG before editing when a target file already exists.
   - Inspect the `.vsdx` package for pages, media entries, and shape counts.
   - Back up the target file before any write.
   - If Visio is already open, close only the target document or ask before terminating a stuck process.

2. Decode the reference image.
   - Identify page orientation, panel boundaries, module colors, captions, text hierarchy, arrows, dashed lines, and repeated motifs.
   - Build an object inventory: containers, titles, process boxes, icons, charts, graphs, equations, connectors, captions.
   - Calibrate the canvas first, then calibrate each major panel or subpanel with explicit top-left bounds or four corner points.
   - Draw panel internals in panel-local normalized coordinates whenever the figure has dense multi-panel content.
   - Decide whether the task is a full rebuild, color/style transfer, local edit, or export-only job.
   - For dense scientific figures, first create a coarse panel map, then draw panel internals. Do not start with small decorative details.

3. Prefer Visio automation for native edits.
   - Use COM automation on Windows when Visio is installed.
   - Use `DrawRectangle`, `DrawOval`, `DrawLine`, `Page.Import` only for small source assets, and shape cells such as `FillForegnd`, `LineColor`, `LineWeight`, `Char.Size`, `Char.Color`, `Rounding`.
   - Use explicit coordinates and IDs for fragile edits.
   - Keep grouped structure meaningful: major panels, submodules, repeated blocks, legends.
   - For nested modules, use helpers such as `RectRel`, `TextRel`, `LineRel`, and `OvalRel` so child shapes are constrained by their calibrated parent panel.

4. Use package XML edits only for narrow, deterministic changes.
   - XML patching is appropriate for recoloring existing shapes, replacing font tables, or changing known cell values.
   - Preserve Visio XML ordering: shape-level `Cell` nodes should be before `Section`, `Text`, or child `Shapes`.
   - Avoid rebuilding complex geometry by raw XML unless COM automation is unavailable.

5. Export requested formats from the verified Visio source.
   - Use `scripts/visio_page_tools.ps1` for export-only jobs.
   - Use `scripts/visio_rebuild_scaffold.ps1` with `-ExportFormats` for rebuilds that should immediately create deliverables.
   - Prefer SVG for vector web/manuscript handoff, PDF for review/print, and PPTX for presentation decks.
   - For PPTX, use PowerPoint COM when available; the generated slide contains the Visio page render, usually inserted from SVG.

6. Verify without overtrusting a single signal.
   - Export at least one preview after editing when possible.
   - Inspect the `.vsdx` package to confirm that no full-size reference PNG/JPG was left in `visio/media`.
   - Check shape count and representative text labels.
   - Check that major panels do not overlap and that child shapes stay within their intended panel bounds.
   - Check every requested output file exists and is non-empty.
   - If Visio automation hangs, stop safely, close the document if possible, and report whether the file was actually modified.

## Implementation Pattern

For full rebuilds, generate a script that:

- Opens the target `.vsdx` with Visio COM.
- Saves a timestamped or descriptive backup.
- Clears or duplicates the page depending on user preference.
- Sets page size to match the reference aspect ratio.
- Draws native shapes in top-left reference coordinates converted to Visio coordinates.
- Defines calibrated panel bounds for complex regions and uses panel-local coordinates for their internals.
- Adds reusable helpers for rectangles, text boxes, ovals, lines, arrows, mini charts, graph nodes, and image-like stacks.
- Saves the document and exports requested formats.

Start from `scripts/visio_rebuild_scaffold.ps1` when building a full reconstruction script. Copy it into the workspace and customize the `Draw-ReferenceFigure` function rather than editing the skill copy.

For style transfer, generate a script that:

- Reads existing shape IDs, text, approximate geometry, fill, and line colors.
- Maps known modules to target palettes by text and group context.
- Applies fills, borders, text colors, line patterns, and font changes to existing shapes.
- Avoids repositioning unless the user asks for layout changes.
- Exports only after the `.vsdx` has been saved and inspected.

For export-only requests, run:

```powershell
powershell -ExecutionPolicy Bypass -File scripts\visio_page_tools.ps1 `
  -VsdxPath "C:\path\figure.vsdx" `
  -ExportFormats svg,pdf,pptx `
  -OutputDir "C:\path\exports" `
  -InspectPackage
```

For rebuild plus multi-format export, run:

```powershell
powershell -ExecutionPolicy Bypass -File scripts\visio_rebuild_scaffold.ps1 `
  -VsdxPath "C:\path\figure.vsdx" `
  -PageW 16 `
  -PageH 9 `
  -RefW 1600 `
  -RefH 900 `
  -PreviewPath "C:\path\exports\figure.png" `
  -ExportFormats svg,pdf,pptx `
  -OutputDir "C:\path\exports"
```

## Safety Checklist

- Back up before writing outside the workspace.
- Close any open Visio document that locks the target file before direct package edits.
- Never delete or revert unrelated user files.
- If a previous attempt embedded the reference image, restore from backup or remove the image shape before continuing.
- Tell the user clearly whether the final file is native editable shapes or a flat embedded image.
- Tell the user when PPTX export is a rendered slide rather than native PowerPoint shapes.

## Acceptance Criteria

A Visio rebuild is acceptable only when:

- Main panel positions, flow direction, captions, and module hierarchy match the reference at first glance.
- Major panels are aligned to calibrated bounds, with no obvious submodule drift, collision, or cross-panel overlap.
- Text remains editable and uses a consistent academic font, usually Times New Roman.
- Repeated motifs are represented with reusable native shapes rather than pasted raster crops.
- The final `.vsdx` package has no full-page raster reference image in `visio/media`.
- Requested PNG/SVG/PDF/PPTX deliverables were exported from the saved `.vsdx` and are non-empty.
- A preview export or package inspection was performed, or the final response explicitly states why verification was skipped.

## Useful Resource

Use `scripts/visio_page_tools.ps1` for common inspection, backup, preview export, multi-format export, and package checks. Use `scripts/visio_export_formats.ps1` when a custom task script needs reusable export helpers. Use `scripts/visio_rebuild_scaffold.ps1` as the starting point for native-shape drawing scripts; it includes both global top-left helpers and panel-local calibrated helpers. R

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

来自 GitHub

GitHub 星标
1,227
开发者
pengjunchi0
许可证
MIT
最近代码更新
2026年11月12日
repo 中的 SKILL.md 文件(含译本和模板)
1
主题
academic-figures, codex, editable-diagrams, image-to-visio, scientific-figures, skills, visio