360 Secure SkillHub
360 安全技能中心

Document to Slides

该 Skill 通过本地 Python 脚本 workflow.py,把 PDF、Word、Markdown 文档转换成使用 18 种以上专业版式的 PPTX 演示文稿,按章节自动匹配版式,支持数据图表、长文档批处理与高分辨率输出,可选指定模型或使用无模型模板模式。

lifei68801
lifei68801
热度 24.66
最近更新 2026-03-21 20:06:48
分类:效率依赖:代码执行 / 读写文件 / 联网浏览搜索 / 内部调用大模型应用场景:演示设计 / 文件转换 / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add document-to-slides
Metadata
name
document-to-slides
version
1.2.0
description
Convert PDF, Word, and Markdown documents into formatted slide decks with 18+ professional layouts. Handles long documents via batch mode. Use when: converting a document to PPT format.
license
MIT-0
author
lifei68801
metadata
{"openclaw":{"requires":{"bins":["python3","pip3"]},"permissions":["file:read","file:write"],"behavior":{"modifiesLocalFiles":true,"description":"Reads local document files and writes PPTX output. All processing is local."}}}

Document to Slides

Convert your documents into presentation slide decks.

Everything runs on your machine. Your documents stay local.

Features

  • 18+ professional layout types
  • Automatic section-to-layout matching
  • Data charts and visualizations
  • Batch mode for long documents (10+ pages)
  • High-resolution output

Setup

Install the required Python packages listed in scripts/requirements.txt, then set up the browser helper via scripts/setup_browser.py.

Usage

cd scripts/
python3 workflow.py --input your-document.pdf --output deck.pptx

Optional: pass --model to use a specific model for layout decisions, or --no-model for template-based mode.

Layout Types

COVER, DASHBOARD, BIG_NUMBER, TIMELINE, COMPARISON, MATRIX, FLOW_CHART, LIST, PYRAMID, PROBLEM_SOLUTION, ACTION_PLAN, and more.

What Works Best

  • Documents with clear section headings
  • Structured content with bullet points
  • 1 to 20 pages (optimal range)

License

MIT-0