pptx

Create and edit PowerPoint .pptx files from HTML and OOXML.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Zehong-Wang/Kosmos --skill pptx-zehong-wang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/Zehong-Wang/Kosmos/tree/main/kosmos-reference/kosmos-claude-scientific-writer/.claude/skills/document-skills/pptx
Command: npx skills add https://github.com/Zehong-Wang/Kosmos --skill pptx-zehong-wang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires markitdown, pptxgenjs, playwright, react-icons, sharp, defusedxml, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation and modification of PowerPoint presentations, eliminating the need for manual slide design and content entry.

Core Features & Use Cases

  • Programmatic Presentation Creation: Generate new .pptx files from scratch or using HTML templates.
  • Slide Editing: Modify existing presentations by updating text, layouts, and structure via raw XML manipulation.
  • Design Automation: Apply consistent branding, layouts, and content formatting across entire decks.
  • Use Case: Automatically generate a quarterly sales report presentation with updated charts and data, formatted according to company branding guidelines.

Quick Start

Use the pptx skill to convert the HTML file 'report_slide.html' into a PowerPoint slide.

Frequently Asked Questions about pptx

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate PowerPoint presentation creation from HTML?

You can automate PowerPoint presentation creation by converting HTML files into .pptx slides programmatically. This Skill uses libraries like pptxgenjs and markitdown to generate new presentations from HTML templates without manual design entry.

Can I edit existing .pptx files by manipulating raw Office Open XML?

Yes, you can edit existing .pptx files by manipulating raw Office Open XML (OOXML) structures. The Skill uses defusedxml to securely parse and update text, layouts, and slide structures within the presentation document.

What is the best way to programmatically apply consistent branding across presentation slides?

The best way to apply consistent branding across presentation slides is through design automation. This Skill programmatically applies uniform layouts, content formatting, and branding templates across an entire .pptx deck.

Does this approach support generating data-driven reports like quarterly sales presentations?

Yes, this approach supports generating data-driven reports like quarterly sales presentations. You can programmatically generate .pptx files with updated charts and data formatted according to specific company branding guidelines.

Do I need Playwright to create PowerPoint presentations from HTML templates?

Playwright is included as a dependency to facilitate the HTML to PowerPoint conversion pipeline. Alongside pptxgenjs and sharp, it helps render and process HTML content into presentation-ready slides.

What are the limitations of editing presentations via raw OOXML manipulation?

Editing presentations via raw OOXML manipulation requires understanding the underlying XML schema of .pptx files. While defusedxml provides secure parsing, complex layout changes or native chart modifications might require deeper structural adjustments compared to high-level libraries.