Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add xiao24bei/xiaobei-skill --skill xiaobei-skill-image-to-vbagit clone --depth 1 https://github.com/xiao24bei/xiaobei-skillWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/xiao24bei/xiaobei-skill/xiaobei-skill-image-to-vba)<a href="https://agentmods.dev/skills/xiao24bei/xiaobei-skill/xiaobei-skill-image-to-vba"><img src="https://agentmods.dev/badge/skills/xiao24bei/xiaobei-skill/xiaobei-skill-image-to-vba/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/xiao24bei/xiaobei-skill/xiaobei-skill-image-to-vba"><img src="https://agentmods.dev/badge/skills/xiao24bei/xiaobei-skill/xiaobei-skill-image-to-vba.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Memory Poisoning · line 37 Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.Fix: Protect agent memory and state from modification by untrusted content. Use read-only memory for critical instructions and validate all state changes.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00086 | $0.07203 |
| Opus 5 | $0.00043 | $0.03601 |
| Sonnet 5 | $0.00017 | $0.01441 |
| Haiku 4.5 | $0.00009 | $0.00720 |
Grade A, and why
xiaobei-skill-image-to-vba scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 369 lines — stays where its author put it; the contents beside it link to each section on GitHub.
XiaoBei Image to VBA
小北在读研出品的 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.
Output Language
All analysis, manifest tables, self-check reports, run reports, and conversational responses produced by this skill MUST be written in Simplified Chinese (简体中文). This includes:
- 视觉拆解、元素清单、坐标说明、自检结论、运行报告、给用户的最终回复。
- VBA 代码内的注释也使用中文(例如
' 标题区域背景),便于用户后续维护。
仅以下内容保留英文原样,不要翻译:
- VBA 关键字、API 名、属性名(
Sub、Shapes.AddShape、Fill.ForeColor.RGB等)。 - 形状名前缀
AITVBA_与脚本路径、文件名。 - 颜色十六进制值与
RGB(...)调用本身。
如果用户在对话里明确要求换成英文或其它语言,则按用户指定的语言输出,但 manifest 字段名仍保留英文 key 以便机器解析。
Purpose
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.
What ships with it
14 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 375 B
- assets/.gitkeep 1 B
- assets/image-to-vba.svg 875 B
- references/output-template.md 3.9 KB
- references/reconstruction-checklist.md 5.5 KB
- references/vba-shape-patterns.md 5.2 KB
- requirements.txt 50 B
- scripts/compare_images.py 7.4 KB runs code
- scripts/coordinate_helper.py 3.5 KB runs code
- scripts/crop_preserved_elements.py 6.6 KB runs code
- scripts/detect_office_environment.py 5.0 KB runs code
- scripts/run_powerpoint_vba_macos.py 5.1 KB runs code
- scripts/run_powerpoint_vba_windows.ps1 2.4 KB runs code
- scripts/vba_lint.py 4.9 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 369 lines · 86 tokens per session scan A a81992bdb869
xiaobei-skill-image-to-vba is a skill published in the GitHub repository xiao24bei/xiaobei-skill (346 stars, last pushed 15d ago), licensed Apache-2.0. It adds 86 tokens to every session and 7,203 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
polish-sci-figures
A final review and preparation workflow for scientific figures, including charts, image panels, manuscripts, slides, and posters.
make-sci-data-figures
A workbench for turning raw CSV, TSV, or Excel tables into defensible scientific figures. It chooses charts based on the biological question and data structure rather than assuming one chart type fits every dataset.
standardize-sci-images
Scientific image standardization for microscopy, fluorescence, histology, pathology, and electron-microscopy image batches. Use when the user has raw or derived scientific raster images needing non-destructive processing, locked tone settings, equal dimensions, calibrated scale bars, manifests, montages, or image…
thesis-defense-pptx
Create, polish, and quality-check editable undergraduate or graduate thesis defense PowerPoint decks from a local thesis PDF/LaTeX project and an existing PPTX template. Use when the user asks for a formal defense PPT, thesis presentation, academic答辩PPT, template-matched PPTX, or local PowerPoint deck generation with…
ppt-image-first
A workflow for planning presentations and slide decks through conversation, with visual previews created before the final deck. It covers content, visual direction, page layouts, and review.
ian-handdrawn-ppt
A workflow for creating finished Chinese hand-drawn technical page images from articles, notes, documents, scripts, or rough ideas.