pptx-generate-template-skill

pptx-generate-template-skill is a skill for Claude Code, Codex from darellchua2/opencode-config-template. It costs 55 tokens per session (3,696 once invoked), scanned A, original, Apache-2.0.

A tool that extracts the layouts, components, fonts, and theme colors from a PowerPoint file into an embedded JSON template description. The result is a self-describing PPTX file that can be reused by other slide tools.

In plain words
What is it for?
Use it to document a presentation template, inspect its available layouts, fingerprint its design, or prepare it for later automated slide generation.
Why use it?
It makes an existing presentation's structure inspectable and portable without filling the slides or creating a new deck.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; names the AskUserQuestion tool; mentions Claude Code.

Good fit Use it to document a presentation template, inspect its available layouts, fingerprint its design, or prepare it for later automated slide generation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/darellchua2/opencode-config-template/pptx-generate-template-skill
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 darellchua2/opencode-config-template --skill pptx-generate-template-skill
Clone the repo
git clone --depth 1 https://github.com/darellchua2/opencode-config-template

Made for: Claude Code, 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-generate-template-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/pptx-generate-template-skill/github.svg)](https://agentmods.dev/skills/darellchua2/opencode-config-template/pptx-generate-template-skill)
Your own site
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/pptx-generate-template-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/pptx-generate-template-skill/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-generate-template-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/pptx-generate-template-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/pptx-generate-template-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,696 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00055 $0.03696
Opus 5.5 $0.00022 $0.01478
Sonnet 5.5 $0.00011 $0.00739
Haiku 4.5 $0.00006 $0.00370

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

Security

Grade A, and why

pptx-generate-template-skill 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 9 executable files (scripts/_common/contract_adapter.py, scripts/_common/errors.py, scripts/_common/geometry.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-generate-template-skill/SKILL.md · 246 lines

How it starts

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

Running the snippets

Every snippet below reads the skill's scripts via os.environ['SKILL_DIR']. Export it once per session to the directory containing this SKILL.md (the loader prints it), e.g.:

export SKILL_DIR=~/.config/opencode/skills/pptx-generate-template-skill   # ← your install location

A missing export fails loud (KeyError: 'SKILL_DIR') by design.

What I do

I am the pptx-generate-template-skill (US-3.1). I take any .pptx, run the full extraction pipeline, and return a templated PPTX — the original file plus an embedded ppt/template_schema.json that describes every layout, component, font, and theme color. The embedded JSON "travels with the file" so it can be queried or reused later.

I orchestrate the existing schema_extractor engine end-to-end:

extract → validate → (title confirm) → (confirmation table) → embed → return templated PPTX + summary

I do not fill templates, generate slides, or build decks. Those are pptx-generate-slide-skill and pptx-subagent. I only extract and package a template definition.

When to use me

Use this skill when the user wants to:

  • "extract the template from this PPTX"
  • "generate a template" / "make a templated PPTX"
  • "what layouts / components / fonts does this template have?"
  • "fingerprint this deck" / "describe this template's structure"
  • produce a reusable, self-describing .pptx for later slide generation

Do NOT use me for:

  • Filling a template with content → pptx-generate-slide-skill
  • Extending a template's layouts (cloning) → pptx-template-modifier-skill
  • Generating a presentation / slides → pptx-subagent

Engine

The engine lives in this skill's vendored scripts/_common package (per-skill copy per #437, superseding the shared PLAN-GIT-72 layout). I call its functions directly (so I can inspect the extracted schema mid-pipeline for the title-confirmation and confirmation-table steps):

Function Purpose
extract_schema(path) -> dict Read the PPTX, emit the proposed-schema JSON (US-1.1–1.5, US-2.1 header/footer detection, US-3.5 master text defaults).
validate_template_schema(dict) -> ValidationResult Structural validation (incl. title_source enum, MAJOR-2).
needs_header_footer_prompt(schema) -> bool True when the template has neither header nor footer (US-2.1 AC2).
inject_default_header_zone(schema) Inject a default header zone into the schema metadata (US-2.1 AC3, schema-only).
embed_schema(pptx, schema, out) -> EmbeddedSchemaResult Write ppt/template_schema.json into a PPTX copy (US-1.5).
build_extraction_summary(dict) -> str Human-readable summary, incl. master text defaults (US-3.3 AC2).

Read the full file on GitHub · 246 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 Changed · +10 lines c0dc0d6f5850
  2. 2mo ago Changed c5d2298a4162
  3. 3mo ago First seen · 236 lines · 55 tokens per session scan A e03003ddd1fb

Subscribe to this mod's changes

pptx-generate-template-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 55 tokens to every session and 3,696 once invoked, about $0.0002 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-09-03.

Related

pptx-generate-template-skill compared with skills from other repositories

pptx-generate-template-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pptx-generate-template-skilldarellchua2/opencode-config-templateSkill62mo agoApache-2.0A55Claude Code, Codex
ppt-masterhugohe3/ppt-masterSkill82kyesterdayMITA108Claude Code
paper2assetsmicrosoft/ResearchStudioSkill3.9ktodayMITA0Claude Code
pptagenticip-cas/PPTAgentSkill5.3k12d agoMITA52Claude Code, Codex
html2pptxmicrosoft/ResearchStudioSkill3.9ktodayMITB345Claude Code, Codex
guizang-ppt-skillop7418/guizang-ppt-skillSkill31k1mo agoAGPL-3.0A176Claude Code, Codex
impress-presentationsagent0ai/agent-zeroSkill20ktodaynoneA23Claude Code