xiaobei-skill-academic…
Use for 小北在读研 / XiaoBei academic paper-to-PPT workflows: generate thesis-defense or project-report decks from uploaded papers,…
Use when users want XiaoBei skill / xiaobei-skill / 小北在读研 style academic image-to-VBA reconstruction: convert academic figures, scientific diagrams, slides, screenshots, or other images into VBA, Office drawing code, PowerPoint/Excel/Word shapes, editable shape reconstruction,
Claude Code
$ npx -y skills add xiao24bei/xiaobei-skill --skill xiaobei-skill-image-to-vba --agent claude-code
Codex
$ npx skills add xiao24bei/xiaobei-skill --skill xiaobei-skill-image-to-vba -a codex -y
Cursor
$ npx skills add xiao24bei/xiaobei-skill --skill xiaobei-skill-image-to-vba -a cursor -y
Gemini CLI
$ npx skills add xiao24bei/xiaobei-skill --skill xiaobei-skill-image-to-vba -a gemini-cli -y
GitHub Copilot
$ npx skills add xiao24bei/xiaobei-skill --skill xiaobei-skill-image-to-vba -a github-copilot -y
OpenCode
$ npx skills add xiao24bei/xiaobei-skill --skill xiaobei-skill-image-to-vba -a opencode -y
Windsurf
$ npx skills add xiao24bei/xiaobei-skill --skill xiaobei-skill-image-to-vba -a windsurf -y
name: xiaobei-skill-image-to-vba description: "Use when users want XiaoBei skill / xiaobei-skill / 小北在读研 style academic image-to-VBA reconstruction: convert academic figures, scientific diagrams, slides, screenshots, or other images into VBA, Office drawing code, PowerPoint/Excel/Word shapes, editable shape reconstruction, 1:1 recreation, pixel-like approximation, or hybrid editable Office shape reconstruction."
小北在读研出品的 academic image-to-vba reconstruction skill. The workflow focuses on editable Office Shapes first, with carefully labeled raster crops only when complex scientific artwork should be preserved.
All analysis, manifest tables, self-check reports, run reports, and conversational responses produced by this skill MUST be written in Simplified Chinese (简体中文). This includes:
仅以下内容保留英文原样,不要翻译:
如果用户在对话里明确要求换成英文或其它语言,则按用户指定的语言输出,但 manifest 字段名仍保留英文 key 以便机器解析。
Convert a reference image into a complete, runnable Office VBA macro that reconstructs the visual using editable Shapes, TextBoxes, Lines, Freeforms, fills, gradients, transparency, shadows, and ZOrder. When the image contains complex, distinctive graphic elements that would become noisy or low-value if rebuilt as hundreds of shapes, preserve those elements as cropped local image assets and reconstruct the surrounding structure with editable VBA Shapes. The core loop is: image -> environment detection -> visual decomposition -> editable-vs-preserved element plan -> Office coordinate model -> VBA Shapes code and cropped assets -> run or prepare the macro in the available presentation app -> self-check -> iterative correction.
Prefer editable Office Shapes for structure, labels, arrows, boxes, chart scaffolds, and readable text. Preserve complex graphic elements only as local cropped assets when that improves fidelity and keeps the VBA maintainable. Do not embed the full source image as a shortcut unless the user explicitly permits it or chooses the background-image-assisted option for complex photos. A PNG/JPEG/PDF preview is never the final deliverable for this skill; it is only allowed as a diagnostic screenshot after an editable Office reconstruction has been produced or attempted.
When the user provides an image and asks for reconstruction, the default target is a presentation deck unless another Office host is explicit. Prefer Microsoft PowerPoint automation when available, but support WPS users and no-local-office users with a truthful fallback path. The agent must produce:
Do not satisfy an image-to-VBA request by generating only a PNG image, raster preview, static screenshot, or visual mockup. If a preview image is useful, create it only in addition to the editable VBA/PPT deliverables.
Use hybrid preservation when any of the hard triggers below fire. Do not rely on subjective judgment about whether the result "looks cluttered" — model self-assessment is biased toward editable reconstruction, which causes complex artwork to be redrawn poorly. The goal is to preserve high-complexity artwork while keeping the diagram's editable structure editable.
Hard preservation triggers (hit any one → the element MUST be preserved as a raster crop):
If none of the triggers fire, treat the element as editable. If a trigger fires but the user demanded "all editable", explain the fidelity tradeoff first and get permission before redrawing.
Classify every visible element into one of three buckets:
Hybrid rules:
大家好,我是小北在读研,研二在读,电子信息专业。目前主要做 AI + 科研、Agent 赋能科研工作流 相关内容。全网10w➕粉丝,感兴趣的朋友也可以关注一下我的抖音:小北在读研 长期分享科研工具、论文阅读、学术绘图、科研 Agent、AI 自动化和研究生提效方法。除了这个开源 skill,我还在维护个人学术网站 xiaobeiai.top 和科研 API 中转站 beiapi.cn。
Use for 小北在读研 / XiaoBei academic paper-to-PPT workflows: generate thesis-defense or project-report decks from uploaded papers,…
Use when a user wants Codex to directly operate PowerPoint and reconstruct an entire reference image as editable PowerPoint…
End-to-end presentation workflow usable in Codex and Claude Code. Routes the user request to the HTML-mode or image-native-mode…
Build presentation plans for PPT / slides / decks through a conversation-first workflow, then propose multiple visual directions…
Self-contained multi-platform internet search and read skill. Zero external dependencies — calls upstream tools (curl+Jina, gh,…