Python PPT Generator

v1.0.0

Generate dark-themed, tech-style PPTX presentations in 16:9 using python-pptx with customized slides, fonts, colors, and layouts.

0· 146·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for mr1008611/python-ppt.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Python PPT Generator" (mr1008611/python-ppt) from ClawHub.
Skill page: https://clawhub.ai/mr1008611/python-ppt
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install python-ppt

ClawHub CLI

Package manager switcher

npx clawhub@latest install python-ppt
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
medium confidence
Purpose & Capability
Name/description match the included code: the library (scripts/ppt_lib.py) implements dark-themed PPT templates using python-pptx. No unrelated environment variables, binaries, or install steps are requested.
Instruction Scope
SKILL.md instructs the agent to read scripts/ppt_lib.py, generate a calling Python script from user input, execute it, and upload the resulting .pptx via lightclaw_upload_file. That is within the purpose (creating slides) but implies dynamic code execution: the agent will run Python code generated at runtime, so review the generated script before execution or require user confirmation.
Install Mechanism
There is no install spec; SKILL.md lists 'pip install python-pptx' as a dependency but the skill does not provide an automated install. Lack of an install step is not inherently malicious, but it means the runtime must have python-pptx available or the agent must install it (pip installs should be done in a controlled environment).
Credentials
The skill requires no environment variables, credentials, or config paths. This is proportionate to the stated function of generating PPTX files.
Persistence & Privilege
No always:true or elevated persistence is requested. The skill uses normal agent invocation behavior. It does instruct uploading the generated file via lightclaw_upload_file (a platform action), which is expected for delivering outputs.
Assessment
This skill appears to do what it says: a local Python library builds PPTX slides with python-pptx. However, note that the runtime workflow requires the agent to generate and execute Python scripts that call the included library. Before you run it: (1) ensure python-pptx is installed in a safe / sandboxed environment; (2) ask the agent to show the exact generated Python script and review it for unexpected imports or filesystem/network operations before execution; (3) be aware that dynamic code execution can perform arbitrary actions if the generated script is malicious—only proceed if you trust the agent's generated code or you manually run the script after inspection; (4) the provided ppt_lib.py appears consistent but the file in the package is truncated/has a small bug near the end (an unfinished variable 'co' / truncated code) which may cause runtime errors—test with sample content first. If you want extra safety, require user confirmation before executing generated scripts or run the skill in an isolated environment.

Like a lobster shell, security has layers — review code before you run it.

latestvk975jf6f7fzn3bb5fyhgsrxt6583rwd0
146downloads
0stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

PPT Generator Skill

python-pptx 生成暗色科技风演示文稿。

使用方式

用户描述 PPT 内容后,生成 Python 脚本并执行,产出 .pptx 文件。

工作流

  1. 用户说明 PPT 主题、大纲、内容要点
  2. Agent 读取 scripts/ppt_lib.py(核心工具库)
  3. Agent 生成调用脚本,组合幻灯片内容
  4. 执行脚本 → 输出 .pptx
  5. 通过 lightclaw_upload_file 发送给用户

设计规范

  • 页面尺寸:16:9 (13.333 × 7.5 英寸)
  • 配色方案:深蓝黑背景 + 科技蓝/紫/绿/橙强调色
  • 字体:Microsoft YaHei(中文)、Arial(英文)
  • 布局:卡片式、顶部色条、装饰线

幻灯片类型

类型函数用途
封面页make_cover_slide()标题+副标题+日期
章节页make_section_slide()章节标题+要点列表
内容页make_content_slide()标题+2x2卡片网格
对比页make_compare_slide()左右两栏对比
架构页make_arch_slide()三列流程+底部补充
卡片页make_cards_slide()灵活卡片网格
总结页make_summary_slide()价值总结+收尾

调色板

DARK_BG    = (0x1A, 0x1A, 0x2E)  # 背景
ACCENT     = (0x00, 0xD2, 0xFF)  # 科技蓝
ACCENT2    = (0x7C, 0x3A, 0xED)  # 紫色
ACCENT3    = (0x10, 0xB9, 0x81)  # 绿色
ACCENT4    = (0xF5, 0x9E, 0x0B)  # 橙色
WHITE      = (0xFF, 0xFF, 0xFF)
LIGHT_GRAY = (0xCC, 0xCC, 0xCC)
CARD_BG    = (0x25, 0x25, 0x40)  # 卡片背景

依赖

pip install python-pptx

文件结构

skills/ppt-generator/
├── SKILL.md           # 本文件
└── scripts/
    └── ppt_lib.py     # 核心工具库(模板函数+调色板)

Comments

Loading comments...