360 Secure SkillHub
360 安全技能中心

Doc-to-PPT

该 Skill 读取 PDF、Word、Markdown 文档,生成 HTML 幻灯片并用 Playwright 渲染成图像,最终组装为 PPTX,宣称支持 18 种版式、全局配色一致与并发生成。声明全部本地处理、无网络与遥测,但所引用的 scripts/main.py 未包含在文件列表中。

lifei68801
lifei68801
热度 26.47
最近更新 2026-03-16 12:13:09
分类:效率依赖:代码执行 / 读写文件 / 联网浏览搜索应用场景:文件转换 / 演示设计

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add doc-to-ppt
Metadata
name
doc-to-ppt
version
1.2.0
description
Convert PDF, Word, Markdown to professional PPT. 18 layouts, global color consistency, concurrent generation.
license
MIT-0
author
lifei68801
tags
["ppt","pdf","document","conversion","slides"]

Doc-to-PPT

Convert documents to professional PowerPoint presentations.

Quick Start

# PDF to PPT
python scripts/main.py input.pdf --output ./output

# Markdown to PPT
python scripts/main.py input.md --output ./output

# Word to PPT
python scripts/main.py input.docx --output ./output

Features

  • 18 Layouts: Dashboard, Timeline, Flow Chart, Matrix, etc.
  • Global Color Consistency: Consistent palette across all slides
  • Concurrent Generation: Fast parallel processing
  • High Quality: Playwright rendering for crisp output

Requirements

  • Python 3.8+
  • playwright
  • python-pptx
  • pdfplumber
  • python-docx

Installation

pip install playwright python-pptx pdfplumber python-docx
playwright install chromium

Metadata

metadata:
  openclaw:
    requires:
      bins: ["python3", "playwright"]
      pypi: ["playwright", "python-pptx", "pdfplumber", "python-docx"]
    permissions:
      - "file:read"
      - "file:write"
    behavior:
      network: none
      telemetry: none
      description: "Reads documents, generates HTML slides, renders to PNG via Playwright, assembles PPTX. All local processing."