🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

openclaw-ppt-generator

by @xiangzhanyou

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

Versionv1.0.0
Downloads3,345
Stars⭐ 1
TERMINAL
clawhub install openclaw-ppt-generator

πŸ“– About This Skill


name: openclaw-ppt-generator description: Generate PPT documents using Python and python-pptx. No third-party API calls, fully open source. metadata: { "openclaw": { "emoji": "πŸ“Š", "requires": { "bins": ["python3"], "env": [] } } }

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)