doc2slides

One-click PDF/Word/Markdown to designer-grade PPT. AI auto-layout + 18 slide types + built-in charts. Local-first, free. Use when: user wants to create slides from a document or convert content to PPT.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "doc2slides" with this command: npx skills add lifei68801/doc2slides

Doc2Slides

把 PDF、Word、Markdown 一键变成设计师级 PPT。10 秒出稿,无需设计能力。

📄 论文答辩 / 📊 周报月报 / 📋 技术文档培训 / 💡 创业路演

# Install & setup
clawhub install doc2slides
bash ~/.openclaw/workspace/skills/doc2slides/setup.sh

# Go
python3 workflow.py --input report.pdf --output report.pptx

Done. 一行命令,PPT 生成在本地。

Why doc2slides?

doc2slides模板方案AI 在线服务
排版18 种布局 AI 自动匹配固定 2-3 种有限
图表内置 SVG 饼图/柱状/进度环手动插入依赖模板
隐私默认本地,可选 LLM本地上传云端
费用免费免费按次收费
画质3x 高清 (3840×2160)标清取决于套餐
AIGPT-4o / 智谱 / DeepSeek 可选固定模型

Use Cases

  • 论文答辩 — 把论文 PDF 变成答辩 PPT,自动提炼要点
  • 周报月报 — Markdown 周报一键幻灯片,数据自动配图表
  • 技术分享 — 技术文档转培训材料,代码块自动排版
  • 创业路演 — 商业计划书变路演 PPT,金字塔/矩阵布局
  • 读书笔记 — 长文拆解成结构化幻灯片

Agent Trigger

User says any of → activate:

  • "把这个文档做成PPT" / "做个演示文稿"
  • "Convert this PDF to slides"
  • "Generate a presentation from..."

Workflow:

  1. First time? bash setup.sh --verify
  2. Missing deps? tell user bash setup.sh
  3. Ask: "有特殊要求吗?页数、风格、重点?没有我按默认来。"
  4. Locate input (path or URL)
  5. Generate:
    cd ~/.openclaw/workspace/skills/doc2slides/scripts
    python3 workflow.py --input <file> --output <file.pptx> [options]
    
  6. Verify output, send to user

CLI Options

FlagExample
--inputRequired. PDF / DOCX / MD path
--outputRequired. Output .pptx path
--pages NLimit slide count
--instruction "..."Custom guidance
--style corporateColor: corporate / tech / nature / warm / minimal / dark_purple / finance
--theme AIAuto color by topic
--model gpt-4oLLM for analysis
--previewAlso generate PNG screenshots
# Example: business style, 8 pages, data focused
python3 workflow.py --input report.pdf --output report.pptx \
  --instruction "商务风格,重点突出数据,控制在8页,每页配图表"

Layouts (18+)

CategoryLayouts
DataDashboard, Big Number, KPI Cards, Chart
StructurePyramid, Comparison, 2x2 Matrix, Flow
NarrativeTimeline, Action Plan, Quote, Full-image
ContentTwo-column, Three-column, Icon Grid, Vertical List
VisualProgress Ring, Horizontal Bar, Stacked Cards

Each section of your document gets auto-matched to the best layout.

Troubleshooting

ProblemFix
ModuleNotFoundError: pptxpip3 install python-pptx
No browser for screenshotsplaywright install chromium
Chromium download timeoutapt install google-chrome-stable
Output blank/brokenAdd --preview to debug HTML
Too slow for long docs--pages N to limit

Pipeline

Document → Analyze → Match Layouts → Build HTML → Render (3x) → PPTX

Default mode runs fully local — no CDN, no cloud. Optionally connect LLM providers (GPT-4o / 智谱 / DeepSeek) for smarter analysis when you configure API keys.

MIT-0 license.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

ZeeLin Auto-PPT

自动生成精美 PPT 演示文稿 — 通过 Google NotebookLM 生成图文并茂、设计感十足的 AI 幻灯片,导出 PDF 到桌面。用户需自行登录 NotebookLM 网页版。标题微软雅黑 40 号加粗,排版震撼,逻辑图清晰,内容有深度有创新,引用权威数据。配合 desearch skill 使用效果...

Registry SourceRecently Updated
1.2K1Profile unavailable
General

Markdown To Ppt

Convert Markdown to beautiful presentations and slides. 一键将Markdown文档转换为精美PPT幻灯片,支持多种主题风格,适合商务汇报、教学课件、会议演讲。Markdown to PPT, presentation generator, slides ma...

Registry SourceRecently Updated
841Profile unavailable
Automation

MiniMax Office Pack

MiniMax Office办公技能包 - Word/Excel/PDF/PPT四大专业文档生成。基于.NET OpenXML SDK、底层XML直操作、Playwright+ReportLab双引擎。一键生成可直接交付的专业办公文档。

Registry SourceRecently Updated
1480Profile unavailable
General

Microsoft MarkItDown

Convert various document formats (PDF, Word, PowerPoint, Excel, images, audio, HTML, etc.) to Markdown using Microsoft's markitdown tool. Supports OCR, audio...

Registry SourceRecently Updated
1310Profile unavailable