html2pptx for Openclaw

A specialized conversion utility that transforms HTML-based presentation slides into native, editable PowerPoint (.pptx) documents.

liberalchang
v3.0.0
Apr 15, 2026
0
719
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install html2pptx

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install html2pptx using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is html2pptx?

The html2pptx skill is designed to solve the interoperability gap between modern web-based slides and traditional presentation software. It specifically targets HTML presentations—such as those generated by frontend-slides frameworks—and converts them into native PowerPoint files. By leveraging Openclaw Skills for document conversion, developers can maintain the flexibility of HTML/CSS for authoring while providing stakeholders with standard, editable .pptx files that preserve structural integrity and visual styling.

html2pptx Use Cases

  • Converting frontend-slides HTML output into standard PowerPoint presentations
  • Migrating web-based slide content to editable corporate formats
  • Batch processing multiple HTML presentations into PPTX files for offline distribution
  • Preserving document structure, headers, and images when moving from web to office suites

How html2pptx Works

  1. Parsing: The skill uses BeautifulSoup to analyze the HTML source and identify slide boundaries.
  2. Styling Analysis: It extracts CSS properties including colors and font information to replicate the visual theme.
  3. PPTX Initialization: A new presentation object is created using the python-pptx library.
  4. Content Mapping: HTML elements such as headings, lists, and images are mapped to their corresponding PowerPoint shapes.
  5. File Generation: The final document is compiled and saved as a native .pptx file.

html2pptx Setup

To use this tool within your Openclaw Skills environment, ensure you have Python 3.9+ installed and run the following commands:

pip install python-pptx beautifulsoup4 lxml
python src/convert.py <input.html> [output.pptx]

html2pptx Data Schema & Taxonomy

The skill maps specific HTML tags and classes to PowerPoint objects as detailed below:

HTML Element PPTX Mapping
slide class Slide Page
h1, h2 Slide Titles
p Text Paragraphs
ul, ol, li Bulleted or Numbered Lists
div class="card" Grouped Text Boxes
img Image Shapes (preserving paths)
CSS Colors Theme Color Matching

html2pptx Advanced Features

  • Intelligent theme color matching from CSS styles
  • Support for card-based layout grouping
  • Automated image path resolution for native embedding
  • Command-line interface for integration into CI/CD pipelines
  • Compatibility with the broader ecosystem of Openclaw Skills for automated report generation

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*