Token导航 LogoToken导航TokenDH.com
效率只读clawhub未标认证来源可访问clear审计提醒

svg-ppt-generatorsvg ppt 生成器

Agent Skill

svg-ppt-generator 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,408

周安装

142

GitHub Stars

公开资料未说明

下载量

1,136
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install svg-ppt-generator

简介

基于 SVG 的 PPT 生成器,内置多种主题和图表。

  • 适用于 OpenClaw 中快速制作演示文稿的场景。
  • 通过 clawhub 安装,结合仓库文档验证具体用法。
  • 需确认权限范围、维护状态及是否触发文件写入。svg-ppt-generator 属于效率类 Skill,可作为该场景下的辅助能力补充。
  • 建议核对原始 README 了解实际功能和限制条件。

SKILL.md

name
ppt-generator
description
SVG-based PPT generator with 9 themes, 8 layouts, 30+ charts, and 600+ icons

PPT Generator Skill

Professional presentation engine. Generates SVG pages and converts them to native editable PPTX via svg_to_pptx. Includes 8 layout templates covering dark, light, consulting, tech, and more.

When to Use

  • User asks to create a PPT / presentation / slides
  • User provides content, outline, or data that needs to become a PPTX
  • User mentions "make a PPT", "generate slides", "presentation", etc.

Interaction Flow (must follow)

After receiving a PPT request, do not generate immediately. Guide the user step by step:

Step 1: Confirm Topic and Duration

Got it, I'll make this PPT for you. Topic: "{extracted from user message}" — correct? How long is the presentation? This determines page count: - 10 min → 10-12 pages - 20 min → 15-18 pages - 30 min → 22-25 pages - 45 min → 28-35 pages

Duration is required — do not skip this. Page count directly depends on it.

If the user already provided a detailed outline, skip topic confirmation but still ask duration.

Step 2: Pick a Style

Pick a style (just reply with the number): 1. dark_warm (default) — dark warm tone, AI/tech feel 2. consultant — white + blue, consulting style 3. cloud_orange — deep navy + orange, cloud/tech architecture 4. ai_ops — full dark, ops/DevOps style 5. tech_blue — blue tech, formal business 6. smart_red — red business 7. exhibit — light showcase, data-heavy 8. pixel_retro — pixel retro, creative/fun

Step 3: Confirm Outline

Propose a structure based on the topic and style:

Based on your needs, here's a suggested structure ({N} pages): P1 — Cover: {title} P2 — Table of Contents P3 — {Section 1 title} ... P{N} — Closing: {key takeaway / CTA} Want to adjust anything, or shall I start generating?

Step 4: Generate

Only start after user confirms. Send a status message:

Starting generation, estimated X minutes.

Then execute the Technical Flow below.

Step 5: Deliver and Iterate

Send the final PPTX with a brief note:

PPT is ready, {N} pages total. Want changes? Just say: - "Update the data on page 3" - "Add a page about XX" - "Make the colors darker"

Technical Flow (executed in Step 4)

Read design_spec.md + reference SVGs → Write SVG files → svg_to_pptx → Deliver

Phase 1: Read Design Spec

Load the target style's design spec and reference templates:

ppt-master-assets/templates/layouts/{style}/design_spec.md   ← colors, fonts, layout rules
ppt-master-assets/templates/layouts/{style}/01_cover.svg      ← cover reference
ppt-master-assets/templates/layouts/{style}/02_chapter.svg    ← chapter page reference
ppt-master-assets/templates/layouts/{style}/03_content.svg    ← content page reference
ppt-master-assets/templates/layouts/{style}/04_ending.svg     ← ending page reference

Phase 2: Generate SVG Files

Use the write tool to create SVG files page by page in /tmp/ppt_svgs/{style}/.

SVG Rules:

  1. viewBox must be 0 0 1280 720 (16:9)
  2. Strictly follow design_spec.md for colors, fonts, and layout
  3. Do not use: foreignObject, clipPath, mask, <style>, class
  4. File naming: 01_cover.svg, 02_toc.svg, 03_chapter1.svg... in order
  5. All text uses <text> elements with font-family, font-size, fill
  6. Background: full-coverage <rect>. Decorations: <rect>/<circle>/<line>/<path>
  7. Tables: manual <rect> + <text> layout (no HTML tables)
  8. Fill the page — avoid large empty areas
  9. Titles should state insights, not category labels

Suggested order:

  • Cover and ending first (set the tone)
  • Chapter dividers next (consistent style)
  • Content pages last (data-heavy, one at a time)

Phase 3: SVG → PPTX Conversion

svg_to_pptx converts SVG elements into native DrawingML shapes (not images):

  • <text> → editable text boxes (double-click to edit)
  • <rect> → native rectangles (drag, recolor)
  • <circle> / <ellipse> → native circles
  • <line> / <path> → native lines/paths
  • Tables (rect + text combos) → editable shape groups

The output PPTX is fully editable in PowerPoint, just like a manually created file.

import sys, os
sys.path.insert(0, os.path.expanduser(
    "~/.openclaw/workspace/skills/ppt-generator/ppt-master-assets/scripts"))
from svg_to_pptx import create_pptx_with_native_svg
from pathlib import Path

svgs = sorted(Path("/tmp/ppt_svgs/{style}").glob("*.svg"))
create_pptx_with_native_svg(svgs, Path("/tmp/output.pptx"),
                            canvas_format="ppt169",
                            use_native_shapes=True,  # required! otherwise SVG is embedded as image
                            verbose=True)

Phase 4: Cross Review (optional, requires user confirmation)

After generating the first draft, ask the user:

First draft is ready. Want to run a cross-review? Multiple reviewers check in parallel — more thorough but takes a few minutes.

If the user agrees and the agent supports subagents, run a review-fix cycle:

  1. Round 1 (full review): Launch 5 reviewer subagents in parallel

- 🎤 Presentation Coach — narrative arc, flow, pacing - 👥 Target Audience — simulated audience reaction, comprehension - 🔬 Domain Expert — factual accuracy, technical depth - 📋 Content Auditor — structure, typos, data consistency - 👁️ Visual Inspector — layout, alignment, readability

  1. Fix: Aggregate all issues, fix by priority (🔴 before ⚠️)
  1. Round 2 (regression): 3 reviewers verify the fixes
  1. Exit criteria: 🔴=0 and ⚠️≤3, or round≥4 force exit

Skip if user says "no review" or "just a quick draft".

Phase 5: Deliver

Only send the final version. Do not send intermediate versions unless the user asks.


Style Directory Mapping

#StyleDirectoryBackground
1Dark Warmdark_warmDark cover + light content
2ConsultantconsultantWhite + blue
3Cloud Orangecloud_orangeDeep navy + orange
4AI Opsai_opsDark
5Tech Blue科技蓝商务Blue
6Smart Redsmart_redRed
7ExhibitexhibitLight
8Pixel Retropixel_retroDark

Default recommendation: dark_warm.

Design Spec Location

Each template in ppt-master-assets/templates/layouts/{directory}/ contains:

  • design_spec.md — full design parameters
  • 01_cover.svg — cover template
  • 02_chapter.svg / 02_toc.svg — chapter/TOC page
  • 03_content.svg — content page
  • 04_ending.svg — ending page

Reference Documents

Key docs in ppt-master-assets/references/:

  • strategist.md — strategist role
  • executor-consultant-top.md — top-tier consulting executor
  • shared-standards.md — SVG technical constraints

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

72.16%
按下载量换算820

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

只读

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills