Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

pdf-to-pptPDF TO PPT 搜索

Agent Skill

pdf-to-ppt 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,260

周安装

174

GitHub Stars

1

下载量

1,378
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:pdf-to-ppt(PDF TO PPT 搜索)
来源仓库:https://github.com/jvtop/pdf-to-ppt
安装命令:
openclaw skills install pdf-to-ppt
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install pdf-to-ppt

简介

将 PDF 文件转换为 PowerPoint 演示文稿,保留页面布局。

  • 适合制作汇报材料或教学课件,支持多页合并展示。
  • 通过中间图像渲染实现转换,由 Hugo 与贾维斯协作开发。
  • 使用时需提供 PDF 路径,可能涉及临时文件生成与清理。
  • 建议测试小文件以确保兼容性和输出质量。pdf-to-ppt 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
pdf-to-ppt
description
|

PDF to PPT Conversion Skill

This skill converts PDF files into PowerPoint presentations by first rendering each PDF page as a high-quality image, then assembling those images into a PPT where each image fills a slide. This approach works well for PDFs that are primarily visual (e.g., design drawings, presentations scanned to PDF, etc.) and preserves the visual layout faithfully.

When to Use

Use this skill when you need to:

  • Convert a PDF document into an editable PowerPoint presentation.
  • Preserve the exact visual layout of each PDF page (text, images, vectors) as slide backgrounds.
  • Work with PDFs that are not easily editable via direct text extraction (e.g., complex layouts, designer files).
  • Batch-convert multiple PDFs to PPT format.

Core Rules

1. Input PDF Requirements

  • The PDF should be text-based or vector-based for best results. Scanned PDFs will be converted as images (which is still valid for this skill).
  • Ensure the PDF is not password-protected, or provide the password via environment variable if supported.

2. Image Rendering Quality

  • The skill renders PDF pages to images using a configurable zoom factor (default 2.0, which yields ~144 DPI from default 72 DPI).
  • Higher zoom values increase image quality and file size but improve text readability in the resulting PPT.
  • For text-heavy PDFs where you need selectable text in PPT, consider direct PDF→PPT conversion tools (like LibreOffice) instead.

3. Output PPT Characteristics

  • Each PDF page becomes one slide.
  • Slide size defaults to 16:9 (width=13.33in, height=7.5in) but can be customized.
  • Images are stretched to fill the slide; aspect ratio is not locked (to ensure full coverage). If aspect ratio preservation is critical, edit the script to center and crop.
  • The generated PPT uses a blank layout for each slide, placing the image as a shape that covers the entire slide.

4. Dependencies

  • Python packages: PyMuPDF (fitz) and python-pptx.
  • These are installed automatically when the skill is first used via the provided install command, or you can install them manually.

Installation

To install this skill from a local path (after copying to your skills folder), you can use:

clawhub install /path/to/pdf-to-ppt

Or if you have cloned the skill repository:

clawhub install pdf-to-ppt

Usage

Basic Conversion

python3 scripts/pdf_to_ppt.py input.pdf

This will:

  • Create an images/ subdirectory next to the input PDF (or use a specified directory).
  • Render each PDF page to a PNG image in that folder.
  • Generate a PPT file with the same base name as the input PDF, appended with .pptx, in the same directory as the input.

Advanced Options

python3 scripts/pdf_to_ppt.py input.pdf \
    --img-dir /path/to/images \
    --output output.pptx \
    --zoom 3.0 \
    --slide-width-in 16 \
    --slide-height-in 9 \
    --format png

Arguments:

  • input.pdf: Path to the source PDF file (required).
  • --img-dir DIR: Directory to store intermediate images. If not provided, defaults to <pdf_dir>/images/.
  • --output PPTX: Path for the output PPT file. If not provided, defaults to <pdf_basename>.pptx in the same directory as input PDF.
  • --zoom ZOOM: Zoom factor for rendering (default 2.0). Higher = higher DPI.
  • --slide-width-in INCHES: Width of slides in inches (default 13.33 for 16:9 at 7.5in height).
  • --slide-height-in INCHES: Height of slides in inches (default 7.5).
  • --format {png,jpg}: Image format for intermediates (default png).

Example: Convert with Custom Settings

python3 scripts/pdf_to_ppt.py report.pdf \
    --img-dir ./tmp/imgs \
    --output ./presentation.pptx \
    --zoom 2.5 \
    --format jpg

Workflow Tips

  1. Check Image Quality: After conversion, open the generated PPT and review a few slides. If text appears blurry, increase --zoom.
  2. File Size: Higher zoom and PNG format increase both image and final PPT size. Use JPG for smaller files if slight compression artifacts are acceptable.
  3. Post-Processing: The PPT is fully editable in PowerPoint. You can:

- Add text boxes, shapes, or annotations over the image backgrounds. - Replace images with higher-quality versions if needed. - Extract individual images via “Save as Picture” if required.

  1. Batch Processing: Wrap the script in a loop for multiple PDFs:
   for pdf in *.pdf; do
       python3 scripts/pdf_to_ppt.py "$pdf"
   done

Troubleshooting

  • ModuleNotFoundError for fitz or pptx: Ensure dependencies are installed. Run:
  pip install --break-system-packages PyMuPDF python-pptx

(Add --break-system-packages if using system Python in a restricted environment.)

  • Empty Images: Verify the PDF is not empty and that PyMuPDF can open it. Try opening the PDF in a viewer to confirm it has content.
  • Memory Issues: Very large PDFs with high zoom may consume significant RAM. Process in batches or reduce zoom.

Related Skills

Consider combining with:

  • pdf-tools — for extracting text, merging, splitting PDFs before conversion.
  • powerpoint-pptx — for best practices on editing and styling the resulting PPT.
  • images — if you need to process the intermediate images further.

Feedback

If you find this skill useful, consider starring it on ClawHub: clawhub star pdf-to-ppt

For issues or enhancements, please refer to the skill’s source repository.


_This skill was created to automate PDF → image → PPT conversion for visual-rich documents._

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

85.75%
按下载量换算1,182

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills