pptx

A toolkit for creating, editing, and inspecting PowerPoint presentation files, including their layouts, comments, speaker notes, animations, and design elements.

In plain words
What is it for?
Use it to create or modify presentations, inspect slide text, change layouts, and access detailed presentation data stored inside .pptx files.
Why use it?
It helps developers work with presentation content and structure programmatically instead of editing every slide by hand.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/freestylefly/wesight/pptx
Any agent
npx skills add freestylefly/wesight --skill pptx
Clone the repo
git clone --depth 1 https://github.com/freestylefly/wesight

Made for: Claude Code, Codex.

Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,321 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin 92% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00062 $0.06321
Opus 5 $0.00031 $0.03161
Sonnet 5 $0.00012 $0.01264
Haiku 4.5 $0.00006 $0.00632

Measured 2d ago against content hash edb26b913054, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

pptx scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

The scan reads SKILL.md. This mod also ships 13 executable files (ooxml/scripts/pack.py, ooxml/scripts/unpack.py, ooxml/scripts/validate.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- **LibreOffice**: `sudo apt-get install libreoffice` (for PDF conversion)
Origin

This is a copy

92% identical to pptx — 9 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

SKILLs/pptx/SKILL.md · 486 lines

How it starts

The opening of the file, as written. The whole thing — 486 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PPTX creation, editing, and analysis

Overview

A user may ask you to create, edit, or analyze the contents of a .pptx file. A .pptx file is essentially a ZIP archive containing XML files and other resources that you can read or edit. You have different tools and workflows available for different tasks.

Reading and analyzing content

Text extraction

If you just need to read the text contents of a presentation, you should convert the document to markdown:

# Convert document to markdown
python -m markitdown path-to-file.pptx

Raw XML access

You need raw XML access for: comments, speaker notes, slide layouts, animations, design elements, and complex formatting. For any of these features, you'll need to unpack a presentation and read its raw XML contents.

Unpacking a file

python ooxml/scripts/unpack.py <office_file> <output_dir>

Note: Resolve script paths from this skill directory. Prefer $SKILLS_ROOT/pptx/ooxml/scripts/unpack.py when $SKILLS_ROOT is available; otherwise resolve ooxml/scripts/unpack.py relative to this SKILL.md file's directory. Do not assume a workspace-relative skills/pptx/... path.

Key file structures
  • ppt/presentation.xml - Main presentation metadata and slide references
  • ppt/slides/slide{N}.xml - Individual slide contents (slide1.xml, slide2.xml, etc.)
  • ppt/notesSlides/notesSlide{N}.xml - Speaker notes for each slide
  • ppt/comments/modernComment_*.xml - Comments for specific slides
  • ppt/slideLayouts/ - Layout templates for slides
  • ppt/slideMasters/ - Master slide templates
  • ppt/theme/ - Theme and styling information
  • ppt/media/ - Images and other media files
Typography and color extraction

When given an example design to emulate: Always analyze the presentation's typography and colors first using the methods below:

  1. Read theme file: Check ppt/theme/theme1.xml for colors (<a:clrScheme>) and fonts (<a:fontScheme>)
  2. Sample slide content: Examine ppt/slides/slide1.xml for actual font usage (<a:rPr>) and colors
  3. Search for patterns: Use grep to find color (<a:solidFill>, <a:srgbClr>) and font references across all XML files

Read the full file on GitHub · 486 lines

Files

What ships with it

56 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 486 lines · 62 tokens per session scan B edb26b913054

Subscribe to this mod's changes

pptx is a skill published in the GitHub repository freestylefly/wesight (907 stars, last pushed 9d ago), licensed MIT. It adds 62 tokens to every session and 6,321 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). It is 92% identical to pptx, differing in 9 lines, and is treated as a copy.