pptx-template-parsing

pptx-template-parsing is a skill for Codex from CxyZyr/PPTX-Template-Skills. It costs 76 tokens per session (1,372 once invoked), scanned A, original, MIT.

A parser that turns a reusable PowerPoint template into a structured specification describing its slides, shapes, text styles, repeated layouts, and available fonts.

In plain words
What is it for?
Use it before adapting or debugging a template-driven PPTX deck, so later steps know where titles, body text, cards, images, logos, and other content belong.
Why use it?
It prevents deck-generation code from depending on guessed shape positions or slide details, which can cause missing or misplaced content.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it before adapting or debugging a template-driven PPTX deck, so later steps know where titles, body text, cards, images, logos, and other content belong.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cxyzyr/pptx-template-skills/pptx-template-parsing
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.

Any agent
npx skills add CxyZyr/PPTX-Template-Skills --skill pptx-template-parsing
Clone the repo
git clone --depth 1 https://github.com/CxyZyr/PPTX-Template-Skills

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pptx-template-parsing

README.md
[![agentmods](https://agentmods.dev/badge/skills/cxyzyr/pptx-template-skills/pptx-template-parsing/github.svg)](https://agentmods.dev/skills/cxyzyr/pptx-template-skills/pptx-template-parsing)
Your own site
<a href="https://agentmods.dev/skills/cxyzyr/pptx-template-skills/pptx-template-parsing"><img src="https://agentmods.dev/badge/skills/cxyzyr/pptx-template-skills/pptx-template-parsing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pptx-template-parsing

Your own site · 80×15
<a href="https://agentmods.dev/skills/cxyzyr/pptx-template-skills/pptx-template-parsing"><img src="https://agentmods.dev/badge/skills/cxyzyr/pptx-template-skills/pptx-template-parsing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,372 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.1 $0.00076 $0.01372
Opus 5.5 $0.00030 $0.00549
Sonnet 5.5 $0.00015 $0.00274
Haiku 4.5 $0.00008 $0.00137

Measured 2mo ago against content hash 207e3ea897f4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pptx-template-parsing scanned grade A with 0 findings 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 2mo ago.

The scan reads SKILL.md. This mod also ships 15 executable files (lib/__init__.py, lib/pptx_toolkit/__init__.py, lib/pptx_toolkit/assets.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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/pptx-template-parsing/SKILL.md · 118 lines

How it starts

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

PPTX Template Parsing

Turn a .pptx template into a semantic spec.json that downstream generation can fill mechanically — without the agent ever hand-reading shape indices off the slide.

This is the first half of the pipeline:

template.pptx ─[THIS SKILL]→ spec.json (+ summary.txt + renders/*.png)
                                   │
                                   ▼
                          ppt-template-adaptation  (authors content_plan.json, fills the deck)

When to use

  • A user provides a PPT template that will be reused (not redesigned).
  • Before any generation: generation needs the spec.json slot map this skill produces.
  • When you need to know, per slide: what role it plays, where the title/body/cards/icons/logo/images live, and which slides repeat a card structure.
  • When a generated deck has layout, style, overlap, or missing-slot problems. Check whether parsing captured the right slots and text styles before adding generation fallbacks.

Operating rule

The parser output is the contract. Do not hand-pick PowerPoint shape indices from memory, screenshots, or a previous failed deck. If fill_plan is wrong, fix parsing/classification first, rerun this skill, then regenerate with ppt-template-adaptation.

What it produces

Output Purpose
spec.json The machine-readable contract consumed by generation. See references/spec-schema.md.
summary.txt One line per slide: role + confidence + detected slots. Read this first.
renders/*.png One PNG per slide when rendering is enabled. Use for human/visual review when allowed.

How to run

python3 skills/pptx-template-parsing/scripts/parse_template.py \
  --template "PPT模板/大气人工智能科技感PPT模板.pptx" \
  --out workspace/specs/ai_tech

Flags:

  • --no-render — skip LibreOffice rendering (faster; do this for a quick structural pass).
  • --limit N — only parse the first N slides (useful while iterating).
  • --dpi 110 — render resolution (default 110).

Read the full file on GitHub · 118 lines

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. 2mo ago First seen · 118 lines · 76 tokens per session scan A 207e3ea897f4

Subscribe to this mod's changes

pptx-template-parsing is a skill published in the GitHub repository CxyZyr/PPTX-Template-Skills (44 stars, last pushed 4mo ago), licensed MIT. It adds 76 tokens to every session and 1,372 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

pptx-template-parsing compared with skills from other repositories

pptx-template-parsing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pptx-template-parsingCxyZyr/PPTX-Template-SkillsSkill444mo agoMITA76Codex
orbit-notionnexu-io/open-designSkill106kyesterdayApache-2.0A117Claude Code, Codex
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill35k2d agoApache-2.0A123Claude Code
apify-youtube-transcript-scrapersickn33/agentic-awesome-skillsSkill49kyesterdayMITA48Claude Code
legal-holdanthropics/claude-for-legalSkill9.9k3d agoApache-2.0A68Claude Code
ppt-reviewOrkas-AI/OrkasSkill9.0kyesterdayMITA2Claude Code, Codex
feishuHmbown/CodeWhaleSkill41k5d agoMITA33Claude Code, Codex