pptx-generate-template-skill

pptx-generate-template-skill is a skill for OpenCode from darellchua2/opencode-config-template. It costs 55 tokens per session (3,499 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 OpenCode

Written for OpenCode: installed under .opencode/. Also seen: mentions subagents; mentions OpenCode.

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: OpenCode.

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.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.svg" alt="Measured on agentmods" 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,499 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.03499
Opus 5 $0.00028 $0.01750
Sonnet 5 $0.00011 $0.00700
Haiku 4.5 $0.00006 $0.00350

Measured 4d ago against content hash e03003ddd1fb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 4d ago.

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.

opencode_app/.opencode/skills/pptx-generate-template-skill/SKILL.md · 236 lines

How it starts

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

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 the shared _common/scripts package (PLAN-GIT-72). 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 · 236 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. 4d 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 2d ago), licensed Apache-2.0. It adds 55 tokens to every session and 3,499 once invoked, about $0.0003 per session on Opus 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

Other skills, from other repositories

ppt-master

AI-driven presentation workflow for generating editable PPTX decks and slides, reconstructing page visuals, creating reusable Brand/Style/Layout/Deck workspaces, filling native PPTX templates, and enhancing finished PPTX files. Use when the user asks to create, generate, reconstruct, regenerate, beautify, redesign…

hugohe3/ppt-master · 108 tokens

guizang-ppt-skill

A tool that creates slide-deck images from content by first making an outline and then rendering each slide. It supports multiple visual styles and is designed for decks people can read and share.

op7418/guizang-ppt-skill · 176 tokens

slidev

Use when the user wants to create slides, build a presentation or talk, make a deck or pitch, export slides to PDF, work with an existing slides.md, run slidev dev mode, or build a static slide site. Also applies when the user mentions "presentation", "keynote", "talk", "lecture", "deck", "slide deck", or asks to turn…

carbonshow/intent-fluid · 83 tokens

presentation-forge

A workflow for creating editable PowerPoint presentations and related visual outputs from topics, documents, slides, templates, or images. It supports Chinese business reports and can use generated visual assets.

desirecore/market · 152 tokens

dayan-deck

A method for making an editable HTML slide presentation from an outline, notes, document, or verified facts. Each slide has a clear job, and the deck is designed for an audience and a set presentation length.

Kosmoray/dayan-agent-skills · 87 tokens

pptx-manipulation

This skill enables programmatic creation, editing, and manipulation of Microsoft PowerPoint (.pptx) presentations using the python-pptx library. Create professional slides with text, shapes, images, charts, and tables without manual editing.

claude-office-skills/skills · 7 tokens