SkillHub

openclaw-ppt-generator

v1.0.0

Generate PPT documents using Python and python-pptx. No third-party API calls, fully open source.

Sourced from ClawHub, Authored by xiangzhanyou

Installation

Please help me install the skill `openclaw-ppt-generator` from SkillHub official store. npx skills add xiangzhanyou/openclaw-ppt-generator

OpenClaw PPT Generator

Generate PPT documents using open-source Python library (python-pptx). No third-party API calls required.

Features

  • Fully Open Source: Uses python-pptx library, no API keys needed
  • Simple & Fast: Local generation, no network dependency
  • Flexible Content: Supports titles, text, and bullet lists
  • Standard Templates: Uses built-in PowerPoint layouts

Scripts

  • scripts/generate_ppt.py - Main script to generate PPT from content

Usage Examples

# Generate PPT with title and content
python3 scripts/generate_ppt.py --title "My Presentation" --content "Slide 1 content|Slide 2 content"

# Generate PPT with bullet lists
python3 scripts/generate_ppt.py --title "Project Report" --content "Introduction|Features:Feature A,Feature B,Feature C|Conclusion"

# Specify output path
python3 scripts/generate_ppt.py --title "Meeting Notes" --content "Agenda|Discussion|Action Items" --output "meeting.pptx"

Agent Steps

  1. Get PPT title and content from user
  2. Run scripts/generate_ppt.py with parameters
  3. Return the generated PPT file path

Content Format

  • Use | to separate slides
  • Use : to separate slide title from bullet list
  • Use , to separate bullet items

Example: "Title|Slide1:Item1,Item2,Item3|Slide2:Content"

Output

{
  "status": "success",
  "ppt_path": "output.pptx"
}

Technical Notes

  • Library: python-pptx (open source)
  • No API calls: All processing done locally
  • Templates: Uses standard PowerPoint layouts
  • Output format: .pptx (Microsoft PowerPoint format)