pptx
Skill by HKUDS
Reads, creates, and edits PowerPoint .pptx decks using python-pptx. It is for users who need to build slides from an outline, pull out slide text and speaker notes, or export decks to PDF or images.
Install pptx
Built from the published package, never by AI.
git clone --depth 1 https://github.com/HKUDS/DeepTutor /tmp/DeepTutor && mkdir -p ~/.claude/skills && cp -r /tmp/DeepTutor/deeptutor/skills/builtin/pptx ~/.claude/skills/pptxRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/HKUDS/DeepTutor /tmp/DeepTutor && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/DeepTutor/deeptutor/skills/builtin/pptx ~/.gemini/antigravity-cli/skills/pptxAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill works with PowerPoint .pptx files through python-pptx, which the source says is preinstalled. The assistant runs complete Python code through an exec tool. It can extract slide text, tables and speaker notes, build new decks from an outline using slide layouts and placeholders, and edit text at the run level so existing formatting is kept.
The skill also covers replacing images in place, adding tables and charts, and deleting extra placeholders. Export to PDF or JPEG images needs LibreOffice, and the source says the export step is skipped if soffice is missing. The skill is aimed at people who work with slide decks as input or output, and it includes guidance on Chinese font handling and raw OOXML edits as a last resort.
Written from the project's SKILL.md and checked against it.
What it can do
- Extract text and notesDumps slide text, tables, layout names and speaker notes from an existing deck.
- Create from outlineBuilds slides from layouts with titles, bullet levels, text boxes and pictures.
- Edit existing textReplaces text run by run so inline formatting is preserved.
- Replace imagesSwaps a picture's image data while keeping its size and position.
- Tables and chartsAdds tables and category column charts to slides.
- Export to PDF and imagesConverts a deck to PDF and slide JPEGs using LibreOffice when available.
- Convert .ppt to .pptxConverts legacy .ppt files to .pptx with LibreOffice so python-pptx can open them.
What you need
- Python with python-pptx (the source says it is preinstalled)
- A shell sandbox for running exec with Python
- LibreOffice (soffice) for PDF export and .ppt conversion
- pdftoppm for JPEG slide images (optional)
Try asking
- Build a 6-slide deck from this outline with a title and agenda slide.
- Extract all slide text and speaker notes from deck.pptx.
- Replace the logo picture in this deck without changing its size.
Good to know
- Legacy .ppt files cannot be opened by python-pptx and need LibreOffice conversion first.
- PDF and image export is skipped if soffice is not installed.
- Visual checks need an image-reading tool; otherwise only structural checks are run.
- Image replacement must use the same image encoding as the original picture.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: deeptutor/skills/builtin/pptx/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md12 KB
Alternatives to pptx
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
pptx: common questions
Can this skill read speaker notes from a PowerPoint file?
Yes. The source shows reading each slide's notes through notes_slide.notes_text_frame when the slide has a notes slide.
Does it work with old .ppt files?
Only after conversion. The source says python-pptx cannot open .ppt, so LibreOffice converts the file to .pptx first when soffice is available.
Does it handle Chinese text in slides?
The source includes guidance for setting an East Asian typeface on Chinese runs and a bundled helper module for font substitution in rendering copies.
How do I install pptx?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is pptx free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is pptx safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to pptx?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
