# Pptx Ooxml

> Inspect an existing PPTX package with safe Office Open XML parsing when python-pptx cannot expose theme, relationship, notes, comments, animation, or layout details.

- **Type:** Skill
- **Install:** `agentstack add skill-kimtth-agent-pptify-kit-pptx-ooxml`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [kimtth](https://agentstack.voostack.com/s/kimtth)
- **Installs:** 0
- **Category:** [Developer Tools](https://agentstack.voostack.com/c/developer-tools)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [kimtth](https://github.com/kimtth)
- **Source:** https://github.com/kimtth/agent-pptify-kit/tree/main/pptx-deck-creation/skills/pptx-ooxml
- **Website:** https://github.com/github/awesome-copilot

## Install

```sh
agentstack add skill-kimtth-agent-pptify-kit-pptx-ooxml
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# PPTX OOXML Inspection

Use this skill for **read-only** inspection of an existing PowerPoint package when high-level `python-pptx` access is insufficient. It complements `pptx-reference-deck-analysis`; it does not replace the coordinate-explicit generation workflow.

Install the required `defusedxml` dependency from `requirements.txt` before running the bundled scripts.

## Boundaries

- Never modify the supplied source deck. New decks remain the responsibility of `pptx-slide-specification` and a task-specific `python-pptx` builder.
- Use OOXML when inspecting themes, masters, layouts, slide relationships, notes, comments, animations, media, or non-modeled formatting.
- Do not blindly copy XML parts into a generated deck. Treat extracted values as read-only design and content evidence.
- Use the bundled scripts only from a trusted workspace. They reject path traversal, symlinks, oversized members, and compressed archive bombs.

## Workflow

1. Run `scripts/inspect.py ` for compact JSON: slide order, text, shape counts, theme colors/fonts, relationships, notes/comment-part inventory, animations, and media.
2. Run `scripts/validate_package.py  --output ` for malformed XML, broken relationships, content-type gaps, duplicate layout links, and orphaned parts.
3. Run `scripts/unpack.py  ` only when raw part evidence is necessary.
4. Inspect the relevant parts:
	- `ppt/presentation.xml` — slide order and metadata
	- `ppt/slides/slideN.xml` and `_rels/slideN.xml.rels` — shapes and part relationships
	- `ppt/slideLayouts/`, `ppt/slideMasters/`, and `ppt/theme/theme1.xml` — template and design signals
	- `ppt/notesSlides/`, `ppt/comments/`, and `ppt/media/` — notes, comments, and supporting assets
5. Feed extracted palette, typography, layout, and package facts into the reference-analysis contract or `summary.design_context`.
6. Record the input deck path, inspected parts, validation report, tool version, and any unreadable XML in the analysis manifest.

## Parsing Rules

- Parse untrusted XML with `defusedxml`; do not enable entity expansion, DTD loading, or network access.
- Resolve relationship targets relative to the `.rels` owner; do not infer slide order from filenames.
- Preserve `xml:space="preserve"` semantics when collecting text.
- Treat theme colors as tokens unless fully resolved against the color scheme.
- `python-pptx` remains preferred for ordinary shape geometry and editable-text extraction; use OOXML only for the gap it fills.

See [references/ooxml-parsing.md](references/ooxml-parsing.md) for part maps, namespaces, and result-shape guidance.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [kimtth](https://github.com/kimtth)
- **Source:** [kimtth/agent-pptify-kit](https://github.com/kimtth/agent-pptify-kit)
- **License:** MIT
- **Homepage:** https://github.com/github/awesome-copilot

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-kimtth-agent-pptify-kit-pptx-ooxml
- Seller: https://agentstack.voostack.com/s/kimtth
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
