image-to-ppt

image-to-ppt is a skill for Claude Code from DSY-Xueai/image2editable. It costs 94 tokens per session (4,787 once invoked), scanned A, original, MIT.

A tool for rebuilding images, PDFs, and image-based PowerPoint slides as layered, editable PowerPoint files. It separates text, shapes, tables, charts, and other visual parts instead of leaving the page as one flat image.

In plain words
What is it for?
Recreating editable slides from images, PDFs, screenshots, research figures, and mixed PowerPoint files, including text recognition, component separation, and visual quality checks.
Why use it?
It helps turn screenshots or scanned slides into presentation objects that can be edited, while using quality checks to stop when the reconstruction is not reliable.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; mentions Codex.

Part of the image2editable plugin — 2 skills shipped together

Good fit Recreating editable slides from images, PDFs, screenshots, research figures, and mixed PowerPoint files, including text recognition, component separation, and visual quality checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dsy-xueai/image2editable/image-to-ppt
Install

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.

Any agent
npx skills add DSY-Xueai/image2editable --skill image-to-ppt
Clone the repo
git clone --depth 1 https://github.com/DSY-Xueai/image2editable

Made for: Claude Code.

Or install image2editable, the plugin that ships this one along with the rest of its 2 skills.

Wrote 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.

agentmods badge for image-to-ppt

README.md
[![agentmods](https://agentmods.dev/badge/skills/dsy-xueai/image2editable/image-to-ppt/github.svg)](https://agentmods.dev/skills/dsy-xueai/image2editable/image-to-ppt)
Your own site
<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.

agentmods 80×15 button for image-to-ppt

Your own site · 80×15
<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>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,787 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 1mo ago against content hash e9f563503a33, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 31 executable files (scripts/__init__.py, scripts/art_text.py, scripts/bg_model.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/image-to-ppt/SKILL.md · 161 lines

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

Read the full file on GitHub · 161 lines

Files

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.

Changes

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.

  1. 1mo ago Changed · -3 lines e9f563503a33
  2. 1mo ago Changed · -5 lines · -4 tokens per session 369b28a6620c
  3. 2mo ago First seen · 169 lines · 98 tokens per session scan A c19205f0a2b9

Subscribe to this mod's changes

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.

Related

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).

glebis/claude-skills · 79 tokens

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…

glebis/claude-skills · 149 tokens

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…

glebis/claude-skills · 145 tokens

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…

glebis/claude-skills · 72 tokens

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…

glebis/claude-skills · 86 tokens

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…

glebis/claude-skills · 145 tokens