pptx

Extract and edit PowerPoint .pptx files via XML workflows.

190|27|Updated Apr 22, 2026
One-click install
npx skills add https://github.com/linxuan-sys/opencode-skills-chinese --skill pptx-linxuan-sys
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pptx
Source: https://github.com/linxuan-sys/opencode-skills-chinese/tree/main/pptx
Command: npx skills add https://github.com/linxuan-sys/opencode-skills-chinese --skill pptx-linxuan-sys

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps you reliably work with .pptx presentations by extracting their content, editing their internal structure, and validating the result so the output doesn’t silently break.

Core Features & Use Cases

  • Extract & analyze .pptx contents: Pull text from PPTX for downstream use (summaries, emails, or rewriting).
  • Template-driven editing workflow: Inspect slide layouts, unpack the PPTX into editable XML, modify slides, then clean and repack.
  • Visual quality assurance: Generate thumbnails and per-slide renders for overlap/overflow detection before finalizing the file.
  • From-scratch creation guidance: When no template exists, build a new PPTX using PptxGenJS-style practices.

Use Case: You receive a “template” deck and new content, then you want to update slide text/layout, remove placeholders, and ensure the final PPTX looks correct and stays structurally valid.

Quick Start

Use the pptx skill to extract all text from the file 'presentation.pptx'.

Frequently Asked Questions about pptx

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

FAQPage Schema
How do I extract text from a PowerPoint pptx file?

To extract text from a pptx file, you can unpack the presentation into its underlying Office XML structure and pull slide content for downstream use. This workflow reliably extracts slide text for summaries, emails, or rewriting tasks.

Can I edit PowerPoint slides by modifying Office XML directly?

Yes, you can edit PowerPoint slides by unpacking the pptx file, modifying the internal Office XML structure, and repacking it. This template-driven workflow allows you to update slide text, adjust layouts, and remove placeholders deterministically.

How do I perform visual QA on a PowerPoint presentation?

You can perform visual QA on a PowerPoint presentation by generating thumbnails and per-slide renders using LibreOffice and Poppler. This allows you to detect overlapping elements or text overflow before finalizing the updated pptx file.

Do I need LibreOffice and Poppler to render PowerPoint thumbnails?

Yes, rendering PowerPoint thumbnails and per-slide visual outputs requires dependencies on LibreOffice and Poppler. These tools facilitate the extraction and rendering needed to validate visual correctness and detect overflow.

What is the best way to update a PowerPoint template with new content?

The best way to update a PowerPoint template is to inspect slide layouts, unpack the pptx into editable XML, modify the slides with new content, and clean and repack the file. This ensures the final deck remains structurally valid and visually correct.

How to create a pptx presentation from scratch when no template exists?

When no template exists, you can create a new pptx presentation from scratch using PptxGenJS-style practices. This approach guides structural creation while ensuring the generated Office XML output remains valid and correctly formatted.