Install
openclaw skills install kai-html-exportExport any HTML file to PPTX or PNG, or publish HTML to a public share URL. Use when the user wants to convert an HTML presentation to PowerPoint, screenshot a web page, export an HTML report as an image, or share HTML online. Triggers: /kai-html-export, --pptx, --png, "export to pptx", "screenshot html", "convert html to powerpoint", "导出为ppt", "导出ppt", "生成ppt", "转成ppt", "导出幻灯片", "html转ppt", "保存为ppt", "可编辑的ppt", "native模式", "导出为可编辑", "share html", "deploy html", "share slides", "发布 html".
openclaw skills install kai-html-exportExport any HTML file to PPTX or PNG using a headless browser, or publish it to a public URL. PPTX and PNG export need no Node.js; the optional share helper uses Cloudflare Pages by default and Vercel as a fallback. In hosted cloud sandboxes, automatic sharing is disabled and the helper prints manual-share guidance instead of starting a deploy flow.
| Command | What it does |
|---|---|
/kai-html-export [file.html] | Export HTML presentation to PPTX (auto-detects slides) |
/kai-html-export --pptx [file.html] | Explicit PPTX export |
/kai-html-export --png [file.html] | Full-page screenshot to PNG |
/kai-html-export --png --scale 2 [file.html] | 2× resolution screenshot |
| `python3 <skill-path>/scripts/share-html.py [file.html | folder]` |
| `python3 <skill-path>/scripts/share-html.py --provider vercel [file.html | folder]` |
If no file is specified, use the most recently modified .html file in the current directory.
Run the bundled script:
python3 <skill-path>/scripts/export-pptx.py <file.html> [output.pptx] [--mode image|native] [--width 1440] [--height 900]
--mode image (default):
--mode native (new):
Supported in native mode:
Not supported in native mode (fall back to image):
Run the bundled script:
python3 <skill-path>/scripts/screenshot.py <file.html> [output.png] [--width 1440] [--scale 2]
--scale 2 produces a 2× retina-quality imageRun the bundled helper:
python3 <skill-path>/scripts/share-html.py <file.html|folder>
python3 <skill-path>/scripts/share-html.py --provider vercel <file.html|folder>
index.htmlwrangler login before first local usenpx vercel login before first local use| Package | Purpose | Install |
|---|---|---|
playwright | Headless browser screenshots | pip install playwright |
python-pptx | Assemble screenshots into PPTX | pip install python-pptx |
| Node.js + Wrangler / Vercel CLI | Optional live URL publishing | wrangler login or npx vercel login |
No browser download needed if Chrome, Edge, or Brave is already installed. URL publishing is optional and separate from export.
After every native-mode export, assume something looks wrong until proven otherwise:
{name}-preview.png with thumbnails of slide 1, ~1/3, ~2/3, and last. Open it immediately: open {name}-preview.png⚠ warningsDesigned to work with output from:
.slide elements