Token导航 LogoToken导航

Agent Skill · 研究检索

ppt-from-template(模板中的 ppt)

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

ppt-from-template 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为只读;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 23,166。

总安装 4,349周安装 189GitHub Stars 公开资料未说明下载 1,542核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
2.0.0

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install ppt-from-template

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

基于参考模板提取样式并重新创建幻灯片。使用 PptxGenJS 实现视觉一致性生成。适用于需要统一品牌风格的演示文稿制作。需提供模板文件和内容大纲。ppt-from-template 属于研究检索类 Skill,可作为该场景下的辅助能力补充。建议核对模板版权和使用许可。

适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install ppt-from-template;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

ppt-from-template 怎么安装?

在终端执行 openclaw skills install ppt-from-template。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

ppt-from-template 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

ppt-from-template 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

ppt-from-template 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

ppt-from-template 用的人多吗?

公开数据是累计安装 4,349 次,近一周安装 189 次,下载 1,542 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

ppt-from-template 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
ppt-from-template

模板中的 ppt · 本页

4,349—只读MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
ppt-from-template
description
>-
Supports
template directory auto-discovery, user upload, multi-template selection,
Requires
pptx skill (PptxGenJS), python-pptx, pdftoppm (poppler-utils).

PPT from Template

Generate presentations by extracting style from a reference template, then building fresh slides with PptxGenJS.

Core principle: Never modify existing PPT XML. Look at the style, then draw from scratch.

Template Management

Template Directory

Default template directory: {workspaceDir}/template/

On every invocation:

  1. Scan {workspaceDir}/template/ for *.pptx files.
  2. If one template found → use it automatically.
  3. If multiple templates found → list them and ask user to choose.
  4. If none found → tell user to upload a .pptx file or provide a path.

User Upload

Accept .pptx files uploaded by user. Before processing:

  • Size check: reject files > 50 MB with message: "模板文件超过 50MB 限制,请压缩后重试"
  • Save to {workspaceDir}/template/ for reuse.

Workflow

Phase 1: Extract Style

# If .pptx, convert to PDF for visual analysis:
python3 {baseDir}/scripts/pptx_to_pdf.py template.pptx /tmp/ppt_style/template.pdf

# Extract page images:
bash {baseDir}/scripts/extract_pages.sh /tmp/ppt_style/template.pdf /tmp/ppt_style/ 150

# Precision extraction from PPTX XML:
python3 {baseDir}/scripts/extract_style.py template.pptx -o /tmp/ppt_style/style_raw.yaml

Read style_raw.yaml for exact data (hex colors, font names, font sizes in pt, positions in inches, fill types, line styles). Then read 3-5 page images for semantic understanding (element roles, layout classification).

Extract two levels:

LevelSourceWhat to Capture
Globalstyle_raw.yamlColors (hex), typography (font/size/weight), decorations
Per-layoutstyle_raw.yaml + imagesElement inventory: type, role, x/y/w/h, style properties

Element types: text, image, video, shape, line, numbered_list, step_list, tag_group, chart, table.

For images/videos: set placeholder: true with description for user replacement.

Write results to style.yaml. Schema: references/style-schema.md.

Phase 2: Generate PPT

Use the pptx skill (PptxGenJS) to create slides:

  1. Read style.yaml for visual parameters.
  2. Combine with user content (topic, page count, outline).
  3. Generate PptxGenJS JavaScript applying extracted style.
  4. Run JS to produce .pptx.
  5. QA: convert to images, verify style fidelity.

Large Deck Strategy (>15 pages)

PptxGenJS generation is fast (seconds), but writing the JS code for many slides can hit context/time limits. Mitigate:

PagesStrategy
≤15Single generation pass
16-30Split into 2 JS files: slides 1-15, slides 16-30. Generate sequentially, merge via pptx-merge or generate in one pres object across two code blocks
31-100+Generate a slide factory function per layout type, then loop over a content array. One JS file, data-driven

Slide factory pattern for large decks:

// Define layout factories from style.yaml
function makeCover(pres, content) { /* ... */ }
function makeContent(pres, content) { /* ... */ }
function makeSection(pres, content) { /* ... */ }

// Content array — easy to extend
const slides = [
  { layout: "cover", title: "...", subtitle: "..." },
  { layout: "content", title: "...", items: [...] },
  // ... 50+ entries
];

slides.forEach(s => layoutFactories[s.layout](pres, s));

This keeps code size O(layouts) not O(pages).

Output Size Control

Target output < 20 MB. PptxGenJS output is typically small (100-500 KB for text-only decks). Large files come from embedded images. If output approaches 20 MB:

  1. Reduce image resolution/quality in PptxGenJS options.
  2. Use placeholders instead of embedded images.
  3. Split into multiple files if unavoidable.
  4. Warn user: "PPT 接近 20MB 限制,已使用图片占位符,请手动替换"

Placeholder Convention

  • Image: Dark rectangle + dashed gray border + 🖼️ + label + suggestion
  • Video: Dark rectangle + dashed red border + ▶️ + label + suggestion

Key Rules

  • Never modify existing PPT XML — always generate from scratch.
  • style.yaml is reusable — once extracted, generate unlimited PPTs in the same style.
  • Use shrinkText: true in PptxGenJS to auto-fit long text.
  • Match slide dimensions exactly from style_raw.yaml (not hardcoded 16:9).

File Convention

{workspaceDir}/
├── template/              ← .pptx templates (auto-discovered)
│   └── *.pptx             ← max 50 MB each
├── output/                ← generated PPTs
│   └── *.pptx             ← max 20 MB each
/tmp/ppt_style/            ← working directory (ephemeral)
├── template.pdf
├── page-*.jpg
├── style_raw.yaml         ← from extract_style.py
└── style.yaml             ← merged (exact + semantic)

Troubleshooting

ProblemSolution
Template > 50 MBAsk user to compress or remove embedded media
Output > 20 MBUse placeholders, reduce image count/resolution
>30 pages timeoutUse slide factory pattern, data-driven generation
No template foundPrompt user to upload .pptx or specify path
Multiple templatesList options, ask user to choose
Fonts not availableFall back to Arial/sans-serif; note in output
Complex gradientsDescribe in style.yaml; use background image

平台分布

OpenClaw

98.92%
按下载量换算1,525

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

继续浏览同类 Skills