← 返回 Skills 市场
wujiaming88

PPT from Template

作者 Garming · GitHub ↗ · v2.0.0 · MIT-0
cross-platform ✓ 安全检测通过
155
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install ppt-from-template
功能描述
Generate presentations by extracting visual style from a reference template and recreating slides from scratch using PptxGenJS. Use when: user provides a PPT...
安全使用建议
This skill looks internally consistent for extracting style from a .pptx and generating new slides. Before installing or using it: 1) Ensure the execution environment has python3, python-pptx (pip), Poppler (pdftoppm), and LibreOffice (soffice) if you plan to run the included scripts. 2) Be cautious with templates that contain sensitive or proprietary text/media: extract_style.py records text previews and image metadata into YAML files stored in the workspace/tmp; delete those files after use if needed. 3) Confirm where the PptxGenJS step runs (the skill references a separate 'pptx' skill): executing arbitrary JS in the agent environment can pose additional risk — only allow that when you trust the runtime. 4) Verify soffice on your system is the expected binary (the script will run it via subprocess) and that resource/time limits are acceptable for large decks. 5) If you need higher assurance, review the full extract_style.py output (style_raw.yaml/style.yaml) to ensure no unintended content was captured and restrict workspace access to trusted users.
功能分析
Type: OpenClaw Skill Name: ppt-from-template Version: 2.0.0 The skill bundle is a legitimate tool for generating PowerPoint presentations by extracting visual styles from templates. It uses standard Python libraries (python-pptx, PyYAML) and system utilities (LibreOffice, pdftoppm) to analyze and recreate slide layouts. No evidence of data exfiltration, malicious execution, or prompt injection was found; the scripts (extract_style.py, pptx_to_pdf.py, extract_pages.sh) perform their stated functions using safe subprocess handling and local file operations.
能力评估
Purpose & Capability
The name/description (extract style from a PPTX and generate new slides with PptxGenJS) matches the included scripts and SKILL.md: extract_style.py reads PPTX XML via python-pptx, extract_pages.sh uses pdftoppm to get images, and pptx_to_pdf.py uses soffice to convert PPTX→PDF. Required tools and behaviors are proportionate to the stated purpose.
Instruction Scope
SKILL.md instructs scanning a workspace template dir, accepting user uploads, converting to PDF, extracting style, and building slides. This is within scope. One note: extract_style.py collects 'text_preview' snippets and element metadata (including image format and size) into style_raw.yaml/style.yaml; those snippets may contain user-provided textual content from the template (potentially sensitive). There are no instructions to send data to external endpoints.
Install Mechanism
There is no install spec (instruction-only), which reduces installer risk. The scripts rely on common third-party binaries/libraries (python-pptx, PyYAML optional, pdftoppm/poppler, soffice/LibreOffice). No downloads or archive extraction are present in the bundle.
Credentials
The skill requests no environment variables or credentials. It does read user-provided files from the workspace (template/*.pptx) and writes temporary files under /tmp/ppt_style/ and output/*.pptx. Because extract_style.py extracts text previews from slides, a template containing sensitive text would be parsed and stored locally—be mindful of that when uploading templates.
Persistence & Privilege
always:false and default invocation settings. The skill does not request persistent system-wide privileges or modify other skills. It writes files under workspace and /tmp only, which is expected behavior for this task.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ppt-from-template
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ppt-from-template 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.0
v2.0: Complete rewrite. PDF visual analysis + extract_style.py precision extraction + PptxGenJS generation. Template auto-discovery, 50MB limit, image/video placeholders, Slide Factory pattern for large decks (30-100+ pages), 20MB output limit.
元数据
Slug ppt-from-template
版本 2.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

PPT from Template 是什么?

Generate presentations by extracting visual style from a reference template and recreating slides from scratch using PptxGenJS. Use when: user provides a PPT... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 155 次。

如何安装 PPT from Template?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ppt-from-template」即可一键安装,无需额外配置。

PPT from Template 是免费的吗?

是的,PPT from Template 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

PPT from Template 支持哪些平台?

PPT from Template 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 PPT from Template?

由 Garming(@wujiaming88)开发并维护,当前版本 v2.0.0。

💬 留言讨论