pptx-reference-deck-analysis — Claude Code skill: setup and features
Read-only PPTX inspection skill that extracts layout rhythm, theme tokens, and typography from reference decks without altering source files.
/plugin marketplace add wshobson/agents
/plugin install pptx-deck-creation@claude-code-workflowsWhat pptx-reference-deck-analysis does
This skill inspects reference presentations strictly as design evidence. The source file stays read-only. It extracts layout hierarchies, color tokens, and placeholder coordinates without mutating the original deck.
Under the hood, extraction uses task-local python-pptx scripts alongside bundled OOXML inspectors like scripts/inspect.py and scripts/validate_package.py. Working with raw package files requires defusedxml. That library blocks path traversal and archive bombs.
Install it when you want to recreate slide layouts in clean code without copying proprietary assets directly.
What it helps with
- extract theme colors and font hierarchies from PPTX files
- generate a template catalog with placeholder coordinates
- validate OOXML packages for broken relationships and orphan parts
- audit presentation folders to generate diagnostic manifests
Example prompts for the agent
- Analyze reference.pptx and extract the color scheme, fonts, and layout grid
- Run scripts/validate_package.py deck.pptx --output report.json to find broken links
- Inspect layout_tree and master slide structures in template.pptx
How to install pptx-reference-deck-analysis
1Plugin marketplace
/plugin marketplace add wshobson/agents/plugin install pptx-deck-creation@claude-code-workflowsThis installs the whole pptx-deck-creation plugin with all its skills
2Skills CLI (Vercel)
npx skills add wshobson/agents --skill pptx-reference-deck-analysis -a claude-code3Manually: put the files in place
~/.claude/skills/pptx-reference-deck-analysis/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/pptx-reference-deck-analysis/
1Skills CLI (Vercel)
npx skills add wshobson/agents --skill pptx-reference-deck-analysis -a codex2Manually: put the files in place
.agents/skills/pptx-reference-deck-analysis/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add wshobson/agents --skill pptx-reference-deck-analysis -a cursor2Manually: put the files in place
.cursor/skills/pptx-reference-deck-analysis/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install wshobson/agents pptx-reference-deck-analysis2Manually: put the files in place
.github/skills/pptx-reference-deck-analysis/SKILL.mdPlatform CLI
gemini skills install https://github.com/wshobson/agents --path plugins/pptx-deck-creation/skills/pptx-reference-deck-analysisManually: put the files in place
.devin/skills/pptx-reference-deck-analysis/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set213
The whole set →Similar
Questions about pptx-reference-deck-analysis
How do I install pptx-reference-deck-analysis in Claude Code?
Run npx skills add wshobson/agents --skill pptx-reference-deck-analysis -a claude-code in your terminal.
What does pptx-reference-deck-analysis do?
It performs read-only inspection of PowerPoint presentations, helping your assistant pull layout rules and themes without modifying original files.
What dependencies are required for OOXML inspection?
You need python-pptx for high-level extraction and defusedxml from requirements.txt to run the bundled package inspection scripts safely.
Source text
SKILL.md · MIT
--- name: pptx-reference-deck-analysis description: "Use when analyzing a reference PPTX for read-only structure, theme, typography, layout rhythm, diagnostics, derived template catalogs, or safe OOXML package inspection." --- # 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-only `layout_tree` evidence; - 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. 1. Run `scripts/inspect.py <deck.pptx>` for a compact JSON report of slide order, text, theme tokens, relationships, notes, comments, animations, and media. 2. 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. 3. Run `scripts/unpack.py <deck.pptx> <output-dir>` only when raw-package evidence is necessary. 4. Resolve relationship targets relative to the `.rels` owner; 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.
© kimtth · MIT · wshobson/agents