pptx · anthropics — Claude Code skill for presentations
This skill helps create, read, and edit .pptx files and .potx templates. Use it when building a deck or extracting slide text.
/plugin marketplace add anthropics/skills
/plugin install document-skills@anthropic-agent-skillsWhat pptx does
For a new deck, the skill recommends writing a script with pptxgenjs. To edit an existing presentation or template, unpack it, change the slide XML, then package it again. It uses markitdown to read slide text and includes scripts for thumbnails, adding slides, cleanup, and validation. Check the finished file: the instructions recommend running scripts/office/validate.py before delivery.
The guidance covers slide dimensions, colors, lists, speaker notes, and charts. PDF conversion uses a LibreOffice wrapper because plain soffice hangs in the described environment. pptxgenjs is preinstalled; if require('pptxgenjs') fails, the instructions suggest installing it with npm install pptxgenjs.
What it helps with
- create a presentation in
.pptxformat - extract slide text for a summary
- edit an existing deck or
.potxtemplate - add a slide and validate the file structure
- convert a presentation to PDF
Example prompts for the agent
- Create a `.pptx` presentation from this outline using the pptx skill.
- Extract the text from `deck.pptx` so I can prepare a summary.
- Edit the slides in `template.pptx`, add a slide, and validate the file.
How to install pptx
1Plugin marketplace
/plugin marketplace add anthropics/skills/plugin install document-skills@anthropic-agent-skillsThis installs the whole document-skills plugin with all its skills
2Skills CLI (Vercel)
npx skills add anthropics/skills --skill pptx -a claude-code3Manually: put the files in place
~/.claude/skills/pptx/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/pptx/
Manually: put the files in place
.agents/skills/pptx/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/pptx/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install anthropics/skills pptx2Manually: put the files in place
.github/skills/pptx/SKILL.mdPlatform CLI
gemini skills install https://github.com/anthropics/skills --path skills/pptxManually: put the files in place
.devin/skills/pptx/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set23
The whole set →Other versions of pptx
Similar
Questions about pptx
How do I install pptx in Claude Code?
Run these commands in order: /plugin marketplace add anthropics/skills, then /plugin install document-skills@anthropic-agent-skills.
What does the pptx skill do?
It guides Claude Code through creating presentations, reading text from .pptx files, editing decks, and working with .potx templates. It also covers file validation and PDF conversion.
What do I need to create a presentation?
The skill uses pptxgenjs, which is preinstalled. If require('pptxgenjs') fails, its instructions suggest running npm install pptxgenjs.