pptx-reference-deck-analysis
Lets your agent analyze existing presentations to understand their structure and design. It's useful for creating new presentations based on templates.
What it does
This tool analyzes presentation files (PPTX) to understand their structure, themes, fonts, and layouts. It does not modify the original file, only extracts information about how it was made.
When to use it
- ✓To understand the design of an existing presentation.
- ✓To check if a presentation follows a design pattern.
- ✓To analyze the components of a PPTX file without altering it.
Example of what to ask your AI
“Analyze this PPTX file and tell me what fonts and colors it uses.”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
The tool uses a script to read the PPTX file and extract details about the slides, styles, and overall organization. It examines the content safely, without making changes to the original file.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add wshobson/agents --skill pptx-reference-deck-analysisOr download just the file:
curl -L https://raw.githubusercontent.com/wshobson/agents/main/plugins/pptx-deck-creation/skills/pptx-reference-deck-analysis/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from GitHub.
PPTX Reference Deck Analysis
Inspect a reference deck as design evidence. This skill never copies, clones, or mutates a source deck.
Contract
Implement required extraction on demand with a small task-local python-pptx script. Capture only the information required for the new deck:
- compact prompt context: slide count and size, text summaries, shape counts, styles, brand signals, template use, and layout rhythm;
- full extraction:
summary, slides, and read-onlylayout_treeevidence; - folder diagnostics: one result per deck plus a manifest;
- style-master analysis: colors, fonts, size distribution, master/layout use, and flow patterns;
- derived template catalog: zero-based source indices, layout roles, usable regions, placeholders, visual structures, and constraints.
Rules
- Keep the source deck read-only and independently author every target-slide coordinate.
- Use the bundled OOXML utilities only for raw themes, relationships, notes, comments, animations, media, masters, or layouts that high-level extraction cannot expose.
- Record inspected parts and parsing exceptions in the analysis manifest.
- Do not use extracted content, fonts, images, or proprietary assets in a generated deck without explicit permission and license evidence.
OOXML package inspection
Install defusedxml from requirements.txt before using the bundled utilities.
- Run
scripts/inspect.py <deck.pptx>for a compact JSON report of slide order, text, theme tokens, relationships, notes, comments, animations, and media. - Run
scripts/validate_package.py <deck.pptx> --output <report.json>for malformed XML, broken internal relationships, content-type gaps, duplicate layout links, and orphaned parts. - Run
scripts/unpack.py <deck.pptx> <output-dir>only when raw-package evidence is necessary. - Resolve relationship targets relative to the
.relsowner; never infer slide order from filenames.
Safety
- Never modify a supplied deck or blindly copy package parts into a new deck.
- Run the scripts from a trusted workspace; they reject path traversal, symlinks, oversized members, and archive bombs.
- Parse untrusted XML with
defusedxml; do not enable entity expansion, DTD loading, or network access. - Treat theme colors as tokens unless fully resolved against the color scheme.
See references/reference-deck-analysis.md for output shapes, references/reference-deck-analysis-patterns.md for documentation-only patterns, and references/ooxml-parsing.md for package part maps.
FAQ
Can this tool create a new presentation?
No, it is only for analyzing and extracting information from existing presentations.
What does 'OOXML' mean?
OOXML is the standard format for Microsoft Office files, like PPTX for presentations.
Does the tool modify the original file?
No, the tool is designed to be read-only and never modifies the provided presentation file.
Details
Original description by the author
Use when analyzing a reference PPTX for read-only structure, theme, typography, layout rhythm, diagnostics, derived template catalogs, or safe OOXML package inspection.
repo: wshobson/agents
Popularity
- GitHub stars
- 41k
- Ranking position
- #4918
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
screen-reader-testing
Has your agent test websites using screen readers to ensure they are accessible.
wshobson/agents
wcag-audit-patterns
Helps your agent audit websites for accessibility and fix issues according to WCAG guidelines.
wshobson/agents
multi-reviewer-patterns
Enables your agent to coordinate parallel code reviews, deduplicating findings and consolidating reports.
wshobson/agents
parallel-debugging
Allows the agent to debug complex issues with parallel investigations and root cause analysis.
wshobson/agents
Similar skills
intent-driven-development
Helps your agent turn ideas into clear, testable plans. Defines criteria to ensure changes are made correctly and safely.
affaan-m/ECC
product-capability
Guides your agent in turning product ideas into clear plans. It defines what needs to be done, the limits, and decisions before development.
affaan-m/ECC
article-writing
Writes long-form content like articles, guides, and blog posts with a unique style. It's useful when you need well-written texts with a consistent voice and credibility.
affaan-m/ECC