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 DSY-Xueai/image2editable --skill image-to-pptgit clone --depth 1 https://github.com/DSY-Xueai/image2editableWrote 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/dsy-xueai/image2editable/image-to-ppt)<a href="https://agentmods.dev/skills/dsy-xueai/image2editable/image-to-ppt"><img src="https://agentmods.dev/badge/skills/dsy-xueai/image2editable/image-to-ppt/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/dsy-xueai/image2editable/image-to-ppt"><img src="https://agentmods.dev/badge/skills/dsy-xueai/image2editable/image-to-ppt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00094 | $0.04787 |
| Opus 5.5 | $0.00038 | $0.01915 |
| Sonnet 5.5 | $0.00019 | $0.00957 |
| Haiku 4.5 | $0.00009 | $0.00479 |
Grade A, and why
image-to-ppt 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 1mo 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 — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Image to PPT
把输入图片重建为分层可编辑 PPTX。质量未达标时,根据具体缺陷继续修复并重新验证;不得将整页 flatten 为单张图片,也不得将仅能打开的文件当作合格成品。
全部文字(包括艺术字)必须为可编辑文字,保留原有曲线、描边和多色。文字截图、转曲轮廓、透明文字叠在原字图上均不满足该要求。复用已验证的 OCR 和组件资产,只对存在缺陷的区域继续处理;渲染与编辑验收未通过时,不宣称转换完成。
清理描边文字时同时检查内部浅色填充及外侧阴影;只清除轮廓不代表文字已移除。重建范围须覆盖实际文字清理边缘,不能仅依据原 OCR 框。修复背景中的条纹、残色和字影仍属于未通过状态。
环境
-
转换前必须阅读并执行 自动环境准备,完整仓库和仅安装 Skill 在 Windows、macOS、Linux 都自动准备缺失的 Python、Git、项目 Runtime、依赖、OCR、模型和所需渲染器。不得为依赖或模型安装向用户询问确认;遵循宿主实际审批与权限限制。
-
Windows 新安装优先 D 盘,再选其他非 C 本地磁盘,仅在不存在其他本地磁盘时使用 C 盘;macOS/Linux 优先其他已挂载的本地磁盘,否则使用用户目录。使用
scripts/skill_environment.py统一环境、模型、OCR、下载缓存与临时目录;复用已有可用环境和已验证模型。 -
使用 Python 3.10–3.12。仅有 Skill 时自动安装项目 Runtime,默认使用下文 Runtime Host Agent 流程处理图片、PDF 和 PPTX;不再要求使用者预先配置模型路径。
-
模型准备使用
image2editable models install runtime --yes,随后执行image2editable doctor。LaMa 由本地 TorchScript adapter 调用,依赖torch>=2.5.1,<3;SAM/LaMa/DINO 从已校验的 runtime receipt 解析。 -
原生 PDF 先复用 PowerPoint 或 LibreOffice,缺少时按自动准备流程安装;Windows PowerPoint 需要
image2editable[render-qa]。实际渲染校验通过后才能交付。 -
优先使用当前平台已正确安装的硬件加速环境;产品环境须通过
doctor,所有环境须通过下列设备预检。不要仅为 WSL 建议离开已经可用的环境:python -c "import sys, torch; print({'platform': sys.platform, 'cuda': torch.cuda.is_available(), 'rocm': torch.version.hip})" -
Windows/Linux 沿用 PyTorch 的设备接口:PyTorch 报告 CUDA 可用时使用 CUDA,ROCm 环境使用 PyTorch 提供的兼容设备接口。
-
macOS 保持当前受支持的设备选择;在完成真实 Apple Silicon 回归前,不把 MPS 自动设为新默认。
-
CPU 仍运行完整模型和相同质量门禁,包括 SAM 2.1 large,不替换为轻量分割模型,但推理会显著较慢。
推理不会下载模型或回退 Hugging Face cache。准备阶段自动安装并验证 runtime 模型。已有 SAM2_MODEL、LAMA_MODEL 和 GROUNDING_DINO_MODEL 绝对路径可复用:前两者校验固定文件身份,DINO 目录视为操作者显式信任的 override。源码和权重不存放在此 skill 中。大/深遮罩需要 LaMa;依赖缺失或初始化失败时明确失败,不降级到容易产生条带拖影的 OpenCV 修复。
图片兼容命令行
以下接口仅处理图片;自动准备环境后默认使用下文 Runtime 流程,PDF/PPTX 必须使用 Runtime。
从 skill 根目录执行 module,不要直接运行 scripts/image_to_ppt.py:
cd skills/image-to-ppt
python -m scripts.image_to_ppt input.png
python -m scripts.image_to_ppt input.png --slide-size original
python -m scripts.image_to_ppt input.png --slide-size 16:9
python -m scripts.image_to_ppt input.png --slide-size both
python -m scripts.image_to_ppt img1.png img2.png -o slides.pptx --slide-size both
python -m scripts.image_to_ppt input.png --lang en --reference
What ships with it
33 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.
- references/requirements.txt 1.8 KB
- references/setup.md 8.5 KB
- scripts/__init__.py 44 B runs code
- scripts/art_text.py 11 KB runs code
- scripts/bg_model.py 42 KB runs code
- scripts/component_contracts.py 42 KB runs code
- scripts/component_quality.py 53 KB runs code
- scripts/component_underlay.py 25 KB runs code
- scripts/fetch_skill_source.py 3.6 KB runs code
- scripts/fg_extract.py 47 KB runs code
- scripts/font_match.py 10 KB runs code
- scripts/image_to_ppt.py 225 KB runs code
- scripts/initial_diagnostics.py 3.0 KB runs code
- scripts/lama_inpaint.py 7.5 KB runs code
- scripts/lama_worker.py 808 B runs code
- scripts/object_detect.py 11 KB runs code
- scripts/object_worker.py 1.7 KB runs code
- scripts/ocr_worker.py 19 KB runs code
- scripts/page_routing.py 6.8 KB runs code
- scripts/performance_trace.py 5.6 KB runs code
- scripts/ppt_assemble.py 37 KB runs code
- scripts/runtime_model_paths.py 5.4 KB runs code
- scripts/sam_worker.py 76 KB runs code
- scripts/skill_environment.py 5.3 KB runs code
- scripts/text_context.py 11 KB runs code
- scripts/text_detect.py 53 KB runs code
- scripts/text_runs.py 3.9 KB runs code
- scripts/verify_skill_runtime.py 2.9 KB runs code
- scripts/visual_compare_qa.py 3.6 KB runs code
- scripts/visual_segment.py 88 KB runs code
- scripts/visual_worker.py 14 KB runs code
- scripts/worker_pool.py 17 KB runs code
- scripts/worker_resources.py 3.1 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.
- 1mo ago Changed · -3 lines e9f563503a33
- 1mo ago Changed · -5 lines · -4 tokens per session 369b28a6620c
- 2mo ago First seen · 169 lines · 98 tokens per session scan A c19205f0a2b9
image-to-ppt is a skill published in the GitHub repository DSY-Xueai/image2editable (61 stars, last pushed 26d ago), licensed MIT. It adds 94 tokens to every session and 4,787 once invoked, about $0.0004 per session on Opus 5.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
agency-docs-updater
End-to-end pipeline for publishing Claude Code lab meetings. Accepts optional args: date (YYYYMMDD, "yesterday", "today") and lab number (e.g. "04"). Examples: "yesterday 04", "20260420 05", "04" (today, lab 04), "" (today, auto-detect lab).
tufte-report
Create Tufte-inspired data reports and infographic dashboards as standalone HTML files. Uses EB Garamond for text, Monaspace Argon for numbers, Chart.js for interactive charts, and inline SVG sparklines. Produces publication-quality reports with 2-column narrative+data layouts, status dashboards, scroll animations…
gws
This skill should be used when interacting with Google Workspace services via the gws CLI — Gmail (search, triage, send, labels, filters, drafts), Calendar (agenda, events, Meet conferencing), Drive (upload, list, share, download), Sheets (read, append), Docs, Tasks, Chat (send), People/Contacts, and cross-service…
coaching-session-summarizer
This skill should be used to summarize coaching or therapy session transcripts after a Fathom/Granola sync. The agent analyzes the transcript itself (no API key, runs on the subscription) and appends key insights, decisions, action items, and trail connections. Supports quick extraction or deep analysis with…
pdf-generation
Professional PDF generation from markdown using Pandoc with Eisvogel template and EB Garamond fonts. Use when converting markdown to PDF, creating white papers, research documents, marketing materials, or technical documentation. Supports both English and Russian documents with professional typography and color-coded…
whitepaper-audit
Audit a white paper or long-form technical document against a research-grounded best-practices checklist. Two lanes — deterministic script checks (readability, undefined acronyms, structure blocks, broken links) plus an LLM-judge review (overclaims, inconsistent numbers, buried lede, limitations honesty, audience…