pptx-generate-slide-skill

pptx-generate-slide-skill is a skill for OpenCode from darellchua2/opencode-config-template. It costs 31 tokens per session (8,664 once invoked), scanned A, original, Apache-2.0.

A tool for filling an existing PowerPoint template with structured JSON data. It uses the template's predefined slide layouts and produces an editable .pptx presentation.

In plain words
What is it for?
Use it to populate template-based slide decks, resolve resource placeholders, add charts and pictures, validate slide data, and write presenter notes.
Why use it?
It avoids manually placing structured content into a presentation and keeps charts and pictures editable where supported.

Skill for OpenCode

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

Good fit Use it to populate template-based slide decks, resolve resource placeholders, add charts and pictures, validate slide data, and write presenter notes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/darellchua2/opencode-config-template/pptx-generate-slide-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-slide-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-slide-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/pptx-generate-slide-skill.svg)](https://agentmods.dev/skills/darellchua2/opencode-config-template/pptx-generate-slide-skill)
Your own site
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/pptx-generate-slide-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/pptx-generate-slide-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,664 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.00031 $0.08664
Opus 5 $0.00015 $0.04332
Sonnet 5 $0.00006 $0.01733
Haiku 4.5 $0.00003 $0.00866

Measured 4d ago against content hash 0954363d1d32, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

pptx-generate-slide-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.

The scan reads SKILL.md. This mod also ships 46 executable files (scripts/coordinate_placer.py, scripts/density_mode.py, scripts/multipass_render.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.

opencode_app/.opencode/skills/pptx-generate-slide-skill/SKILL.md · 580 lines

How it starts

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

What I do

I fill the PowerPoint template (template.pptx) with structured content using ppt_builder.py. I am the only approved method for generating presentations from structured data.

  • Accept a JSON array (slide_data_list) and render it into a .pptx file
  • Resolve Slide Master layouts by name (robust to layout reordering)
  • Add slides from the template's Slide Master layouts, filling placeholders by type
  • Embed native charts (editable, not images) and native pictures
  • Resolve resource placeholders (data_query) into real assets before rendering
  • Validate every deck against a JSON schema (with two-layer retry) before it reaches the engine
  • Write speaker notes (in the user's prompt language) to each slide's Notes pane (Presenter View only)
  • Handle missing placeholders gracefully with warnings (never crash)

When to use me

Use this skill when:

  • You have structured content (JSON array) and need a .pptx output
  • You want to populate a Slide Master template with pre-defined layouts

Do NOT use for:

  • Creating presentations from scratch
  • OOXML editing or raw XML manipulation
  • Thumbnail generation or visual analysis

Template

The engine is template-agnostic (Capability A, issues #43/#44/#45): it accepts any .pptx, introspects it into a JSON contract, and fills it using that template's own layouts — matched by placeholder-composition fingerprint, not hardcoded names.

File Description
template/default.pptx Slide Master template (repo root) — the bundled default, used when no template_path is given.
template/default.config.json Optional layout-name pins (<slide_type>_layout for any of the 8 types).
template/default.pptx.contract.json Auto-generated introspection contract (mtime-cached, gitignored).

User-supplied template (path pass-through)

To render from a user's own template, pass its path as template_path (or CLI --template) — do NOT overwrite the default. The engine introspects it automatically before every render. Omitting template_path uses template/default.pptx:

Read the full file on GitHub · 580 lines

Files

What ships with it

51 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 580 lines · 31 tokens per session scan A 0954363d1d32

Subscribe to this mod's changes

pptx-generate-slide-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 31 tokens to every session and 8,664 once invoked, about $0.0002 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

paper2assets

Extract a research paper PDF into a structured set of poster-agnostic assets reusable by any downstream renderer (paper2poster, paper2blog, paper2audio, paper2video). Produces a / containing the paper's full text (assets/meta/text.txt), per-figure captions (assets/meta/captions.json), cleaned figure rasters…

microsoft/ResearchStudio · 0 tokens

html2pptx

Convert a rendered HTML page (especially A0 conference posters) into a native PowerPoint .pptx with editable text + native shapes — NOT a PNG-in-slide. Walks the live DOM via headless chromium, extracts BLOCK-level text containers (p/h1-h6/li/td) as TextBoxes with inline / as mixed-style Runs, as Picture with…

microsoft/ResearchStudio · 345 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

fin-arch-diagram

A tool for creating architecture diagrams, process flowcharts, and hierarchy trees. These show how system parts, business steps, decisions, or organizational levels relate to one another.

csmar432/finai-research · 72 tokens

impress-presentations

Use when creating, opening, or editing LibreOffice Impress ODP presentations, or PPTX decks only when PowerPoint compatibility is explicitly required.

agent0ai/agent-zero · 33 tokens