/install present-ppt
html-slide-to-pptx
Convert structured HTML slides into editable PPTX by parsing semantic blocks and mapping them to native PowerPoint objects.
This skill is preset-driven.
- Reuse an existing preset when the HTML belongs to a supported slide family.
- Add a new preset when the HTML belongs to a new slide family.
- Do not promise arbitrary HTML/CSS fidelity.
First steps
- Read the incoming HTML and identify the slide family.
- Place the output PPTX in
./output/\x3Cname>.pptx(create the directory if it doesn't exist). - If you are on a new machine, a fresh agent, or dependency state is unclear, read
references/setup.mdfirst. - Run
npm run check-envbefore first use on a new environment. - If dependencies are missing, run
npm ciornpm installin the skill directory.
Workflow
- Identify whether the HTML belongs to a supported preset.
- Parse the HTML into a small intermediate model instead of trying to render arbitrary CSS.
- Generate PPTX with native text/shapes using the bundled script.
- Run a QA/preflight review on the generated result or the extracted model.
- Open or preview the PPTX and inspect spacing, overflow, and arrow direction issues.
- Iterate the preset mapping when fidelity is not good enough.
Current support
Preset: v9-architecture
Use for this exact or near-exact structure:
- Header eyebrow + brand
- Title
- Core summary box
- Left driver panel
- Center layered architecture stack
- Right judgement chain panel
Preset: ai-runtime-page
Use for this exact or near-exact structure:
- Header eyebrow + brand
- Title + lead box
- Input chip row
- Main runtime box with 5 modules
- Support layer cards
- Output chip row
- Base layer + takeaway
Commands
Verify environment
npm run check-env
Convert HTML to PPTX
# Output is saved to ./output/\x3Cname>.pptx by default
node scripts/html_to_pptx.js \x3Cinput.html> ./output/\x3Cname>.pptx [--preset=v9-architecture|ai-runtime-page] [--dump-model \x3Cfile.json>]
Run preflight QA
node scripts/preflight_qa.js \x3Cmodel.json> [--preset=v9-architecture|ai-runtime-page] [--report \x3Creport.json>]
When no preset fits
Do not hard-convert arbitrary HTML.
If the HTML structure is meaningfully different from existing presets, add a new preset by implementing all three layers:
- DOM extraction rules
- Layout/render mapping rules
- QA/preflight rules
Reuse existing presets only when the page family is genuinely close. If the structure differs in information architecture, add a new preset instead of overloading an old one.
Rules
- Prefer semantic mapping over screenshot embedding.
- Preserve editability first, then iterate toward fidelity.
- Treat browser rendering as reference, not as the generation engine.
- Run QA for every generated result.
- If setup or portability is the issue, read
references/setup.md. - If extending support, read
references/preset-decision-rules.mdfirst, thenreferences/presets.md,references/preset-template.md, andreferences/qa-heuristics.md.
References
- Read
references/setup.mdwhen installing or using the skill on a new machine/agent. - Read
references/preset-decision-rules.mdwhen deciding whether to reuse, extend, or replace a preset. - Read
references/presets.mdwhen extending to new slide families. - Read
references/preset-template.mdwhen creating a brand-new preset. - Read
references/qa-heuristics.mdwhen designing or tuning preflight checks. - Read
references/roadmap.mdwhen planning higher-fidelity HTML measurement or hybrid background/text-layer approaches. - Read
references/usage-principles.mdfor the full 5-rule usage guide. - Read
README.mdfor a human-friendly overview, setup summary, and portability notes.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install present-ppt - After installation, invoke the skill by name or use
/present-ppt - Provide required inputs per the skill's parameter spec and get structured output
What is present-ppt?
Convert structured single-slide or small deck HTML files into editable PPTX slides with native text boxes, shapes, chips, arrows, and panels. Use when the us... It is an AI Agent Skill for Claude Code / OpenClaw, with 51 downloads so far.
How do I install present-ppt?
Run "/install present-ppt" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is present-ppt free?
Yes, present-ppt is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does present-ppt support?
present-ppt is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created present-ppt?
It is built and maintained by textboy (@textboy); the current version is v1.0.0.